<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Administration Pack</title><link>http://forums.iis.net/1149.aspx</link><description>Questions about using the Microsoft Administration Pack to administer your servers or sites.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: AppCMD with anonymous Authentication</title><link>http://forums.iis.net/thread/1882561.aspx</link><pubDate>Tue, 21 Oct 2008 18:29:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1882561</guid><dc:creator>fbraghetto</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1882561.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1149&amp;PostID=1882561</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you CarlosAg,&lt;/p&gt;&lt;p&gt;&amp;nbsp;It´s working now&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: AppCMD with anonymous Authentication</title><link>http://forums.iis.net/thread/1882556.aspx</link><pubDate>Tue, 21 Oct 2008 17:50:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1882556</guid><dc:creator>CarlosAg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1882556.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1149&amp;PostID=1882556</wfw:commentRss><description>&lt;p&gt;You probably have locking violation, you can use the /commit:AppHost to do that:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;appcmd&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;exe&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;set&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;config&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#8b0000" size="2"&gt;&lt;font color="#8b0000" size="2"&gt;&amp;quot;www.website.com&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; -&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;section&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;:system.webServer/security/authentication/anonymousAuthentication /enabled:&lt;/font&gt;&lt;font color="#8b0000" size="2"&gt;&lt;font color="#8b0000" size="2"&gt;&amp;quot;True&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; /userName:&lt;/font&gt;&lt;font color="#8b0000" size="2"&gt;&lt;font color="#8b0000" size="2"&gt;&amp;quot;IUSR_website&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; /password:&lt;/font&gt;&lt;font color="#8b0000" size="2"&gt;&lt;font color="#8b0000" size="2"&gt;&amp;quot;p@assword&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; /&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;commit&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;:apphost&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="2"&gt;This script was generated using Configuration Editor:http://blogs.msdn.com/carlosag/archive/2008/03/31/IISAdminPackConfigurationEditor.aspx&lt;/p&gt;&lt;/font&gt;</description></item><item><title>AppCMD with anonymous Authentication</title><link>http://forums.iis.net/thread/1882549.aspx</link><pubDate>Tue, 21 Oct 2008 17:05:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1882549</guid><dc:creator>fbraghetto</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1882549.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1149&amp;PostID=1882549</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Our server have more than one Site.&lt;/p&gt;&lt;p&gt;Due Security reasons, the public part of the website need an special security, and&amp;nbsp; the &amp;quot;Anonymous Access&amp;quot; is done with different username for each website.... this prevent one asp developer to write in another´s developer area.&lt;/p&gt;&lt;p&gt;Using the IIS Management tool is fairly simple... &lt;/p&gt;&lt;p&gt;Sites &amp;gt; &amp;quot;Name of Website&amp;quot; &amp;gt; authentication &amp;gt; Anonymous Authentication &amp;gt; Edit...&lt;br /&gt;Specific User &amp;gt; Button Define &amp;gt; Put the new user name and password and OK.&lt;/p&gt;&lt;p&gt;However, I´m planning to create an script for this using APPCMD.&lt;/p&gt;&lt;p&gt;I´ve tried the following command, With errors.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;%windir%\system32\inetsrv\AppCmd set config &amp;quot;www.website.com&amp;quot; -section:anonymousAuthentication -userName:IUSR_website -password:p@ssword&lt;/p&gt;&lt;p&gt;But didn´t work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can anyone help with this? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>