<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Steve Schofield Weblog</title><link>http://www.iislogs.com:80/steveschofield</link><description>Steve Schofield Weblog</description><item><title>Getting AWStats installed and configured on IIS 7.5</title><link>http://www.iislogs.com:80/steveschofield/getting-awstats-installed-and-configured-on-iis-7.5</link><description>&lt;p&gt;One of things I’ve wanted to evaluate is AWStats for doing analytics on a variety of sites I run. AWStats (&lt;a href="http://www.awstats.org"&gt;www.awstats.org&lt;/a&gt;) is a free Open Source (Perl based) package. One of the things I couldn't find that covered the steps to get IIS 7.5 up and running.&amp;nbsp; I’m still working on a few config items within AWStats, which if you have suggestions, please let me know.  &lt;p&gt;Here is the order of what I did to get my server up and running. I’ll assume you have a Windows Server 2008 or 2008 R2 server with IIS Installed.&amp;nbsp;&amp;nbsp; If you have any further questions, comments please feel free to add to the article.&amp;nbsp; &lt;p&gt;&lt;strong&gt;Steps&lt;/strong&gt;  &lt;ul&gt; &lt;li&gt;Download, Install ActivePerl  &lt;li&gt;Download AWStats  &lt;li&gt;Setup DNS (Optional)  &lt;li&gt;Setup IIS Site  &lt;li&gt;Configure App Pool as 32 bit  &lt;li&gt;Setup Perl Handler, approve isapi  &lt;li&gt;Setup AWStats conf files.  &lt;li&gt;Enable frequent updates  &lt;li&gt;Misc things&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Download, Install ActivePerl&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.activestate.com/activeperl"&gt;http://www.activestate.com/activeperl&lt;/a&gt;  &lt;p&gt;The first thing you'll need is a method to run PERL on Windows. Thankfully, ActiveState provides an x86 and x64 Perl implementation. From my testing, I can only get the x86 edition running within IIS. For purposes of this article, download and install the x86 (32 bit) edition of ActiveState. Later in the article, we'll configure IIS.  &lt;p&gt;I installed ActiveState (32 bit ) to C:\Perl&amp;nbsp;&amp;nbsp; If IIS is installed, you’ll want to confirm if the HTTP Handler is already setup.&amp;nbsp; If not, I’ve included a command later in the article how to setup.&amp;nbsp; &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;Download AWStats&lt;/strong&gt;  &lt;p&gt;The next step, download and extract Awstats. The current version available is AWStats 7.0. Go to &lt;a href="http://www.awstats.org"&gt;http://www.awstats.org&lt;/a&gt; , download and extract somewhere on your system.  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;Setup DNS (Optional)&lt;/strong&gt;  &lt;p&gt;For my purposes, I setup a single separate websites to access my stats.&amp;nbsp; The link I used is in the format below to access various domains. I setup an A record called Stats in DNS.  &lt;p&gt;http://stats.example.com/cgi-bin/awstats.pl?config=&amp;lt;DomainName1&amp;gt;  &lt;p&gt;http://stats.example.com/cgi-bin/awstats.pl?config=&amp;lt;DomainName2&amp;gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;Setup IIS Site&lt;/strong&gt;  &lt;p&gt;I'm going to take assumptions on folder names for this article, you can adjust them to fit your environment.  &lt;p&gt;1) Create a folder in c:\inetpub\stats.example.com &lt;strong&gt;‘mkdir c:\inetpub\stats.example.com’ &lt;/strong&gt; &lt;p&gt;2) In the AWStats extracted files, copy all folders in the 'wwwroot' to c:\inetpub\stats.example.com.  &lt;p&gt;These folders will store the various domains stats.  &lt;p&gt;a) create a folder called c:\inetpub\stats.example.com\stats\Domain1 &lt;br&gt;&lt;strong&gt;‘mkdir c:\inetpub\stats.example.com\stats\domain1’&lt;/strong&gt; &lt;p&gt;b) create a folder called c:\inetpub\stats.example.com\stats\Domain2 &lt;br&gt;&lt;strong&gt;‘mkdir c:\inetpub\stats.example.com\stats\domain2’&lt;/strong&gt; &lt;p&gt;Create a IIS site with Internet Manager or AppCMD, for this article, I've provided AppCMD commands  &lt;p&gt;&lt;strong&gt;'Create app pool &lt;/strong&gt; &lt;p&gt;C:\Windows\System32\inetsrv\appcmd add apppool /name:Stats.Example.com  &lt;p&gt;&lt;strong&gt;'Set App Pool to integrated mode. This can be v2.0 or v4.0 &lt;/strong&gt; &lt;p&gt;C:\Windows\System32\inetsrv\appcmd set config /section:applicationPools /[name='stats.Example.com'].managedPipelineMode:Integrated  &lt;p&gt;&lt;strong&gt;'Add site &lt;/strong&gt; &lt;p&gt;C:\Windows\System32\inetsrv\appcmd add site /id:12345 /name:Stats.Example.com /bindings:http/*:80: /physicalPath:c:\inetpub\stats.example.com  &lt;p&gt;&lt;strong&gt;'Assign app pool to the site. &lt;/strong&gt; &lt;p&gt;C:\Windows\System32\inetsrv\appcmd set app /app.name:stats.example.com/ /applicationPool:stats.Example.com"  &lt;p&gt;&lt;strong&gt;'Set to 32 bit mode &lt;/strong&gt; &lt;p&gt;C:\Windows\System32\inetsrv\appcmd set config -section:system.applicationHost/applicationPools /[name='Stats.Example.com'].enable32BitAppOnWin64:"True" /commit:apphost  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;‘Setup Perl Handler, approve isapi &lt;/strong&gt; &lt;p&gt;Through IIS Manager, go to Internet Manager  &lt;ul&gt; &lt;li&gt;Click on Website &lt;/li&gt; &lt;li&gt;IIS Section &lt;/li&gt; &lt;li&gt;Handler Mappings &lt;/li&gt; &lt;li&gt;Add Script Map &lt;/li&gt; &lt;li&gt;Request Path - *.pl &lt;/li&gt; &lt;li&gt;Executable - C:\Perl\bin\PerlEx30.dll &lt;/li&gt; &lt;li&gt;Name - Perl &lt;/li&gt; &lt;li&gt;Click OK &lt;br&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;When prompted for this, go ahead and click Yes. This attribute sets at a server level.  &lt;p&gt;&lt;img src="http://www.iislogs.com/images/awstats1.png"&gt; &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;Configure Perl Handler &lt;/strong&gt; &lt;p&gt;c:\windows\system32\inetsrv\appcmd.exe set config "Stats.Example.com" -section:system.webServer/handlers /[name='PERL'].name:"PERL" /[name='PERL'].path:"*.pl" /[name='PERL'].modules:"IsapiModule" /[name='PERL'].scriptProcessor:"C:\Perl\bin\PerlEx30.dll" /[name='PERL'].resourceType:"Unspecified" /[name='PERL'].requireAccess:"Script" /[name='PERL'].preCondition:"bitness32" &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;Setup AWStats conf files. &lt;/strong&gt; &lt;p&gt;I’m going to defer to the AWStats FAQ section configuring the conf files. A couple things I did  &lt;p&gt;0) Make a copy of the awstat.module.conf to (awstats.StatsExampleCom.conf) &lt;p&gt;1) make sure to set the &lt;b&gt;DirData &lt;/b&gt;attribute is “DirData="c:/inetpub/stats.example.com/stats/DomainName1"”  &lt;p&gt;2) Follow the AWStats FAQ, check out the &lt;strong&gt;Demo / ScreenShots &lt;/strong&gt;section. They set a few attributes.  &lt;p&gt;3) I learned NOT to do Reverse DNS lookup, that really slows down.  &lt;p&gt;4) You might need to adjust permissions on the IIS Logs folders you are reading, it’ll depend on which account you run the application Pool run as. By default, the IIS Log folders only grant permissions to Administrators and SYSTEM. You could either setup the stats.example.com app pool to run as a specific account, or use ApplicationHostIdentity. What I did was use the default account, ApplicationHostIdentity.&amp;nbsp; I’d suggest using Process Monitor (by sysinternals) &lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;em&gt;Here are the attributes I updated so far, this could change as I learn more about AWStats&lt;/em&gt;&lt;/u&gt;&lt;/strong&gt; &lt;p&gt;LogFile="c:/inetpub/logs/logfiles/w3svc1/u_ex%YY-0%MM-0%DD-0.log"&amp;nbsp; &lt;strong&gt;&lt;em&gt;(You might need to tweak this setting)&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;LogFormat=2&lt;br&gt;SiteDomain="stats.example.com"&lt;br&gt;HostAliases="localhost 127.0.0.1 REGEX[stats.example\.com$]"&lt;br&gt;DirData="c:/inetpub/stats.example.com/stats/DomainName1"” &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Enable frequent updates &lt;/strong&gt; &lt;p&gt;I setup a batch file and put the following commands, then I scheduled to run frequently as an account (Administrator) to access the IIS Logs. You could also run the scheduled task as SYSTEM.  &lt;p&gt;Here is the command, it assumes the file is named &lt;b&gt;awstats.DomainName1.conf &lt;/b&gt;and will reside in c:\inetpub\stats.example.com\cgi-bin folder  &lt;p&gt;perl C:\inetpub\s.iislogs.com\cgi-bin\awstats.pl -config=&amp;lt;DomainName1&amp;gt; –update  &lt;p&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;Misc Things - &lt;/strong&gt;&lt;strong&gt;Here are a few lessons learned. &lt;/strong&gt; &lt;p&gt;Use the LogResolveMerge.pl script to create a single file or several files to import to AWStats. I found if you have very large (many MB or GB), you’ll need to take an approach of having smaller files. I didn’t find an automated way when importing existing files. So in my example, I created a few files, would import into AWStats, this require you update the awstats.example.conf file, run the perl awstats.pl –config=Example –update over and over. It was a little clunky, but seemed to work.  &lt;p&gt;Here is the command I ran &lt;p&gt;&lt;strong&gt;C:\inetpub\stats.example.com\tools&amp;gt;perl logresolvemerge.pl c:\inetpub\logs\LogFiles\W3SVC5\*.log &amp;gt; StatsExampleCom.log &lt;/strong&gt; &lt;p&gt;When LogResolveMerge.pl creates an import file, it doesn’t have the IIS Headers created in the log files, you’ll need to add the IIS headers like your website and awstats.example.conf is setup. What seems to work for me is 1) Create a blank file with just the headers, then run the command below, notice the two arrows. “&amp;gt;&amp;gt;” This forces the command prompt to append, then you can run the import.  &lt;p&gt;C:\inetpub\stats.example.com\tools&amp;gt;perl logresolvemerge.pl c:\inetpub\logs\LogFiles\W3SVC5\*.log &amp;gt; StatsExampleCom.log  &lt;p&gt;Doing one-time imports files  &lt;p&gt;Add IIS Logs headers to the new one time import files  &lt;p&gt;Create a file, add headers  &lt;p&gt;#Software: Microsoft Internet Information Services 7.0  &lt;p&gt;#Version: 1.0  &lt;p&gt;#Date: 2011-05-18 00:01:55&lt;br&gt;#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Cookie) cs(Referer) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken  &lt;p&gt;&lt;strong&gt;HTTP Error 502.2 - Bad Gateway &lt;/strong&gt; &lt;p&gt;I got this error below when I tried using the x64 bit version of ActiveState. I found a few errors posted on the website with no resolution. I’m not sure if the posts were trying x86 or x64.  &lt;p&gt;&lt;em&gt;HTTP Error 502.2 - Bad Gateway &lt;/em&gt; &lt;p&gt;&lt;em&gt;The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "". &lt;/em&gt;</description><pubDate>Tue, 10 Jan 2012 04:31:24 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/getting-awstats-installed-and-configured-on-iis-7.5</guid></item><item><title>dd-wrt references</title><link>http://www.iislogs.com:80/steveschofield/dd-wrt-references</link><description>&lt;p&gt;I’ve been tinkering with dd-wrt firmware, what an incredible piece of open source software.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Repeater Bridge (Same as primary network to bridge)&lt;br&gt;&lt;a href="http://www.dd-wrt.com/wiki/index.php/Image:Repeater_Bridge.jp"&gt;http://www.dd-wrt.com/wiki/index.php/Image:Repeater_Bridge.jp&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Repeater (Different network from primary)&lt;br&gt;&lt;a href="http://airfart.blogspot.com/2008/03/how-to-set-up-wifi-repeater-mode-on-dd.html"&gt;http://airfart.blogspot.com/2008/03/how-to-set-up-wifi-repeater-mode-on-dd.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Stay tuned!&amp;nbsp; More references to come&lt;/p&gt;</description><pubDate>Sun, 01 Jan 2012 23:14:36 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/dd-wrt-references</guid></item><item><title>IIS Community Newsletter - December 2011 edition released</title><link>http://www.iislogs.com:80/steveschofield/iis-community-newsletter---december-2011-edition-released</link><description>&lt;p&gt;IIS Community Newsletter - December 2011 edition released&lt;br&gt;&lt;a href="http://www.iisnewsletter.com/archive/december2011.html"&gt;http://www.iisnewsletter.com/archive/december2011.html&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Enjoy &lt;/p&gt; &lt;p&gt;Steve&lt;/p&gt;</description><pubDate>Tue, 27 Dec 2011 04:49:48 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/iis-community-newsletter---december-2011-edition-released</guid></item><item><title>BlogPost #1441</title><link>http://www.iislogs.com:80/steveschofield/</link><description>BlogPost #1441</description><pubDate>Fri, 09 Dec 2011 10:09:22 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/</guid></item><item><title>So it begins</title><link>http://www.iislogs.com:80/steveschofield/so-it-begins</link><description>So it begins</description><pubDate>Fri, 09 Dec 2011 10:05:39 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/so-it-begins</guid></item><item><title>MAC Links</title><link>http://www.iislogs.com:80/steveschofield/mac-links</link><description>&lt;p&gt;Yes, you are right, these are Mac as in Apple Mac on a Microsoft and IIS blog.&amp;nbsp; I was given a eMac running 10.3.9, I have NO idea if that is old.&amp;nbsp; The box is a single processor, 256 MB of RAM.&amp;nbsp; After a couple days of hacking around, and some assistance from Mac Forums IRC channel, they helped me add an admin user account.&amp;nbsp; I know nothing about Macs besides my iPhone, does that count?&amp;nbsp; I know more about FreeBSD and the internals than a Mac.&amp;nbsp; Here are some links that helped.&amp;nbsp; Now I want to figure out how to remote control this thing from my laptop (yes it’s currently windows).&amp;nbsp; I’m primarily a server guy so I remote all the time!&amp;nbsp; Stay tuned..&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://forums.macrumors.com/showthread.php?t=471281"&gt;http://forums.macrumors.com/showthread.php?t=471281&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://osxdaily.com/2011/04/25/change-admin-password-mac/"&gt;http://osxdaily.com/2011/04/25/change-admin-password-mac/&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://www.rit.edu/its/services/desktop_support/mac/xforcenewadminacccount.html"&gt;http://www.rit.edu/its/services/desktop_support/mac/xforcenewadminacccount.html&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://macosx.com/forums/mac-os-x-system-mac-software/261511-apple-blue-screen-death.html"&gt;http://macosx.com/forums/mac-os-x-system-mac-software/261511-apple-blue-screen-death.html&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://macintoshgarden.org"&gt;http://macintoshgarden.org&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://www.hackmac.org/hacks/how-to-create-a-new-administrator-account/"&gt;http://www.hackmac.org/hacks/how-to-create-a-new-administrator-account/&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://www.hackmac.org/hacks/decrypt-os-x-user-account-passwords/"&gt;http://www.hackmac.org/hacks/decrypt-os-x-user-account-passwords/&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://www.macobserver.com/tip/2003/06/16.1.shtml"&gt;http://www.macobserver.com/tip/2003/06/16.1.shtml&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Cheers&lt;/p&gt; &lt;p&gt;Steve&lt;/p&gt;</description><pubDate>Mon, 05 Dec 2011 03:08:02 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/mac-links</guid></item><item><title>Great SEO article</title><link>http://www.iislogs.com:80/steveschofield/great-seo-article</link><description>&lt;p&gt;I ran across a great SEO article via Twitter, the link is here &lt;p&gt;&lt;a title="http://www.seomoz.org/blog/what-every-seo-should-know-about-iis" href="http://www.seomoz.org/blog/what-every-seo-should-know-about-iis"&gt;http://www.seomoz.org/blog/what-every-seo-should-know-about-iis&lt;/a&gt; &lt;p&gt;There was a comment I wanted to add a few ideas, I tried to format the comment, however it didn’t format to cleanly so I thought I’d add here.&amp;nbsp;&amp;nbsp;&amp;nbsp; Review the comments in the article too, there are some additional items mentioned worth checking out.&amp;nbsp; I hope he picks up this post and adds the couple links for reference. &lt;p&gt;Couple other things to reference to this great article. Here are three commands I run on all servers. I use the compression level 9 on a very high volume with no impact, Here is another article on other properties and &lt;a href="http://learn.iis.net/page.aspx/206/dynamic-compression/"&gt;http://learn.iis.net/page.aspx/206/dynamic-compression/&lt;/a&gt; &lt;p&gt;Scott Forsyth wrote an article on compress level and performance which is a good read. &lt;a href="http://weblogs.asp.net/owscott/archive/2009/02/22/iis-7-compression-good-bad-how-much.aspx"&gt;http://weblogs.asp.net/owscott/archive/2009/02/22/iis-7-compression-good-bad-how-much.aspx&lt;strong&gt;&lt;/a&gt; &lt;/strong&gt; &lt;p&gt;Enables&lt;/p&gt;&lt;p&gt;c:\windows\system32\inetsrv\appcmd set config /section:urlCompression /doDynamicCompression:true&lt;br&gt;&lt;br&gt;&lt;strong&gt;Sets the compression level&lt;br&gt;&lt;/strong&gt;c:\windows\system32\inetsrv\appcmd set config /section:system.webServer/httpCompression -[name="'gzip'"].dynamicCompressionLevel:9"Mkdir D:\Data\IISTemporaryCompressedFiles"&lt;br&gt;&lt;br&gt;&lt;strong&gt;Sets the directory path&lt;br&gt;&lt;/strong&gt;c:\windows\system32\inetsrv\appcmd set config /section:httpCompression /directory:D:\Data\IISTemporaryCompressedFiles /maxDiskSpaceUsage:100 /minFileSizeForComp:256"&lt;br&gt;&lt;br&gt;Hope this helps &lt;/p&gt; &lt;p&gt;Steve Schofield&lt;/p&gt; &lt;p&gt;Microsoft MVP – IIS&lt;/p&gt;</description><pubDate>Sat, 03 Dec 2011 00:20:48 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/great-seo-article</guid></item><item><title>IIS Community Newsletter - November 2011 edition</title><link>http://www.iislogs.com:80/steveschofield/iis-community-newsletter---november-2011-edition</link><description>&lt;p&gt;#IIS Community Newsletter - November 2011 edition has been released.&amp;nbsp; Lots of interesting and original content available on the web!&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.iisnewsletter.com/archive/november2011.html" href="http://www.iisnewsletter.com/archive/november2011.html"&gt;http://www.iisnewsletter.com/archive/november2011.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Take care,&lt;/p&gt; &lt;p&gt;Steve Schofield&lt;br&gt;Microsoft MVP – IIS&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.iislogs.com/steveschofield"&gt;http://www.iislogs.com/steveschofield&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 30 Nov 2011 19:15:17 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/iis-community-newsletter---november-2011-edition</guid></item><item><title>October 2011 IIS community newsletter available</title><link>http://www.iislogs.com:80/steveschofield/october-2011-iis-community-newsletter-available</link><description>&lt;p&gt;After a few issues trying to send the October 2011 IIS community newsletter, we have got it published!&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.iisnewsletter.com/archive/october2011.html" href="http://www.iisnewsletter.com/archive/october2011.html"&gt;http://www.iisnewsletter.com/archive/october2011.html&lt;/a&gt; is &lt;/p&gt; &lt;p&gt;btw – if you need excellent windows hosting, visit &lt;a href="http://www.orcsweb.com"&gt;www.orcsweb.com&lt;/a&gt; (ORCS Web) it’s awesome!&lt;/p&gt; &lt;p&gt;Steve&lt;/p&gt;</description><pubDate>Mon, 14 Nov 2011 03:54:27 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/october-2011-iis-community-newsletter-available</guid></item><item><title>2011 MVP award (ASP.NET/IIS)</title><link>http://www.iislogs.com:80/steveschofield/2011-mvp-award-asp.net-iis</link><description>&lt;p&gt;“Congratulations! We are pleased to present you with the 2011 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in ASP.NET/IIS technical communities during the past year.” &lt;p&gt;I’m humbled and thanks to Microsoft for the recognition. &lt;p&gt;Steve&lt;/p&gt;</description><pubDate>Sun, 02 Oct 2011 02:01:44 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/2011-mvp-award-asp.net-iis</guid></item><item><title>July/August/September 2011 IIS Community Newsletter is available</title><link>http://www.iislogs.com:80/steveschofield/july-august-september-2001-iis-community-newsletter-is-available</link><description>&lt;p&gt;Here is the July/August/September 2011 IIS Community Newsletter&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.iisnewsletter.com/archive/JulyAugustSept.html" href="http://www.iisnewsletter.com/archive/JulyAugustSept.html"&gt;http://www.iisnewsletter.com/archive/JulyAugustSept.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Thank you,&lt;br&gt;&amp;nbsp;&lt;br&gt;Steve Schofield&lt;br&gt;Windows Server MVP - IIS&lt;br&gt;&lt;a href="http://www.iislogs.com/steveschofield"&gt;http://www.iislogs.com/steveschofield&lt;/a&gt;&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;a href="http://www.IISLogs.com"&gt;http://www.IISLogs.com&lt;/a&gt;&lt;br&gt;Log archival solution&lt;br&gt;Install, Configure, Forget&lt;/p&gt; &lt;p&gt;Questions on Microsoft SMTP Service - visit &lt;a href="http://www.smtp.ws"&gt;http://www.smtp.ws&lt;/a&gt;&lt;br&gt;IIS Community Newsletter - visit &lt;a href="http://www.iisnewsletter.com"&gt;http://www.iisnewsletter.com&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 16 Sep 2011 02:31:09 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/july-august-september-2001-iis-community-newsletter-is-available</guid></item><item><title>Win8 / IIS 8 are available!</title><link>http://www.iislogs.com:80/steveschofield/win8-iis-8-are-available</link><description>&lt;p&gt;Microsoft has released the latest Windows OS preview.&amp;nbsp;&amp;nbsp; Nice new shiny logo.&amp;nbsp; &lt;img src="http://www.iislogs.com/images/iis-8.png"&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Download here&lt;/p&gt; &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/windows/apps/br229516" href="http://msdn.microsoft.com/en-us/windows/apps/br229516"&gt;http://msdn.microsoft.com/en-us/windows/apps/br229516&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Server edition is available on MSDN.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Enjoy!&lt;/p&gt; &lt;p&gt;Steve&lt;/p&gt;</description><pubDate>Thu, 15 Sep 2011 06:20:49 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/win8-iis-8-are-available</guid></item><item><title>Interesting post to solve 500.19 Network BIOS Command Limit Reached</title><link>http://www.iislogs.com:80/steveschofield/interesting-post-to-solve-500.19-network-bios-command-limit-reached</link><description>&lt;p&gt;ran across this post browsing the forums @ &lt;a href="http://forums.iis.net"&gt;http://forums.iis.net&lt;/a&gt;&amp;nbsp; It’s a real problem dealing with UNC content.&amp;nbsp;&amp;nbsp; Thread: New Solution to 500.19 Network BIOS Command Limit Reached&lt;/p&gt; &lt;p&gt;&lt;a title="http://forums.iis.net/p/1181293/1994882.aspx#1994882" href="http://forums.iis.net/p/1181293/1994882.aspx#1994882"&gt;http://forums.iis.net/p/1181293/1994882.aspx#1994882&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Thought I’d pass along.&lt;/p&gt; &lt;p&gt;Steve Schofield&lt;/p&gt;</description><pubDate>Sun, 11 Sep 2011 01:31:59 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/interesting-post-to-solve-500.19-network-bios-command-limit-reached</guid></item><item><title>IISLogsLite 2.0 available for download</title><link>http://www.iislogs.com:80/steveschofield/iislogslite-2.0-available-for-download</link><description>&lt;p&gt;We’ve made IISLogsLite 2.0 (free edition available).&amp;nbsp;&amp;nbsp; Please feel free to download at &lt;/p&gt; &lt;p&gt;&lt;a title="http://www.iislogs.com/help/iislogslite20/configure_iislogs_lite_version20.htm" href="http://www.iislogs.com/help/iislogslite20/configure_iislogs_lite_version20.htm"&gt;http://www.iislogs.com/help/iislogslite20/configure_iislogs_lite_version20.htm&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The IISLogs 2.0 and 4.0 full versions are available here.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.iislogs.com/eval.aspx"&gt;http://www.iislogs.com/eval.aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;IISLogs 4.0 &lt;p&gt;------------- &lt;p&gt;Practical uses of IISLogs - 2 sections &lt;p&gt;&lt;a href="http://www.iislogs.com/help/iislogs40/123goconfigure.htm"&gt;http://www.iislogs.com/help/iislogs40/123goconfigure.htm&lt;/a&gt; &lt;p&gt;Phase 2 Configuration - First Time &lt;p&gt;&lt;a href="http://www.iislogs.com/help/iislogs40/123goconfigure2.htm"&gt;http://www.iislogs.com/help/iislogs40/123goconfigure2.htm&lt;/a&gt; &lt;p&gt;IISLogs 2.0 &lt;p&gt;------------- &lt;p&gt;Practical uses of IISLogs - 2 sections &lt;p&gt;&lt;a href="http://www.iislogs.com/help/iislogs20/123goconfigure.htm"&gt;http://www.iislogs.com/help/iislogs20/123goconfigure.htm&lt;/a&gt; &lt;p&gt;Phase 2 Configuration - First Time &lt;p&gt;&lt;a href="http://www.iislogs.com/help/iislogs20/123goconfigure2.htm"&gt;http://www.iislogs.com/help/iislogs20/123goconfigure2.htm&lt;/a&gt; &lt;p&gt;Enjoy,&lt;/p&gt; &lt;p&gt;Steve Schofield&lt;/p&gt;</description><pubDate>Thu, 04 Aug 2011 18:54:52 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/iislogslite-2.0-available-for-download</guid></item><item><title>FreeBSD, UNC, IIS</title><link>http://www.iislogs.com:80/steveschofield/freebsd-unc-iis</link><description>&lt;p&gt;Here are some basic instructions I used to get &lt;a href="http://www.freebsd.org"&gt;FreeBSD&lt;/a&gt;, &lt;a href="http://www.samba.org"&gt;SAMBA&lt;/a&gt; running.&amp;nbsp; The plan is to have a more complete guide to hooking up to IIS in the future.&amp;nbsp; I downloaded &lt;a href="http://www.freebsd.org/" target="_blank"&gt;FreeBSD 8.2&lt;/a&gt; and &lt;a href="http://www.centos.org/" target="_blank"&gt;Centos 5.6&lt;/a&gt; to see what it would take to hookup a virtual directory in IIS 7.5 to a *nix Samba share.&amp;nbsp; I have prior experience getting FreeBSD for various server roles.&amp;nbsp; It was the first Unix based OS I have experience with.&amp;nbsp; Getting Samba was super easy with the link below.&amp;nbsp;&amp;nbsp; I have no experience in a production environment running a virtual directory from IIS to a *nix share.&amp;nbsp; This was strictly to “see if I could do it”.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;ul&gt; &lt;li&gt;Download FreeBSD 8.2 ISO from &lt;a href="http://www.freebsd.org"&gt;www.freebsd.org&lt;/a&gt;&lt;/li&gt; &lt;li&gt;Create a new VM in Hyper-V or VMware (I used Hyper-V) – I had to add the legacy network connection once the VM was created.&amp;nbsp; Mount the ISO and let the install go as normal.&amp;nbsp; Here is the docs &lt;a title="http://www.freebsd.org/doc/handbook/install.html" href="http://www.freebsd.org/doc/handbook/install.html"&gt;http://www.freebsd.org/doc/handbook/install.html&lt;/a&gt;&amp;nbsp; &lt;/li&gt; &lt;li&gt;Once FreeBSD is done installing&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Ssh to FreeBSD using &lt;a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank"&gt;Putty&lt;/a&gt; &lt;p&gt;winuser &lt;p&gt;Su root  &lt;p&gt;Bash  &lt;p&gt;Cd /user/ports/net  &lt;p&gt;Cd samba &lt;p&gt;Type make &amp;amp;&amp;amp; make install (add / remove programs for FreeBSD)&amp;nbsp; &lt;p&gt;Prompted, here are the items I selected  &lt;ul&gt; &lt;li&gt;Ldap  &lt;li&gt;Ada  &lt;li&gt;Cups  &lt;li&gt;Winbind  &lt;li&gt;With acl support  &lt;li&gt;Aio aupport  &lt;li&gt;With syslog support  &lt;li&gt;With utmp accounting support  &lt;li&gt;DNSupdate  &lt;li&gt;With system wide POPT library  &lt;li&gt;With IPv6 support&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Defaults for Python 2.6.6 were taken  &lt;p&gt;&lt;img src="http://www.iislogs.com/images/freebsd/clip_image002.jpg"&gt; &lt;p&gt;&lt;img src="http://www.iislogs.com/images/freebsd/clip_image004.jpg"&gt; &lt;p&gt;&lt;img src="http://www.iislogs.com/images/freebsd/clip_image006.jpg"&gt;  &lt;p&gt;&lt;img src="http://www.iislogs.com/images/freebsd/clip_image008.jpg"&gt; &lt;p&gt;&lt;img src="http://www.iislogs.com/images/freebsd/clip_image010.jpg"&gt; &lt;p&gt;&lt;img src="http://www.iislogs.com/images/freebsd/clip_image011.png"&gt; &lt;p&gt;&lt;strong&gt;Text displayed at the end of Samba install&lt;/strong&gt;&lt;br&gt;This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/samba&amp;nbsp; If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage:  &lt;p&gt;&lt;a href="http://www.samba.org/"&gt;http://www.samba.org/&lt;/a&gt;  &lt;p&gt;&lt;strong&gt;Running IIS Manager&lt;/strong&gt;  &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/813615"&gt;http://support.microsoft.com/kb/813615&lt;/a&gt;  &lt;p&gt;&lt;strong&gt;How to setup a share on FreeBSD box&lt;/strong&gt;  &lt;p&gt;&lt;a href="http://www.us-webmasters.com/FreeBSD/Install/Samba/"&gt;http://www.us-webmasters.com/FreeBSD/Install/Samba/&lt;/a&gt;  &lt;p&gt;Cheers,  &lt;p&gt;Steve&lt;/p&gt;</description><pubDate>Sun, 31 Jul 2011 04:13:23 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/freebsd-unc-iis</guid></item><item><title>UNC post on http://forums.iis.net</title><link>http://www.iislogs.com:80/steveschofield/unc-post-on-http-forums.iis.net</link><description>&lt;p&gt;I try to keep track of UNC based posts in my “UNC” tag if it’s something that would help the community.&amp;nbsp;&amp;nbsp; &lt;a title="http://forums.iis.net/p/1180183/1990052.aspx" href="http://forums.iis.net/p/1180183/1990052.aspx"&gt;http://forums.iis.net/p/1180183/1990052.aspx&lt;/a&gt;&amp;nbsp; If you can provide assistance, that would be great.&amp;nbsp; My intention is to setup some Linux and FreeBSD boxes locally using NFS, Samba and connecting to IIS.&amp;nbsp; It’s on the geek list!&lt;/p&gt; &lt;p&gt;&lt;strong&gt;UNC tag&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.iislogs.com/tags/unc"&gt;http://www.iislogs.com/tags/unc&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Enjoy,&lt;/p&gt; &lt;p&gt;Steve&lt;/p&gt;</description><pubDate>Sat, 23 Jul 2011 17:44:10 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/unc-post-on-http-forums.iis.net</guid></item><item><title>Hosting PERL on IIS 7.x thread</title><link>http://www.iislogs.com:80/steveschofield/hosting-perl-on-iis-7.x-thread</link><description>&lt;p&gt;Every now and then, a thread will get my interest doing something different with IIS on &lt;a href="http://forums.iis.net"&gt;http://forums.iis.net&lt;/a&gt;.&amp;nbsp; I’ve never setup PERL within IIS even though I knew it was possible to host PERL.&amp;nbsp; I figured what the heck, lets see if I can get it working even though I don’t really know how to program in PERL.&amp;nbsp; The post is asking how to secure PERL in a shared hosting model. &lt;br&gt;&lt;br&gt;Forum thread on securing PERL.&amp;nbsp; As of this post, no one has responded who has secured PERL for shared hosting.&amp;nbsp; I’ve asked a couple questions for my own interest.&amp;nbsp; If you know, feel free to respond with more information.&amp;nbsp; I’d be interested. &lt;p&gt;
&lt;p&gt;&lt;a title="http://forums.iis.net/p/1179875/1988997.asp" href="http://forums.iis.net/p/1179875/1988997.aspx"&gt;http://forums.iis.net/p/1179875/1988997.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Helpful post getting PERL setup.&lt;/strong&gt;&lt;br&gt;&lt;a title="http://forums.iis.net/p/1178679/1984038.aspx" href="http://forums.iis.net/p/1178679/1984038.aspx"&gt;http://forums.iis.net/p/1178679/1984038.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ActivePERL by ActiveState &lt;br&gt;&lt;/strong&gt;&lt;a title="http://www.activestate.com/activeperl" href="http://www.activestate.com/activeperl"&gt;http://www.activestate.com/activeperl&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PERL information&lt;/strong&gt;&lt;br&gt;&lt;a title="http://www.perl.org/" href="http://www.perl.org/"&gt;http://www.perl.org/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tips&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Have to run app pool in 32 bit mode.&amp;nbsp; I found many reports of issues with 64 bit version&lt;/li&gt;
&lt;li&gt;Run process monitor to determine exactly which folders are being blocked &lt;br&gt;i.e the PERL folder, %TEMP% variable etc..&lt;/li&gt;
&lt;li&gt;Make sure to install the CGI role service (otherwise you’ll get errors, I did)&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Steve Schofield&lt;br&gt;Windows Server MVP - IIS&lt;br&gt;&lt;a href="http://www.iislogs.com/steveschofield"&gt;http://www.iislogs.com/steveschofield&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://www.iislogs.com/"&gt;http://www.IISLogs.com&lt;/a&gt;&lt;br&gt;Log archival solution&lt;br&gt;Install, Configure, Forget&lt;/p&gt;
&lt;p&gt;Questions on Microsoft SMTP Service - visit &lt;a href="http://www.smtp.ws"&gt;http://www.smtp.ws&lt;/a&gt;&lt;br&gt;IIS Community Newsletter - visit &lt;a href="http://www.iisnewsletter.com"&gt;http://www.iisnewsletter.com&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 14 Jul 2011 11:36:13 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/hosting-perl-on-iis-7.x-thread</guid></item><item><title>Have CNAME point to a Windows Host and access via SMB</title><link>http://www.iislogs.com:80/steveschofield/have-cname-point-to-a-windows-host-and-access-via-smb</link><description>&lt;p&gt;I was trying to map &lt;a href="file://\\servername\sharename"&gt;\\servername\sharename&lt;/a&gt; which would be &lt;a href="file://\\Web1\Sharename"&gt;\\Web1\Sharename&lt;/a&gt;.&amp;nbsp; Web1 would be an actual NetBIOS name and ‘ServerName’ would be a DNS CNAME to Web1.&amp;nbsp; I was getting an error.&amp;nbsp; “because a duplicate name exists on the network”&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Got To:&lt;/strong&gt;&lt;br&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Create a new DWORD with the following details:&lt;/strong&gt;&lt;br&gt;Value name: DisableStrictNameChecking&lt;br&gt;Data type: REG_DWORD&lt;br&gt;Radix: Decimal&lt;br&gt;Value: 1 &lt;p&gt;&lt;a href="http://support.microsoft.com/?id=281308"&gt;http://support.microsoft.com/?id=281308&lt;/a&gt;</description><pubDate>Wed, 13 Jul 2011 19:18:39 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/have-cname-point-to-a-windows-host-and-access-via-smb</guid></item><item><title>Web Stress testing tools thread</title><link>http://www.iislogs.com:80/steveschofield/web-stress-testing-tools-thread</link><description>&lt;p&gt;Here is a thread on &lt;a href="http://forums.iis.net"&gt;http://forums.iis.net&lt;/a&gt; that discusses Stress testing tools.&amp;nbsp; There is a wide variety tools available.&amp;nbsp; I personally use a powershell script to create a single log file, then load test with Web Application Stress tool (retired by Microsoft). For my personal needs this has been sufficient.&amp;nbsp; I thought I would pass along as an FYI.&lt;/p&gt; &lt;p&gt;&lt;a title="http://forums.iis.net/p/1179857/1988763.aspx" href="http://forums.iis.net/p/1179857/1988763.aspx"&gt;http://forums.iis.net/p/1179857/1988763.aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;If you have tools that you’ve found successful, feel free to add to the comments section&lt;/p&gt; &lt;p&gt;PS – And a great tool to help analyze the data is using PAL (performance analysis of logs)&lt;/p&gt; &lt;p&gt;&lt;a title="http://pal.codeplex.com/" href="http://pal.codeplex.com/"&gt;http://pal.codeplex.com/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Thank you,&lt;br&gt;&lt;br&gt;Steve Schofield&lt;br&gt;Windows Server MVP - IIS&lt;br&gt;&lt;a href="http://www.iislogs.com/steveschofield"&gt;http://www.iislogs.com/steveschofield&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://www.iislogs.com/"&gt;http://www.IISLogs.com&lt;/a&gt;&lt;br&gt;Enterprise Log Management solution&lt;br&gt;Install, Configure, Forget&lt;/p&gt; &lt;p&gt;Questions on Microsoft SMTP Service - visit &lt;a href="http://www.smtp.ws"&gt;http://www.smtp.ws&lt;/a&gt;&lt;br&gt;IIS Community Newsletter - visit &lt;a href="http://www.iisnewsletter.com"&gt;http://www.iisnewsletter.com&lt;/a&gt;</description><pubDate>Tue, 12 Jul 2011 21:50:57 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/web-stress-testing-tools-thread</guid></item><item><title>IIS 7 / IUSR account, SCCM 2007 client, Status messages not working</title><link>http://www.iislogs.com:80/steveschofield/iis-7-iusr-account-sccm-2007-client-status-messages-not-working</link><description>&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt; &lt;p&gt;This is one of those posts that has been “years in the making”. I’ve been working with SMS / ConfigMgr 2007 since version 2.0. In my IT career, I’ve used SMS / ConfigMgr 2007 on the server side exclusively. Traditionally SMS / ConfigMgr has been mainly a desktop software deployment, management tool. I’ve never talked with anyone who has used ConfigMgr strictly “ in a Server environment” for other things besides patching, OSD. Using ConfigMgr for DCM, Software Distribution, Querying, reporting etc.  &lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt; &lt;p&gt;I recently came across a situation where I was getting inconsistent status messages being sent back to the site server. Here is the message &lt;strong&gt;Failed to submit event to the Status Agent. Attempting to create pending event. &lt;/strong&gt;For those familiar with ConfigMgr, all components send their status messages through the StatusAgent component. Advertisements, task sequences would work. the status messages would not be updated however.  &lt;p&gt;&lt;strong&gt;Side Bar&lt;br&gt;&lt;/strong&gt;Introduced in IIS 7 was the ability to set the &lt;strong&gt;Anonymous Authentication module&lt;/strong&gt; to inherit from the application pool identity automatically. Here is a screenshot of the setting.&lt;br&gt;&lt;br&gt;&lt;img src="http://www.iislogs.com/images/SCCMIUSRAccount.png"&gt;\ &lt;p&gt;In previous IIS versions, the IUSR account was a local account with it’s own SID (Security Identifier). The administrator had to be aware of this account along with the application pool account (App pools started in Windows 2003/IIS 6). The IUSR account was introduced in Windows Server 2008 as a ‘machine’ account with the same SID across all boxes. In IIS 6, I would set the IUSR_MachineName and application pool identity accounts the same. Although I was administering two locations, it made troubleshooting a lot easier only dealing with one account.&amp;nbsp; When Windows Server 2008 came out and provided the ability to inherit the application pool identity automatically, from an IIS Administrators perspective, I quickly adopted this architecture.&amp;nbsp; PS – I’m not 100% sure why &lt;strong&gt;inheriting Application Pool Identity&lt;/strong&gt; isn’t the default setting, I once heard it was to support Classic ASP applications.&amp;nbsp; Not sure.  &lt;p&gt;&lt;strong&gt;Back to ConfigMgr 2007&lt;/strong&gt; &lt;p&gt;From an IIS perspective, administrators may implement this type of architecture (I did!). What I discovered, the IUSR setting at server level is required if a machine has IIS installed. What I did to prove the ConfigMgr client was checking for the existing of the IUSR account. &lt;ul&gt; &lt;li&gt;I enabled more logging on the ConfigMgr client. Here is article showing &lt;a href="http://www.iislogs.com/steveschofield/enable-debuglogging-and-verbose-logging-on-sccm-clients"&gt;How to enable DebugLogging &amp;amp; Verbose logging on ConfigMgr client.&lt;/a&gt; &lt;li&gt;I set the IUSR account at server level to the picture above. All sites would inherit the application pool identity  &lt;li&gt;Execute an advertisement (task sequence or advertisement)&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Here is the status messages that appeared in the logs. Notice the highlighted sections, and the function being called.  &lt;p&gt;&lt;strong&gt;ccmperf.log&lt;/strong&gt;:&amp;lt;![LOG[Security::&lt;strong&gt;LookupIUSRAccountSid&lt;/strong&gt;(sIUSRSid), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\ccmperf\perfobject.cpp,1484)]LOG]!&amp;gt;&amp;lt;time="00:14:21.853+240" date="01-09-2011" component="ccmperf" context="" type="0" thread="14748" file="perfobject.cpp:1484"&amp;gt;&lt;br&gt;&lt;strong&gt;ccmperf.log&lt;/strong&gt;:&amp;lt;![LOG[GetIISAccounts(sIUSRSid), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\ccmperf\perfobject.cpp,1559)]LOG]!&amp;gt;&amp;lt;time="00:14:21.853+240" date="01-09-2011" component="ccmperf" context="" type="0" thread="14748" file="perfobject.cpp:1559"&amp;gt;&lt;br&gt;&lt;strong&gt;ccmperf.log&lt;/strong&gt;:&amp;lt;![LOG[Security::LookupIUSRAccountSid(sIUSRSid), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\ccmperf\perfobject.cpp,1484)]LOG]!&amp;gt;&amp;lt;time="00:14:21.862+240" date="01-09-2011" component="ccmperf" context="" type="0" thread="14748" file="perfobject.cpp:1484"&amp;gt;&lt;br&gt;&lt;strong&gt;ccmperf.log&lt;/strong&gt;:&amp;lt;![LOG[GetIISAccounts(sIUSRSid), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\ccmperf\perfobject.cpp,1559)]LOG]!&amp;gt;&amp;lt;time="00:14:21.862+240" date="01-09-2011" component="ccmperf" context="" type="0" thread="14748" file="perfobject.cpp:1559"&amp;gt;&lt;br&gt;&lt;strong&gt;ccmperf.log&lt;/strong&gt;:&amp;lt;![LOG[Security::LookupIUSRAccountSid(sIUSRSid), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\ccmperf\perfobject.cpp,1484)]LOG]!&amp;gt;&amp;lt;time="00:14:22.678+240" date="01-09-2011" component="ccmperf" context="" type="0" thread="13344" file="perfobject.cpp:1484"&amp;gt;&lt;br&gt;&lt;strong&gt;ccmperf.log&lt;/strong&gt;:&amp;lt;![LOG[GetIISAccounts(sIUSRSid), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\ccmperf\perfobject.cpp,1559)]LOG]!&amp;gt;&amp;lt;time="00:14:22.680+240" date="01-09-2011" component="ccmperf" context="" type="0" thread="13344" file="perfobject.cpp:1559"&amp;gt;&lt;br&gt;&lt;strong&gt;StatusAgent.log&lt;/strong&gt;:&amp;lt;![LOG[Security::LookupIUSRAccountSid(sAccount), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\core\ccmcore\comobjectsecurity.cpp,58)]LOG]!&amp;gt;&amp;lt;time="00:14:58.883+240" date="01-09-2011" component="StatusAgent" context="" type="0" thread="11300" file="comobjectsecurity.cpp:58"&amp;gt; &lt;p&gt;As I mentioned earlier, I work strictly in a server environment, which many boxes have IIS installed (Mostly Windows Server 2008 / R2 boxes). For some reason Microsoft has logic in SCCM to check for the existence of the IUSR account. Here is a post I did &lt;a href="http://www.iislogs.com/steveschofield/iusr-account-and-sccm-2007-r3-agent"&gt;“IUSR Account and ConfigMgr 2007 R3 agent”&lt;/a&gt;. This explains I temporarily had to set the IUSR account enabled at server level so the ConfigMgr agent would install. &lt;p&gt;&lt;strong&gt;A configuration workaround&lt;/strong&gt; &lt;p&gt;The ConfigMgr agent doesn’t seem to check for IUSR at &lt;strong&gt;site level&lt;/strong&gt;. This means an administrator who has ConfigMgr installed on a server OS with IIS can enable the IUSR setting at &lt;strong&gt;server level&lt;/strong&gt;, and set the &lt;strong&gt;inherit application pool identity&lt;/strong&gt; at &lt;strong&gt;site level&lt;/strong&gt;. From my testing, this configuration works. I did a PowerShell script to:  &lt;ul&gt; &lt;li&gt;Backup current applicationHost.config with appcmd  &lt;li&gt;Enable IUSR at server level  &lt;li&gt;Disable IUSR and inherit application pool identity.  &lt;li&gt;Stop / Start SMS Agent Host  &lt;li&gt;Watch the SCCM logs&lt;br&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;A little precaution before running the script. The logic assumes you are using the application pool identity for securing resources. I’d recommend you review your IIS architecture to ensure this setup would work in your environment. I &lt;strong&gt;ALWAYS&lt;/strong&gt; encourage people to try scripts in a non-production environment first. The script does make a backup copy of the applicationHost.config before making changes. If something happens, just restore the applicationHost.config. &lt;br&gt;&lt;br&gt;After years of not quite understanding how IUSR was used. I thank God for helping me finally understand what is happening! I hope you find this post useful. Hope this workaround isn’t needed in CM2012. Time will tell. &lt;p&gt;Thank you,&lt;br&gt;&lt;br&gt;Steve Schofield&lt;br&gt;Windows Server MVP - IIS&lt;br&gt;&lt;a href="http://www.iislogs.com/steveschofield"&gt;http://www.iislogs.com/steveschofield&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://www.iislogs.com/"&gt;http://www.IISLogs.com&lt;/a&gt;&lt;br&gt;Log archival solution&lt;br&gt;Install, Configure, Forget  &lt;p&gt;Questions on Microsoft SMTP Service - visit &lt;a href="http://www.smtp.ws"&gt;http://www.smtp.ws&lt;/a&gt;&lt;br&gt;IIS Community Newsletter - visit &lt;a href="http://www.iisnewsletter.com"&gt;http://www.iisnewsletter.com&lt;/a&gt; &lt;p&gt;&lt;strong&gt;Here is the script. &lt;/strong&gt; &lt;p&gt;$ExitCode = 0&lt;br&gt;try&lt;br&gt;{&lt;br&gt;function EnableIUSRServerLevel&lt;br&gt;{&lt;br&gt;$Command = "$Env:SystemRoot\system32\inetsrv\appcmd.exe set config /section:system.webServer/security/authentication/anonymousAuthentication /userName:`"IUSR`" /commit:apphost"&lt;br&gt;Write-Host $Command&lt;br&gt;Invoke-Expression -Command $Command&lt;br&gt;} &lt;p&gt;function DisableIUSRSiteLevel([string]$SiteName)&lt;br&gt;{&lt;br&gt;$Command = "$Env:SystemRoot\system32\inetsrv\appcmd.exe set config `"$SiteName`" /section:system.webServer/security/authentication/anonymousAuthentication /userName:`"`" /commit:apphost"&lt;br&gt;Write-Host $Command&lt;br&gt;Invoke-Expression -Command $Command&lt;br&gt;} &lt;p&gt;&lt;strong&gt;#Use Powershell provider to get a list of sites, one of these will error&lt;br&gt;#windows Server 2008 needs powershell provider installed before using&lt;br&gt;#Windows Server 2008 R2 has powershll provider already&lt;br&gt;#There is some better logic that could be implemented on this option&lt;br&gt;&lt;br&gt;&lt;/strong&gt;Import-Module -Name "WebAdministration"&lt;br&gt;Add-PSSnapin -Name "WebAdministration"&lt;br&gt;&lt;strong&gt;#Backup ApplicationHostConfig&lt;br&gt;&lt;/strong&gt;$FileDate = (Get-Date).tostring('dd-mm-yyyy-mm-hh')&lt;br&gt;$Command = "$Env:SystemRoot\system32\inetsrv\appcmd.exe add backup `"BeforeSettingIUSRData$FileDate`"" &lt;p&gt;Write-Host $Command&lt;br&gt;Write-Host "applicationHost.config backed up"&lt;br&gt;Invoke-Expression -Command $Command &lt;p&gt;&lt;strong&gt;#Set IUSR at server level&lt;br&gt;&lt;/strong&gt;Write-Host "Set IUSR at server level enabled"&lt;br&gt;EnableIUSRServerLevel &lt;p&gt;&lt;strong&gt;#Get List of Sites using get-childitem&lt;br&gt;&lt;/strong&gt;$sites = gci IIS:\Sites &lt;p&gt;&lt;strong&gt;#Set Each site on the box with IUSR disabled&lt;br&gt;&lt;/strong&gt;foreach($site in $sites)&lt;br&gt;{ &lt;br&gt;Write-Host $site.name&lt;br&gt;Write-Host ""&lt;br&gt;DisableIUSRSiteLevel -SiteName $site.name&lt;br&gt;} &lt;p&gt;Write-Host "Done"&lt;br&gt;}&lt;br&gt;catch&lt;br&gt;{&lt;br&gt;$ExitCode = 1&lt;br&gt;Write-Host "error"&lt;br&gt;} </description><pubDate>Sun, 10 Jul 2011 12:24:59 GMT</pubDate><guid isPermaLink="true">http://www.iislogs.com:80/steveschofield/iis-7-iusr-account-sccm-2007-client-status-messages-not-working</guid></item></channel></rss>
