<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/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/"><channel><title>Brad Rutkowski's Blog : Windows 2003</title><link>http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx</link><description>Tags: Windows 2003</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Taking a circular netmon capture from the command prompt</title><link>http://blogs.technet.com/brad_rutkowski/archive/2008/02/22/taking-a-circular-netmon-capture-from-the-command-prompt.aspx</link><pubDate>Fri, 22 Feb 2008 22:23:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2922353</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2922353.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2922353</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You've probably heard that &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=18b1d59d-f4d8-4213-8d17-2f6dde7d7aac&amp;amp;DisplayLang=en" target="_blank"&gt;netmon3.1 is out&lt;/a&gt;, but you might not know that you can easily launch a capture at the command prompt.&amp;#160; I find this useful when we're waiting on a repro, we want a capture, but we don&amp;#8217;t know when that's going to happen.&amp;#160; Sure you could set this up in the GUI too, but who wants to do that when it's as easy as this?&lt;/p&gt;  &lt;p&gt;The below will setup a capture on all networks that the system is attached to and wait until I hit ctrl+c (you can see its been a while with no repro).&amp;#160; The CHN extension used tells netmon to take multiple captures in a chain (see file syntax).&amp;#160; I also put some examples at the bottom so you can see what else you can do.&amp;#160; Have fun!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\Windows\system32&amp;gt;nmcap /capture /network *&amp;#160; /File netmoncap.chn:100M      &lt;br /&gt;Netmon Command Line Capture (nmcap) 03.01.0512.0000 &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Saving info to:     &lt;br /&gt;C:\Windows\system32\netmoncap.cap - using chain captures of size 100.00 MB. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;ATTENTION: Conversations Enabled: consumes more memory (see Help for details) &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Exit by Ctrl+C &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Saved Frames: 9232127 Capture Frames: 9438779 (44181 seconds)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Hit Ctrl+C&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Cancelled by user &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Final Results : Saved Frames: 722 Capture Frames: 722 &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\Program Files\Microsoft Network Monitor 3&amp;gt;dir netmoncap.cap     &lt;br /&gt; Volume in drive C has no label.      &lt;br /&gt; Volume Serial Number is FCC3-5AF7 &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt; Directory of C:\Program Files\Microsoft Network Monitor 3 &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;02/22/2008&amp;#160; 09:06 AM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 384,748 netmoncap.cap     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 1 File(s)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 384,748 bytes      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 0 Dir(s)&amp;#160; 16,699,654,144 bytes free&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Here's the breakdown fo the /File syntax:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="cour" size="2"&gt;/File &amp;lt;Capture File&amp;gt;[:&amp;lt;File Size Limit&amp;gt;]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Name of capture file to save frames to. Extensions are used to determine      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; the behavior of nmcap.      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .cap -- Netmon 2 capture file      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .chn -- Series of Netmon 2 capture files: t.cap, t(1).cap, t(2).cap...      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;File Size Limit&amp;gt; are optional. It limits the file size of each capture      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; file generated. Default single capture file size limit is 20M. The      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; upper bound of the file size limit is 500M. The lower bound of the file      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; size limit depends on the frame size captured. (Note that the maximal size      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; of ethernet frames is 1500 Bytes)      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; The files are circular, so once the size limit is reached, new data will      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; overwrite older data.      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Example Usage: /File t.cap:50M&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Some other examples from the NMCAP help:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This example starts capturing network frames that DO NOT contain ARPs, ICMP,   &lt;br /&gt;NBtNs and BROWSER frames.&amp;#160; If you want to stop capturing, Press Control+C. &lt;/p&gt;  &lt;p&gt;&lt;font face="cour" size="2"&gt;nmcap /network * /capture&amp;#160; (!ARP AND !ICMP AND !NBTNS AND !BROWSER) /File NoNoise.cap&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Starts capturing network frames immediately. All TCP frames that have a source   &lt;br /&gt;port or destination port of 80 are saved to the chained capture files named    &lt;br /&gt;test.cap, test(1).cap, test(2).cap, ... When the user presses the 'x' key the    &lt;br /&gt;program stops. &lt;/p&gt;  &lt;p&gt;&lt;font face="cour" size="2"&gt;nmcap /network * /capture tcp.port == 80 /file c:\temp\test.chn:6M /stopwhen /keypress x&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This example starts capturing network frames that are TCP Continuations. The   &lt;br /&gt;capture filter is searching for String &amp;quot;Continuation in TCP Frame Summary    &lt;br /&gt;Description. In order to see the complete list of Netmon Properties that are    &lt;br /&gt;filterable,type &amp;quot;.Property&amp;quot; in the Netmon Filter UI. &lt;/p&gt;  &lt;p&gt;&lt;font face="cour" size="2"&gt;nmcap /network * /capture contains(.Property.Description, \&amp;quot;Continuation\&amp;quot;) /File TCPContinuations.cap&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c8478ddb-a4e4-4431-aa0c-caf6df2165d9" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Netmon" rel="tag"&gt;Netmon&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Network%20Monitor" rel="tag"&gt;Network Monitor&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2922353" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Vista+and+Lognhorn/default.aspx">Vista and Lognhorn</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item><item><title>Hey Admins!  Taking some of the pain out of analyzing perfmon captures.</title><link>http://blogs.technet.com/brad_rutkowski/archive/2008/02/13/hey-admins-taking-some-of-the-pain-out-of-analyzing-perfmon-captures.aspx</link><pubDate>Thu, 14 Feb 2008 02:03:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2887011</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2887011.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2887011</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.codeplex.com/PAL" target="_blank"&gt;Performance Analysis of Logs (PAL) tool&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;&lt;b&gt;&lt;/b&gt;&lt;/h2&gt;  &lt;p&gt;&lt;b&gt;Project Description:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Ever have a performance problem, but don't know what performance counters to collect or how to analyze them? The PAL (Performance Analysis of Logs) tool is a new and powerful tool that reads in a performance monitor counter log (any known format) and analyzes it using complex, but known thresholds (provided). The tool generates an HTML based report which graphically charts important performance counters and throws alerts when thresholds are exceeded. The thresholds are originally based on thresholds defined by the Microsoft product teams and members of Microsoft support, but continue to be expanded by this ongoing project. This tool is not a replacement of traditional performance analysis, but it automates the analysis of performance counter logs enough to save you time. This is a VBScript and requires Microsoft LogParser (free download).&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;My take on the tool:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;For those of us out there that don't have to deal with performance data on a daily basis I see a few options to help troubleshoot performance issues on your servers.&amp;#160; 1) If your using 2k3 use &lt;a href="http://blogs.technet.com/brad_rutkowski/archive/2007/06/26/great-tool-for-windows-2003-server-performance-advisor-spa.aspx" target="_blank"&gt;SPA&lt;/a&gt;.&amp;#160; 2) If you're running 2k8/Vista use &lt;a href="http://blogs.technet.com/brad_rutkowski/archive/2007/04/14/hey-admins-let-s-explore-vista-together-part-1.aspx" target="_blank"&gt;data collection sets&lt;/a&gt;. 3) Collect analyze your own perfmon captures.&lt;/p&gt;  &lt;p&gt;Now you might want to look into this tool.&amp;#160; I found the tool simple to use and it's really a four step process.&amp;#160; The web page created for the analysis has a plethora of info and links to the codeplex site for more info. Sweet.&lt;/p&gt;  &lt;p&gt;Really in the end it's just a time saver.&amp;#160; After collecting performance data on a server you need to analyze that data.&amp;#160; This entails opening the log file, adding the counters that you've collected and finding out if any of the counters are above any thresholds (deemed by you).&amp;#160; This tool does that analysis for you.&amp;#160; It comes out-of-the-box with some predefined thresholds defined as high according to the MSFT consulting/development but those can be adjusted to whatever suits your fancy.&lt;/p&gt;  &lt;p&gt;Once you get everything installed its time to do some analysis.&amp;#160; It comes with some threshold templates for AD, System Overview, IIS, SQL, Exchange, etc (see pic)&amp;#160; You point the app at the performance log you've captured during your perf issue, choose a threshold template to your liking, answer some basic questions, add the form and execute:&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/PALtoolscreenshot.jpg" /&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once it completes it generates a webpage with the analysis information you desire.&amp;#160; The webpage shows you alerts for activity that it finds suspect and graphs for the different areas of interest.&amp;#160; I can't paste all the pics/info in here as it is quite lengthy depending on the interval you provide.&amp;#160; But this definitely seems like a tool that could be handy down the road.&amp;#160; Looking at the web page it looks really similar to SPA, but with graphs provided via the Office Web Components add-in.&amp;#160; For example here is how I could find out LDP was using too much CPU:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;First I found the alert which said that something was being excessive and I clicked on the link (sorry for the blurriness):&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/Alert.jpg" /&gt; &lt;/p&gt;  &lt;p&gt;Then I found LDP consuming the CPU:&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/Procc.jpg" /&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Add it to your bag of tricks, hope it helps.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4de9e92d-c4d0-4662-94c8-7dc197675fae" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Windows%202008" rel="tag"&gt;Windows 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Perfmon" rel="tag"&gt;Perfmon&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Performance" rel="tag"&gt;Performance&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2887011" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/CPU/default.aspx">CPU</category></item><item><title>Windows 2003 KB Released: Slow network communication from Vista RTM (6000) to Windows 2003 SP2</title><link>http://blogs.technet.com/brad_rutkowski/archive/2008/01/30/windows-2003-kb-released-slow-network-communication-from-vista-rtm-6000-windows-2003-sp2.aspx</link><pubDate>Thu, 31 Jan 2008 01:10:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2800177</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2800177.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2800177</wfw:commentRss><description>&lt;P&gt;This was one issue I worked on for quite some time a few months ago.&amp;nbsp; We found that Vista clients were taking forever to download group policies from domain controllers in the regions while Vista SP1 and XP clients did not see the issue.&amp;nbsp; If the local DC was running LH or Windows 2003 SP1, we didn't see any issue.&amp;nbsp; If the server was running Windows 2003 SP2 though and had a certain type of hardware we would see the latency.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Based on customer reports, Windows Dev learned of more widespread devices in the network that don’t understand greater window scale factors. So, they&amp;nbsp; improved the heuristics in SP1 for when to limit or disable auto-tuning, which is why we only saw in in Vista RTM and not SP1.&amp;nbsp; 
&lt;P&gt;The bug is in Windows 2003 SP2 and the details can be found here: &lt;A title=http://support.microsoft.com/kb/947773 href="http://support.microsoft.com/kb/947773" mce_href="http://support.microsoft.com/kb/947773"&gt;http://support.microsoft.com/kb/947773&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So if you find that you have vista clients experiencing network latency when hitting a Windows 2003 SP2 server (File server, DC, Exchange, etc) then you should look into this hotfix.&lt;/P&gt;
&lt;DIV class=wlWriterSmartContent id=scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1a8e7e7c-2a85-4f29-b25e-8ac2ee82ce02 style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;Technorati tags: &lt;A href="http://technorati.com/tags/Windows%202003" rel=tag mce_href="http://technorati.com/tags/Windows%202003"&gt;Windows 2003&lt;/A&gt;&lt;/DIV&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2800177" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Patches/default.aspx">Patches</category></item><item><title>\SystemRoot\System32\RDPDD.dll failed to load</title><link>http://blogs.technet.com/brad_rutkowski/archive/2008/01/04/systemroot-system32-rdpdd-dll-failed-to-load.aspx</link><pubDate>Sat, 05 Jan 2008 02:51:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2710631</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>101</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2710631.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2710631</wfw:commentRss><description>&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an FYI post for an issue we've seen on a couple of Windows 2003 SP2 servers internally.&amp;nbsp; Hopefully if someone hits this in the wild they'll be able to find this post on the intertubes. 
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Symptom:&lt;/U&gt;&lt;/STRONG&gt; 
&lt;P&gt;When attempting to connect from the client via RDP,&amp;nbsp; you would click “connect” and then soon after it would silently fail and “connect” would be clickable again. 
&lt;P&gt;Each time when attempting to connect, the server would log this event: 
&lt;P&gt;&lt;FONT face=Cour size=2&gt;Event Type:&amp;nbsp;&amp;nbsp; Information&lt;BR&gt;Event Source: Application Popup&lt;BR&gt;Event Category:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; None&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26&lt;BR&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/25/2007&lt;BR&gt;Time:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12:13:57 PM&lt;BR&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;BR&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ServerX&lt;BR&gt;Description:&lt;BR&gt;Application popup:&amp;nbsp; : \SystemRoot\System32\RDPDD.dll failed to load &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Cour size=2&gt;For more information, see Help and Support Center at &lt;/FONT&gt;&lt;A href="http://go.microsoft.com/fwlink/events.asp" mce_href="http://go.microsoft.com/fwlink/events.asp"&gt;&lt;FONT face=Cour size=2&gt;http://go.microsoft.com/fwlink/events.asp&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Cour size=2&gt;.&lt;BR&gt;Data:&lt;BR&gt;0000: 00000000 006c0002 00000000 4000001a&lt;BR&gt;0010: c0000017 c000009a 00000000 00000000&lt;BR&gt;0020: 00000000 00000000&lt;/FONT&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Our Resolution&lt;/U&gt;&lt;/STRONG&gt; 
&lt;P&gt;A) We found that in our cases it was an issue with the ATI driver and by either rolling back the ATI driver for the display on the server or upgrading the display driver on the server resolved the issue.&amp;nbsp; Reports in the comments show the same for Nvidia drivers 
&lt;P&gt;B) In another instance it was found that by going to:&amp;nbsp; Display Properties --&amp;gt; Settings --&amp;gt; Advanced --&amp;gt; Troubleshoot, turn off "Hardware acceleration” resolved the issue as well without adjusting the drivers. 
&lt;P&gt;C) On the internet I've seen posts showing SFC to help but in my cases it did not. 
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Update from comments:&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp; 
&lt;P&gt;D) A solution found at &lt;A href="http://forums.nvidia.com/index.php?showtopic=67147&amp;amp;hl=remote%20desktop&amp;amp;st=60" target=_new rel=nofollow&gt;&lt;FONT color=#444433&gt;http://forums.nvidia.com/index.php?showtopic=67147&amp;amp;hl=remote%20desktop&amp;amp;st=60&lt;/FONT&gt;&lt;/A&gt; worked for me (and others.) 
&lt;P&gt;It's a registry fix that increases the size of the session image space. &amp;nbsp;Add the following key:&lt;/P&gt;
&lt;P&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]&lt;/P&gt;
&lt;P&gt;"SessionImageSize"=dword:00000020&lt;/P&gt;
&lt;P&gt;Where 00000020 is hex for 32&lt;/P&gt;
&lt;P&gt;In any case the event was a red herring and was just a generic error being bubbled up from Win32k.sys.. 
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=wlWriterSmartContent id=scid:0767317B-992E-4b12-91E0-4F059A8CECA8:fc78311a-27cb-4d11-888e-3ad68433b43f style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;Technorati tags: &lt;A href="http://technorati.com/tags/Windows%202003" rel=tag mce_href="http://technorati.com/tags/Windows%202003"&gt;Windows 2003&lt;/A&gt;, &lt;A href="http://technorati.com/tags/RDP" rel=tag mce_href="http://technorati.com/tags/RDP"&gt;RDP&lt;/A&gt;, &lt;A href="http://technorati.com/tags/SP2" rel=tag mce_href="http://technorati.com/tags/SP2"&gt;SP2&lt;/A&gt;&lt;/DIV&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2710631" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category></item><item><title>Need to get IPCONFIG /ALL from a computer remotely?</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/12/15/need-to-get-ipconfig-all-from-a-computer-remotely.aspx</link><pubDate>Sun, 16 Dec 2007 02:04:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2650214</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2650214.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2650214</wfw:commentRss><description>&lt;P&gt;I know people have scripted this, but this is so much easier...&amp;nbsp; You could use PSExec for running other commands as well, but someone recently asked me an easy way to get the IP info so here it is.&amp;nbsp; If you just want to be sitting at a command prompt on the remote computer then you could just run "PSEXEC &lt;A href="file://serverb/" mce_href="file://\\ServerB"&gt;\\ServerB&lt;/A&gt; cmd" and then you go run whatever command you'd like.&lt;/P&gt;
&lt;P&gt;&lt;A title=http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx href="http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx" mce_href="http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx"&gt;http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;C:\localbinx64&amp;gt;psexec &lt;A href="file://servera/" mce_href="file://\\ServerA"&gt;\\ServerA&lt;/A&gt; ipconfig /all &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;PsExec v1.21 - execute processes remotely&lt;BR&gt;Copyright (C) 2001 Mark Russinovich&lt;BR&gt;www.sysinternals.com &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;Windows IP Configuration &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;&amp;nbsp;&amp;nbsp; Host Name . . . . . . . . . . . . : ServerA&lt;BR&gt;&amp;nbsp;&amp;nbsp; Primary Dns Suffix&amp;nbsp; . . . . . . . : braddom.bradforest.test&lt;BR&gt;&amp;nbsp;&amp;nbsp; Node Type . . . . . . . . . . . . : Hybrid&lt;BR&gt;&amp;nbsp;&amp;nbsp; IP Routing Enabled. . . . . . . . : No&lt;BR&gt;&amp;nbsp;&amp;nbsp; WINS Proxy Enabled. . . . . . . . : No&lt;BR&gt;&amp;nbsp;&amp;nbsp; DNS Suffix Search List. . . . . . : braddom.bradforest.test&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;Ethernet adapter CORP: &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;&amp;nbsp;&amp;nbsp; Connection-specific DNS Suffix&amp;nbsp; . : braddom.bradforest.test&lt;BR&gt;&amp;nbsp;&amp;nbsp; Description . . . . . . . . . . . : HP NC7782 Gigabit Server Adapter #2&lt;BR&gt;&amp;nbsp;&amp;nbsp; Physical Address. . . . . . . . . : 00-13-21-0D-85-15&lt;BR&gt;&amp;nbsp;&amp;nbsp; DHCP Enabled. . . . . . . . . . . : Yes&lt;BR&gt;&amp;nbsp;&amp;nbsp; Autoconfiguration Enabled . . . . : Yes&lt;BR&gt;&amp;nbsp;&amp;nbsp; IP Address. . . . . . . . . . . . : 157.51.6.176&lt;BR&gt;&amp;nbsp;&amp;nbsp; Subnet Mask . . . . . . . . . . . : 255.255.255.0&lt;BR&gt;&amp;nbsp;&amp;nbsp; Default Gateway . . . . . . . . . : 157.51.6.1&lt;BR&gt;&amp;nbsp;&amp;nbsp; DHCP Server . . . . . . . . . . . : 157.5.114.84&lt;BR&gt;ipconfig exited on&amp;nbsp;servera with error code 0.4.162&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2650214" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item><item><title>Kernel stack not resident (Using .pagein)</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/08/30/kernel-stack-not-resident-using-pagein.aspx</link><pubDate>Thu, 30 Aug 2007 02:36:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1856964</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1856964.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1856964</wfw:commentRss><description>&lt;p&gt;You might find yourself debugging an issue and a thread you are interested in is paged out.&amp;nbsp; Here's the steps to use to page in the stack for the kernel side and user side...&amp;nbsp;&amp;nbsp; Be careful when doing this on a live machine that you want to release after debugging as paging in certain section of memory can cause it to bugcheck...&amp;nbsp;  &lt;p&gt;&amp;nbsp; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;2: kd&amp;gt; !thread fffffa8004415460&lt;br&gt;THREAD fffffa8004415460&amp;nbsp; Cid 087c.0acc&amp;nbsp; Teb: 000007fffffd5000 Win32Thread: 0000000000000000 WAIT: (WrLpcReply) UserMode Non-Alertable&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fffffa80044157f0&amp;nbsp; Semaphore Limit 0x1&lt;br&gt;Waiting for reply to ALPC Message fffff88018c943f0&lt;br&gt;Impersonation token:&amp;nbsp; fffff8801d302060 (Level Impersonation)&lt;br&gt;Owning Process&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fffffa80046e5610&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Image:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snmp.exe&lt;br&gt;Wait Start TickCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 367059906&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticks: 15906005 (2:20:55:35.268) &lt;font color="#ff0000"&gt;//Been waiting a while.&lt;/font&gt;&lt;br&gt;Context Switch Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13819416&lt;br&gt;UserTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:38.173&lt;br&gt;KernelTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:02:33.972&lt;br&gt;Win32 Start Address 0x000007fefa7724bc&lt;br&gt;Stack Init fffffa600440ddb0 Current fffffa600440d6e0&lt;br&gt;Base fffffa600440e000 Limit fffffa6004408000 Call 0&lt;br&gt;Priority 11 BasePriority 8 PriorityDecrement 1 IoPriority 2 PagePriority 5&lt;br&gt;Kernel stack not resident. &lt;font color="#ff0000"&gt;// We can't see what the stack looks like as it been waiting so long its been paged out.&lt;/font&gt;&lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;2: kd&amp;gt; .pagein fffffa600440d6e0&amp;nbsp; &lt;font color="#ff0000"&gt;//Grab Current from above...&amp;nbsp; This will get us the kernel side...&lt;/font&gt;&lt;br&gt;You need to continue execution (press 'g' &amp;lt;enter&amp;gt;) for the pagein to be brought in.&amp;nbsp; When the debugger breaks in again, the page will be present.&lt;br&gt;2: kd&amp;gt; g&lt;br&gt;Break instruction exception - code 80000003 (first chance)&lt;br&gt;nt!DbgBreakPointWithStatus:&lt;br&gt;fffff800`0163e1d0 cc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;br&gt;1: kd&amp;gt; !thread fffffa8004415460&lt;br&gt;THREAD fffffa8004415460&amp;nbsp; Cid 087c.0acc&amp;nbsp; Teb: 000007fffffd5000 Win32Thread: 0000000000000000 WAIT: (WrLpcReply) UserMode Non-Alertable&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fffffa80044157f0&amp;nbsp; Semaphore Limit 0x1&lt;br&gt;Waiting for reply to ALPC Message fffff88018c943f0&lt;br&gt;Impersonation token:&amp;nbsp; fffff8801d302060 (Level Impersonation)&lt;br&gt;Owning Process&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fffffa80046e5610&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Image:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snmp.exe&lt;br&gt;Wait Start TickCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 367059906&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticks: 15906070 (2:20:55:36.282)&lt;br&gt;Context Switch Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13819416&lt;br&gt;UserTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:38.173&lt;br&gt;KernelTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:02:33.972&lt;br&gt;Win32 Start Address 0x000007fefa7724bc&lt;br&gt;Stack Init fffffa600440ddb0 Current fffffa600440d6e0&lt;br&gt;Base fffffa600440e000 Limit fffffa6004408000 Call 0&lt;br&gt;Priority 11 BasePriority 8 PriorityDecrement 1 IoPriority 2 PagePriority 5&lt;br&gt;Kernel stack not resident.&lt;br&gt;Child-SP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RetAddr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Args to Child&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Call Site&lt;br&gt;fffffa60`0440d720 fffff800`01647abe : fffffa60`0440da88 fffff880`18c943f0 fffffa60`0440da88 fffff880`18c943f0 : nt!KiSwapContext+0x7f&lt;br&gt;fffffa60`0440d860 fffff800`016484c5 : 00000000`00303cb0 fffffa60`0440da88 00000000`00000009 00000000`00000001 : nt!KiSwapThread+0x12e&lt;br&gt;fffffa60`0440d8c0 fffff800`01681067 : 00000000`00000000 00000000`00000011 00000000`00000001 00000000`00000000 : nt!KeWaitForSingleObject+0x5f5&lt;br&gt;fffffa60`0440d940 fffff800`018be424 : fffffa60`0440da88 00000000`00303cb0 fffffa80`04415460 00000000`00000000 : nt!AlpcpSignalAndWait+0x97&lt;br&gt;fffffa60`0440d980 fffff800`018be868 : 00000000`00000000 00000000`00000000 00000000`00303cb0 00000000`00300318 : nt!AlpcpReceiveSynchronousReply+0x44&lt;br&gt;fffffa60`0440d9e0 fffff800`018a834f : fffffa80`04352e60 fffffa80`00020000 00000000`00303cb0 00000000`00300318 : nt!AlpcpProcessSynchronousRequest+0x251&lt;br&gt;fffffa60`0440db00 fffff800`016437b3 : fffffa80`04415460 fffffa60`0440dca0 00000000`00000280 fffff800`0189c654 : nt!NtAlpcSendWaitReceivePort+0x19f&lt;br&gt;fffffa60`0440dbb0 00000000`77af4dca : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13 (TrapFrame @ fffffa60`0440dc20)&lt;br&gt;&lt;font color="#0000ff"&gt;00000000`016aebc8&lt;/font&gt; 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x77af4dca &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;1: kd&amp;gt; .pagein /p fffffa80046e5610 &lt;font color="#0000ff"&gt;00000000`016aebc8&lt;/font&gt; &lt;font color="#ff0000"&gt;//We take the process ID of the thread and the usermode address at the bottom of the stack.&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&lt;br&gt;You need to continue execution (press 'g' &amp;lt;enter&amp;gt;) for the pagein to be brought in.&amp;nbsp; When the debugger breaks in again, the page will be present.&lt;br&gt;1: kd&amp;gt; g&lt;br&gt;Break instruction exception - code 80000003 (first chance)&lt;br&gt;nt!DbgBreakPointWithStatus:&lt;br&gt;fffff800`0163e1d0 cc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&lt;br&gt;1: kd&amp;gt; !thread fffffa8004415460 &lt;font color="#ff0000"&gt;//Viola!&amp;nbsp; Now we have the whole stack, you might need to do a .reload for symbols.&lt;/font&gt;&lt;br&gt;THREAD fffffa8004415460&amp;nbsp; Cid 087c.0acc&amp;nbsp; Teb: 000007fffffd5000 Win32Thread: 0000000000000000 WAIT: (WrLpcReply) UserMode Non-Alertable&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fffffa80044157f0&amp;nbsp; Semaphore Limit 0x1&lt;br&gt;Waiting for reply to ALPC Message fffff88018c943f0&lt;br&gt;Impersonation token:&amp;nbsp; fffff8801d302060 (Level Impersonation)&lt;br&gt;Owning Process&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fffffa80046e5610&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Image:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snmp.exe&lt;br&gt;Wait Start TickCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 367059906&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticks: 15906135 (2:20:55:37.296)&lt;br&gt;Context Switch Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13819416&lt;br&gt;UserTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:38.173&lt;br&gt;KernelTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:02:33.972&lt;br&gt;Win32 Start Address 0x000007fefa7724bc&lt;br&gt;Stack Init fffffa600440ddb0 Current fffffa600440d6e0&lt;br&gt;Base fffffa600440e000 Limit fffffa6004408000 Call 0&lt;br&gt;Priority 11 BasePriority 8 PriorityDecrement 1 IoPriority 2 PagePriority 5&lt;br&gt;Kernel stack not resident.&lt;br&gt;Child-SP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RetAddr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Args to Child&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Call Site&lt;br&gt;fffffa60`0440d720 fffff800`01647abe : fffffa60`0440da88 fffff880`18c943f0 fffffa60`0440da88 fffff880`18c943f0 : nt!KiSwapContext+0x7f&lt;br&gt;fffffa60`0440d860 fffff800`016484c5 : 00000000`00303cb0 fffffa60`0440da88 00000000`00000009 00000000`00000001 : nt!KiSwapThread+0x12e&lt;br&gt;fffffa60`0440d8c0 fffff800`01681067 : 00000000`00000000 00000000`00000011 00000000`00000001 00000000`00000000 : nt!KeWaitForSingleObject+0x5f5&lt;br&gt;fffffa60`0440d940 fffff800`018be424 : fffffa60`0440da88 00000000`00303cb0 fffffa80`04415460 00000000`00000000 : nt!AlpcpSignalAndWait+0x97&lt;br&gt;fffffa60`0440d980 fffff800`018be868 : 00000000`00000000 00000000`00000000 00000000`00303cb0 00000000`00300318 : nt!AlpcpReceiveSynchronousReply+0x44&lt;br&gt;fffffa60`0440d9e0 fffff800`018a834f : fffffa80`04352e60 fffffa80`00020000 00000000`00303cb0 00000000`00300318 : nt!AlpcpProcessSynchronousRequest+0x251&lt;br&gt;fffffa60`0440db00 fffff800`016437b3 : fffffa80`04415460 fffffa60`0440dca0 00000000`00000280 fffff800`0189c654 : nt!NtAlpcSendWaitReceivePort+0x19f&lt;br&gt;fffffa60`0440dbb0 00000000`77af4dca : 000007fe`fea5c72b 00000000`00001000 00000000`016aee90 00000000`01460058 : nt!KiSystemServiceCopyEnd+0x13 (TrapFrame @ fffffa60`0440dc20)&lt;br&gt;00000000`016aebc8 000007fe`fea5c72b : 00000000`00001000 00000000`016aee90 00000000`01460058 00000000`0030ed80 : ntdll!NtAlpcSendWaitReceivePort+0xa&lt;br&gt;00000000`016aebd0 000007fe`fea6c592 : 00000000`00302b50 00000000`016aef30 000007fe`fe95c8b8 00000000`00001000 : RPCRT4!LRPC_CCALL::SendReceive+0xbb&lt;br&gt;00000000`016aec50 000007fe`fea6c5e2 : 00000000`016aed00 00000000`00000000 00000000`00000000 00000000`01460058 : RPCRT4!I_RpcSendReceive+0x42&lt;br&gt;00000000`016aec80 000007fe`feafad2c : 00000000`016aef30 00000000`00000000 00000000`00000000 00000000`0030ed80 : RPCRT4!NdrSendReceive+0x32&lt;br&gt;00000000`016aecb0 000007fe`feafaef0 : 00000000`00000000 000007fe`fe95d090 00000000`00000011 00000000`016aece0 : RPCRT4!NdrpClientCall3+0x11c&lt;br&gt;00000000`016aef00 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : RPCRT4!NdrClientCall3+0x7c &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;1: kd&amp;gt; &lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1856964" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Vista+and+Lognhorn/default.aspx">Vista and Lognhorn</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>Domain not available when trying to TS onto a Windows 2003 server.</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/08/16/domain-not-available-when-trying-to-ts-onto-a-windows-2003-server.aspx</link><pubDate>Thu, 16 Aug 2007 20:00:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1765802</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1765802.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1765802</wfw:commentRss><description>&lt;P&gt;Issue came in this week where when you attempted to logon to a server it would not authenticate your request and would give you a message indicating the "domain is not available".&amp;nbsp; If you tried logging on via your UPN, then it would&amp;nbsp;give a slightly different error message&amp;nbsp;indicating that "there is not enough storage to complete this operation".&lt;/P&gt;
&lt;P&gt;After ruling out DNS and routing,&amp;nbsp;I had the person run nltest /sc_query:BRADFOREST to see what DC it was pointing at and found that it did not have a secure channel to a DC which might be a reason we can't authenticate to the server. :) When we tried to reset the&amp;nbsp;secure channel&amp;nbsp;it would fail with error code 8 (ERROR_NOT_ENOUGH_MEMORY).) So we cranked up &lt;A title=2080FFFF href="http://blogs.technet.com/brad_rutkowski/archive/2006/11/12/these-are-a-few-of-my-favorite-things-part-1.aspx" target=_blank mce_href="http://blogs.technet.com/brad_rutkowski/archive/2006/11/12/these-are-a-few-of-my-favorite-things-part-1.aspx"&gt;netlogon debug logging&lt;/A&gt; and then I repro'd the issue again.&amp;nbsp; We could then see this in the netlogon debug log:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;08/14 22:55:06 [SESSION] BRADFOREST: NlSetServerClientSession: New DC is an NT 5 DC: \\brad-dc-01.bradforest.local&lt;BR&gt;08/14 22:55:06 [SESSION] BRADFOREST: NlSetServerClientSession: New DC is in closest site: \\brad-dc-01.bradforest.local&lt;BR&gt;08/14 22:55:06 [SESSION] BRADFOREST: NlSetServerClientSession: New DC runs the time service: \\brad-dc-01.bradforest.local&lt;BR&gt;08/14 22:55:06 [SESSION] BRADFOREST: NlSetServerClientSession: New discovery flags: 0x1dc; Old flags: 0x0&lt;BR&gt;08/14 22:55:06 [SESSION] BRADFOREST: NlDiscoverDc: Found DC \\brad-dc-01.bradforest.local&lt;BR&gt;08/14 22:55:06 [SESSION] BRADFOREST: NlStartApiClientSession: Bind to server \\brad-dc-01.bradforest.local (TCP) 0 (Retry: 0).&lt;BR&gt;08/14 22:55:06 [MAILSLOT] Going to wait on mailslot. (Timeout: 45000)&lt;BR&gt;08/14 22:55:06 [CRITICAL] NlPrintRpcDebug: Dumping extended error for I_NetServerReqChallenge with 0xc0000017&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [0] ProcessID is 780 &amp;lt;-------------------------LSASS.exe&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [0] System Time is: 8/14/2007 21:55:6:372&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [0] Generating component is 8&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [0] Status is 14&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [0] Detection location is 313&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [0] Flags is 0&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [0] NumberOfParameters is 0&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [1] ProcessID is 780 &lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [1] System Time is: 8/14/2007 21:55:6:372&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [1] Generating component is 8&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [1] Status is 10055&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [1] Detection location is 311&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [1] Flags is 0&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [1] NumberOfParameters is 3&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Long val: 1025&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pointer val: 0&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pointer val: 0&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [2] ProcessID is 780&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [2] System Time is: 8/14/2007 21:55:6:372&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [2] Generating component is 8&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [2] Status is 10055&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [2] Detection location is 315&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [2] Flags is 0&lt;BR&gt;08/14 22:55:06 [CRITICAL]&amp;nbsp; [2] NumberOfParameters is 0&lt;BR&gt;08/14 22:55:06 [CRITICAL] BRADFOREST: NlSessionSetup: Session setup: cannot I_NetServerReqChallenge 0xc0000017&lt;BR&gt;08/14 22:55:06 [MISC] Eventlog: 5719 (1) "BRADFOREST" 0xc0000017 c0000017&amp;nbsp;&amp;nbsp; ....&lt;/FONT&gt; 
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some interesting things to look at, first off what is 0xc0000017?&amp;nbsp; Well we can use &lt;A title=ERR? href="http://blogs.technet.com/brad_rutkowski/archive/2006/09/18/to-err-is-admin.aspx" target=_blank mce_href="http://blogs.technet.com/brad_rutkowski/archive/2006/09/18/to-err-is-admin.aspx"&gt;err.exe&lt;/A&gt; to see what that translates to.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;C:\Windows\system32&amp;gt;err 0xc0000017&lt;BR&gt;# for hex 0xc0000017 / decimal -1073741801&lt;BR&gt;&amp;nbsp; STATUS_NO_MEMORY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;# {Not Enough Quota}&lt;BR&gt;# Not enough virtual memory or paging file quota is available&lt;BR&gt;# to complete the specified operation.&lt;/FONT&gt;&lt;BR&gt;&amp;nbsp; 
&lt;P&gt;Well that pretty much flies with what I was seeing when trying to logon via UPN.&amp;nbsp; We can also see two status codes being returned during the secure channel setup: 14 and 10055. 
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;C:\Windows\system32&amp;gt;err /winerror.h 14&lt;BR&gt;# winerror.h selected.&lt;BR&gt;# for decimal 14 / hex 0xe&lt;BR&gt;&amp;nbsp; ERROR_OUTOFMEMORY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;# Not enough storage is available to complete this operation. &amp;lt;-- This is what I was getting when trying to TS via UPN.&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;C:\Windows\system32&amp;gt;err /winerror.h 10055&lt;BR&gt;# winerror.h selected.&lt;BR&gt;# for decimal 10055 / hex 0x2747&lt;BR&gt;&amp;nbsp; WSAENOBUFS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;--------------------HMMMMM?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;# An operation on a socket could not be performed because the&lt;BR&gt;# system lacked sufficient buffer space or because a queue&lt;BR&gt;# was full.&lt;/FONT&gt; 
&lt;P&gt;So now that is interesting, so the next thing I did was do a netstat -s and looked at the statistics of ports and didn't see anything obvious and I then added the handles column in task manager and noticed that their custom application had 17,000 handles open.&amp;nbsp; Turns out that most of those handles were outgoing calls&amp;nbsp;and used up all the ephemeral ports.&amp;nbsp; We had to set the MAXUSERPORT value in the registry to allow more ports to be used, once we did that everything returned to normal.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Ephemeral Ports&lt;/U&gt;&lt;/STRONG&gt; 
&lt;P&gt;The number of user-accessible ephemeral ports that can be used to source outbound connections is configurable using the &lt;I&gt;MaxUserPorts&lt;/I&gt; registry parameter. By default, when an application requests any socket from the system to use for an outbound call, a port between the values of 1024 and 5000 is supplied. The &lt;I&gt;MaxUserPorts&lt;/I&gt; parameter can be used to set the value of the uppermost port that the administrator chooses to allow for outbound connections. For instance, setting this value to 10,000 (decimal) would make approximately 9000 user ports available for outbound connections. 
&lt;P&gt;Here is the KB article for the issue: &lt;A title=http://support.microsoft.com/kb/196271 href="http://support.microsoft.com/kb/196271" mce_href="http://support.microsoft.com/kb/196271"&gt;http://support.microsoft.com/kb/196271&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="TCP TIME-WAIT" href="http://www.microsoft.com/technet/network/deploy/depovg/tcpip2k.mspx" target=_blank mce_href="http://www.microsoft.com/technet/network/deploy/depovg/tcpip2k.mspx"&gt;Here&lt;/A&gt; you can read about another setting called TCP TIME-WAIT delay which is how long the port hangs around before being terminated completely (4 minutes).&amp;nbsp; This can also cause issues with apps that perform many outbound connections in a short time may use up all available ports before the ports can be recycled.&lt;/P&gt;
&lt;DIV class=wlWriterSmartContent id=0767317B-992E-4b12-91E0-4F059A8CECA8:51c494c0-f710-4fa9-99ce-461c8fd3dd15 contentEditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;Technorati tags: &lt;A href="http://technorati.com/tags/Windows%202003" rel=tag mce_href="http://technorati.com/tags/Windows%202003"&gt;Windows 2003&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Networking" rel=tag mce_href="http://technorati.com/tags/Networking"&gt;Networking&lt;/A&gt;&lt;/DIV&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1765802" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Networking/default.aspx">Networking</category></item><item><title>The case of Windows Defender not starting.</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/08/15/the-case-of-windows-defender-not-starting.aspx</link><pubDate>Wed, 15 Aug 2007 05:03:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1755488</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1755488.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1755488</wfw:commentRss><description>&lt;P&gt;Had a client whose machine would not load Windows Defender, each time it was opened it would eventually die on initialization:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application&lt;BR&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application Error&lt;BR&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8/13/2007 4:03:10 PM&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;BR&gt;Task Category: (100)&lt;BR&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;BR&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;BR&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;BR&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; server1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;Description:&lt;BR&gt;Faulting application MSASCui.exe, version 1.1.1505.0, time stamp 0x45ad8d6e, faulting module ntdll.dll, version 6.0.6000.16386, time stamp 0x4549d372, exception code 0xc0000005, fault offset 0x000000000002aa74, process id 0x1268, application start time 0x01c7dde39a6e9100.&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Since it was a problem was with initialization, the first thing I did was enable &lt;A title="Oh Snap" href="http://blogs.technet.com/brad_rutkowski/archive/2007/03/29/the-case-of-sidebar-exe-not-starting-oh-snap.aspx" target=_blank mce_href="http://blogs.technet.com/brad_rutkowski/archive/2007/03/29/the-case-of-sidebar-exe-not-starting-oh-snap.aspx"&gt;loader snaps&lt;/A&gt; and then put the executable under an &lt;A href="http://blogs.msdn.com/greggm/archive/2005/02/21/377663.aspx" target=_blank mce_href="http://blogs.msdn.com/greggm/archive/2005/02/21/377663.aspx"&gt;IFEO&lt;/A&gt;.&amp;nbsp; I didn't see anything jump out from the loader snaps, but when the system was g'd I did see these errors:&lt;FONT face="Courier New" size=2&gt;&lt;BR&gt;0:000&amp;gt; g&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;BR&gt;(1008.11b8): In-page I/O error c000009c - code c0000006 (first chance)&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This translates to &lt;A href="http://support.microsoft.com/kb/113996" target=_blank mce_href="http://support.microsoft.com/kb/113996"&gt;STATUS_DEVICE_DATA_ERROR&lt;/A&gt;&amp;nbsp; which means that the OS couldn't page in the memory due to a disk error (maps to Win32 error: ERROR_CRC). This is most likely a hardware failure. &lt;/P&gt;
&lt;P&gt;I ran chkdsk /r on the c: drive and it was unable to recover the sectors.&amp;nbsp;I ended up having to go to the&amp;nbsp;HDD maker's site and downloading there utility to scan&amp;nbsp;the hard drive and recover the sectors. &amp;nbsp;Once done Defender was happy again.&amp;nbsp; Your probably asking yourself (all three of you that read this blog) Why didn't you see the below event in the eventvwr?&amp;nbsp; I I would have looked in the System log and saw this but unfortunately that wasn't opening before I fixed the disk errors.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=cour&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;BR&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk&lt;BR&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8/13/2007 5:31:43 PM&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;BR&gt;Task Category: None&lt;BR&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;BR&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;BR&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;BR&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; server1&lt;BR&gt;Description:&lt;BR&gt;The device, \Device\Harddisk0\DR0, has a bad block.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=cour&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;If you don't have&amp;nbsp; disk errors&amp;nbsp;on the system another thing you can do is use SFC (/VERIFYFILE&amp;nbsp;) to check the integrity of the files in question if there are problems they will be dumped to the CBS.log file under c:\windows\logs\cbs.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=cour&gt;&lt;FONT face="Courier New" size=2&gt;SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=&amp;lt;file&amp;gt;] [/VERIFYFILE=&amp;lt;file&amp;gt;]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [/OFFWINDIR=&amp;lt;offline windows directory&amp;gt; /OFFBOOTDIR=&amp;lt;offline boot directory&amp;gt;] &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;/SCANNOW&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scans integrity of all protected system files and repairs files with&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; problems when possible.&lt;BR&gt;/VERIFYONLY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scans integrity of all protected system files. No repair operation is&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; performed.&lt;BR&gt;/SCANFILE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scans integrity of the referenced file, repairs file if problems are&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identified. Specify full path &amp;lt;file&amp;gt;&lt;BR&gt;/VERIFYFILE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verifies the integrity of the file with full path &amp;lt;file&amp;gt;.&amp;nbsp; No repair&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; operation is performed.&lt;BR&gt;/OFFBOOTDIR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For offline repair specify the location of the offline boot directory&lt;BR&gt;/OFFWINDIR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For offline repair specify the location of the offline windows directory&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=wlWriterSmartContent id=0767317B-992E-4b12-91E0-4F059A8CECA8:445b1394-9809-4f20-ae23-c112650e0e23 contentEditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;Technorati tags: &lt;A href="http://technorati.com/tags/debugging.vista" rel=tag mce_href="http://technorati.com/tags/debugging.vista"&gt;debugging.vista&lt;/A&gt;, &lt;A href="http://technorati.com/tags/windows%202008" rel=tag mce_href="http://technorati.com/tags/windows%202008"&gt;windows 2008&lt;/A&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1755488" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Disk+Subsytem/default.aspx">Disk Subsytem</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>How to know if TCP offload is working</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/08/10/how-to-know-if-tcp-offload-is-working.aspx</link><pubDate>Fri, 10 Aug 2007 23:10:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1733104</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>12</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1733104.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1733104</wfw:commentRss><description>&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you went out and got yourself a new server and it came with &lt;A href="http://en.wikipedia.org/wiki/TCP_Offload_Engine" target=_blank mce_href="http://en.wikipedia.org/wiki/TCP_Offload_Engine"&gt;TOE&lt;/A&gt; functionality, and now you're playing Windows 2008&amp;nbsp;which&amp;nbsp;has&amp;nbsp;TCP offload enabled but you just want to know if its actually offloading traffic.&amp;nbsp;&amp;nbsp;&amp;nbsp;Here's the only way I know of finding what traffic is offloaded without setting breakpoints in the debugger.&lt;/P&gt;
&lt;P&gt;First off to check if TCP offload is enabled:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;C:\&amp;gt;netsh int tcp show global&lt;BR&gt;Querying active state... &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;TCP Global Parameters&lt;BR&gt;----------------------------------------------&lt;BR&gt;Receive-Side Scaling State&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : enabled&lt;BR&gt;Chimney Offload State&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : enabled &amp;lt;-----&lt;BR&gt;Receive Window Auto-Tuning Level&amp;nbsp;&amp;nbsp;&amp;nbsp; : normal&lt;BR&gt;Add-On Congestion Control Provider&amp;nbsp; : ctcp&lt;BR&gt;ECN Capability&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : disabled&lt;BR&gt;RFC 1323 Timestamps&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : disabled&lt;/FONT&gt; 
&lt;P&gt;To turn it on/off (does not&amp;nbsp;require a reboot) 
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;netsh int tcp set global chimney=disabled &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;netsh int tcp set global chimney=enabled&lt;/FONT&gt; 
&lt;P&gt;So how do we see if traffic is offloaded?&amp;nbsp; You run netstat -nt, the 't' dumps their current offload state.&amp;nbsp;&amp;nbsp; I used findstr just to grab the offloaded connections. 
&lt;P&gt;&lt;FONT face=COUR&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;C:\&amp;gt;netstat -nt | findstr /i offloaded&lt;/FONT&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 110.100.44.52:445&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10.5.17.2:1369&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:445&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.56.15.14:4741&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:49157&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.198.5.2:2444&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:49157&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.100.4.219:2255&amp;nbsp;&amp;nbsp;&amp;nbsp;ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:49157&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.58.6.50:54620&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:49157&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.58.20.40:50442&amp;nbsp;&amp;nbsp;&amp;nbsp;ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:49157&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.58.25.15:1191&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:49157&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.148.8.6:58308&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;BR&gt;&amp;nbsp; TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.100.44.52:49449&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.10.3.2:1025&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offloaded&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;&lt;U&gt;UPDATE:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Windows 2003 its a bit different:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;SPAN class=userInput&gt;Netsh int ip set chimney DISABLED&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;SPAN class=userInput&gt;&lt;SPAN class=userInput&gt;Netsh int ip set chimney ENABLED&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Want to know more about Scalable Networking?&lt;/P&gt;
&lt;P&gt;&lt;A title=http://technet.microsoft.com/en-us/network/bb545631.aspx href="http://technet.microsoft.com/en-us/network/bb545631.aspx" mce_href="http://technet.microsoft.com/en-us/network/bb545631.aspx"&gt;http://technet.microsoft.com/en-us/network/bb545631.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1733104" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Networking/default.aspx">Networking</category></item><item><title>Are there pending operations waiting for a reboot?</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/06/27/are-there-pending-operations-waiting-for-a-reboot.aspx</link><pubDate>Wed, 27 Jun 2007 19:21:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1377409</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1377409.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1377409</wfw:commentRss><description>&lt;p&gt;Sometimes you might log onto a server and wonder if there have been patches installed and thing needs to be rebooted.&amp;nbsp; Well if the patch wanted to replace a file that was in use by the system (like NTFS for example) then it populates a certain key in the registry, you could check this key to determine if a reboot is pending.&lt;/p&gt; &lt;p&gt;Value: &lt;a title="PendingFileRenameOperations" href="http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/58499.mspx?mfr=true" target="_blank"&gt;PendingFileRenameOperations&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Location: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager  &lt;p&gt;&lt;b&gt;Description:&lt;/b&gt; &lt;p&gt;Stores the names of files to be renamed when the system restarts. &lt;p&gt;This entry consists of pairs of file names. The file specified in the first item of the pair is renamed to match the second item of the pair. The system adds this entry to the registry when a user or program tries to rename a file that is in use. The file names are stored in the value of this entry until the system is restarted and they are renamed. &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;em&gt;Server that doesn't need to be rebooted for pending files:&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\&amp;gt;reg query "\\server1\hklm\System\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;ERROR: The system was unable to find the specified registry key or value.&lt;/font&gt; &lt;p&gt;&lt;em&gt;Server that does need to be rebooted for pending files:&lt;/em&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\&amp;gt;reg query "\\server2\hklm\System\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PendingFileRenameOperations&amp;nbsp;&amp;nbsp;&amp;nbsp; REG_MULTI_SZ&amp;nbsp;&amp;nbsp;&amp;nbsp; \??\C:\WINDOWS\system32\SET2B5.tmp\0!\??\C:\WINDOWS\system32\schannel.dll\0\??\C:\WINDOWS\system32\_000025_.tmp.dll\0\??\C:\WINDOWS\system32\SET2B9.tmp\0!\??\C:\WINDOWS\system32\urlmon.dll\0\??\C:\WINDOWS\system32\SET2BA.tmp\0!\??\C:\WINDOWS\system32\shdocvw.dll\0\??\C:\WINDOWS\system32\SET2CA.tmp\0!\??\C:\WINDOWS\system32\kernel32.dll&lt;/font&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:d7dc316c-2d6d-4644-8655-9e28e1eed88f" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/windows%202003" rel="tag"&gt;windows 2003&lt;/a&gt;, &lt;a href="http://technorati.com/tags/vista" rel="tag"&gt;vista&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1377409" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Ghetto+scripting/default.aspx">Ghetto scripting</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Vista+and+Lognhorn/default.aspx">Vista and Lognhorn</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category></item><item><title>Great tool for Windows 2003: Server Performance Advisor (SPA)</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/06/26/great-tool-for-windows-2003-server-performance-advisor-spa.aspx</link><pubDate>Tue, 26 Jun 2007 18:47:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1368601</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>22</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1368601.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1368601</wfw:commentRss><description>&lt;p&gt;First off you can download SPA 2.0&amp;nbsp;&lt;a title="SPA baby!" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=09115420-8c9d-46b9-a9a5-9bffcd237da2&amp;amp;DisplayLang=en" target="_blank"&gt;here&lt;/a&gt;.&amp;nbsp; I'm going to explain how to quickly use SPA, and then what type of data is returned in this post.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;What is SPA?&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;So what is SPA and how can you use it?&amp;nbsp; Well the official overview is: &lt;/p&gt; &lt;p&gt;&lt;em&gt;Microsoft ® Windows Server ™ 2003 Performance Advisor is the latest version of Server Performance Advisor, which is a simple but robust tool that helps you diagnose the root causes of performance problems in a Microsoft Windows Server 2003 deployment. Server Performance Advisor collects performance data and generates comprehensive diagnostic reports that give you the data to easily analyze problems and develop corrective actions&lt;br&gt;Microsoft ® Windows Server ™ 2003 Performance Advisor provides several specialized reports, including a System Overview (focusing on CPU usage, Memory usage, busy files, busy TCP clients, top CPU consumers) and reports for server roles such as Active Directory, Internet Information System (IIS), DNS, Terminal Services, SQL, print spooler, and others.&lt;/em&gt;  &lt;p&gt;Really I think of it as network monitor and performance monitor wrapped into one package so that you can correlate which clients might be causing load on your system.  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Some nifty things about SPA:&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;1) It's XML based so the reports that are collected get organized "automagically" by date and server so you can drill down on a particular server.&amp;nbsp;&amp;nbsp; You could have a thousand reports on your reporting server and its quite easy to navigate via IE to the server and date that you are looking for. &lt;p&gt;2) You can setup SPA on your servers in "Data" mode and then setup a member server as a SPA "reporting" server, then you can schedule your servers to collect at a certain time and send that data to the reporting server.&amp;nbsp; You can also have SPA (with version 2.0) take the data from those servers and put it in a SQL database for trending purposes.&amp;nbsp; This is what we do internally, we setup the jobs to run at 10 and 2 to get peak utilization trending on our domain controllers.&amp;nbsp; There is a chm file with SPA with more details on this.  &lt;p&gt;3) Doesn't require a reboot to install.  &lt;p&gt;4) Was deemed so awesome it is built right into Vista and Windows Server 2008 (Data Collection Sets)  &lt;p&gt;&amp;nbsp; &lt;p&gt;I'm not going to dabble into the trending and reporting server side of SPA as that would require a lot more typing but like I said if you install SPA, you can read the chm about scheduling tasks and trending.&amp;nbsp; I just wanted to point it out because some people might not have a monitoring solution where you can do some rudimentary trending and this could be a free solution.  &lt;p&gt;&amp;nbsp;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;The install&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;Double click MSI, leave defaults.  &lt;p&gt;&lt;strong&gt;&lt;u&gt;How and when to use&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;We're going to be focusing on how to use SPA to troubleshoot, lets look at an example of that.&amp;nbsp; SPA is useful at narrowing down resource issues on a system with regards to processor, memory, network, and disk.  &lt;p&gt;Last week we had a WINS server that was throwing database errors and so our team was engaged.&amp;nbsp; I installed SPA using the steps above,I then could have used the GUI to launch SPA and start a collection (default 300 seconds), but this is the faster way (the way I use). &lt;p&gt;1) Navigate to the SPA directory, if you installed on an x64 system it will be under "Program Files (x86)", otherwise just "Program Files\Server Performance Advisor"  &lt;p&gt;2) Since I want just a system overview report I ran &lt;em&gt;spacmd start "system overview"&lt;/em&gt;  &lt;blockquote&gt; &lt;p&gt;a) At this point the collection starts and you should see some processes labeled plahost running in task manager.&amp;nbsp; You can let this run for 300 seconds but in my case I just needed a quick 30 second snapshot since the repro was constantly happening.&lt;/p&gt; &lt;p&gt;b) If you installed this on a domain controller you could do &lt;em&gt;spacmd start "active directory"&lt;/em&gt; or &lt;em&gt;spacmd start &lt;/em&gt;* which would start all the templates you have installed.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;3) Now stop the collection: &lt;em&gt;spacmd stop "system overview"&lt;/em&gt;  &lt;blockquote&gt; &lt;p&gt;a) At this point as long as you left the defaults during install you should see a new folder under c:\perflogs with the server name and a few files underneath that.  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\PerfLogs\Data\System Overview\Current\BRAD-SERVER_200706211545&amp;gt;dir&lt;br&gt;&amp;nbsp;Volume in drive C is C_Drive&lt;br&gt;&amp;nbsp;Volume Serial Number is 70C4-9FFD &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Directory of C:\PerfLogs\Data\System Overview\Current\BRAD-SERVER_200706211545 &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,673 global_reg.xml &lt;font color="#ff0000"&gt;//Some registry settings are checked by SPA there saved here&lt;/font&gt;&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,441,792 system_kernel.etl&amp;nbsp; &lt;font color="#ff0000"&gt;//A trace file that SPA analyzes during the capture.&lt;/font&gt;&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,638,400 system_perf.blg&amp;nbsp; &lt;font color="#ff0000"&gt;//Perfmon binary log file that SPA analyzes from the capture.&lt;/font&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 File(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,081,865 bytes&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 Dir(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 960,020,480 bytes free&lt;/font&gt; &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;4) Now we need to compile the data we captured into a report: &lt;em&gt;spacmd compile "system overview"&lt;/em&gt;  &lt;blockquote&gt; &lt;p&gt;a) Once this is complete, you should see the report in the reports directory.&amp;nbsp; If using the GUI then the report will show up under reports under System Overview.  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\PerfLogs\report\System Overview\Current\BRAD-SERVER_200706211545&amp;gt;dir&lt;br&gt;&amp;nbsp;Volume in drive C is C_Drive&lt;br&gt;&amp;nbsp;Volume Serial Number is 70C4-9FFD &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Directory of C:\PerfLogs\report\System Overview\Current\BRAD-SERVER_200706211545&lt;/font&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&lt;br&gt;06/22/2007&amp;nbsp; 09:24 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,721 global_reg.xml&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,365 obelisk.ip&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 608,594 report.xml &lt;font color="#ff0000"&gt;//&lt;em&gt;Double click this one.&lt;/em&gt;&lt;/font&gt;&lt;br&gt;06/22/2007&amp;nbsp; 09:34 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 62,417 report.xsl&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 656 summary.xml&lt;br&gt;06/22/2007&amp;nbsp; 09:24 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,881,280 system_kernel.etl&lt;br&gt;06/22/2007&amp;nbsp; 09:24 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,094,848 system_perf.blg&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7 File(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13,651,881 bytes&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 Dir(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 963,108,864 bytes free&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Analyzing the report&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;So now that we have the report we can open it up and start looking at it, just double click report.xml and IE should open.&amp;nbsp; You'll want to allow scripts and ActiveX so that you can adjust the data in the xml doc as it is dynamic.&amp;nbsp; For example, if you look in the second JPG below on the top right its says "3 of 15" if you wanted to see the top 15 of 15 you could just click the 3 and type in 15, and the report would change. &lt;p&gt;&amp;nbsp; &lt;p&gt;The first part of the report is a summary, and links to other sections pertaining to CPU, Network, Disk, and Memory.&amp;nbsp; Below that is any performance advisories that SPA flagged for you and then how each of the components were doing.&amp;nbsp; In the first JPG below, on the right there is a little help icon, if you click the icon it will open a chm file with further steps you can take to narrow down the issue.&amp;nbsp;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/SPA_1.jpg"&gt;  &lt;p&gt;I can't go through each area of concern but you get the idea.&amp;nbsp; As I was going through the network section I noticed this:&lt;/p&gt; &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/SPA_2.jpg"&gt; &lt;/p&gt; &lt;p&gt;This seemed odd so I filtered my network monitor capture that I took during the same time period for vm-lab-machine and it came back with a ton&amp;nbsp;of 1F registrations and releases for the 1F record for that server like so:  &lt;p&gt;&lt;font face="Courier New" size="1"&gt;13861&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13863&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13864&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13865&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13866&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13867&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13868&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13869&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13870&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13871&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13872&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13873&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13874&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13875&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13876&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13877&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13878&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13879&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13880&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13881&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13882&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13883&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13884&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13885&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13886&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13887&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13888&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;/font&gt;&lt;/p&gt; &lt;p&gt;I then popped the query &lt;a title="Yeah Live.com!" href="http://search.live.com/results.aspx?q=1F+WINS+server&amp;amp;mkt=en-us&amp;amp;FORM=LIVSOP" target="_blank"&gt;1F Wins Server&lt;/a&gt; into live.com and the first hit was the issue.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;SPA roles:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;There is more than just the "system overview" template, there are templates for AD, print servers, terminal servers, etc.&amp;nbsp; Each one of these templates focuses on that role and collects different counters depending on the role.&amp;nbsp; For example, on a DC SPA will capture the DS perfmon counters and then analyze the output from those counter and flag issues it finds for follow-up.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Conclusion:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Using SPA I was able to easily find the network client causing the issue on our WINS server and then correlate that with the network capture.&amp;nbsp; This is only one example of where SPA has really assisted in narrowing down the issue for me.&amp;nbsp; One caveat, SPA is CPU intensive when it compiles the report, so if the system is already pegged at 100% its best to compile the report off the the system in question.&lt;/p&gt; &lt;p&gt;If you run into any issues with SPA (only supported on Win2k3), send me an e-mail or drop a comment and I'll try to help you out.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:495e2242-90f2-4d1b-ac6c-a960d4af8e97" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;, &lt;a href="http://technorati.com/tags/SPA" rel="tag"&gt;SPA&lt;/a&gt;&lt;/div&gt;&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:0c88e87b-4d07-4aa9-9215-914347f32810" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;IceRocket tags: &lt;a href="http://blogs.icerocket.com/search?q=Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;, &lt;a href="http://blogs.icerocket.com/search?q=SPA" rel="tag"&gt;SPA&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1368601" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item><item><title>People squatting on your TS sessions?</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/05/15/people-squatting-on-your-ts-sessions.aspx</link><pubDate>Tue, 15 May 2007 02:29:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:964585</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/964585.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=964585</wfw:commentRss><description>&lt;p&gt;Something that administrators deal with quite a bit is trying to connect to a machine using remote desktop (mstsc) and getting our favorite message:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/terminal.jpg"&gt; &lt;/p&gt; &lt;p&gt;Boy this messagewill get you angry, damn squatters.&amp;nbsp; pre-Vista/LH you could always give the &lt;a title="Connects to the console session of the specified Windows Server 2003 family operating system." href="http://technet2.microsoft.com/windowsserver/en/library/f47ce263-f72e-469d-bf14-6605b7f4cce51033.mspx?mfr=true" target="_blank"&gt;/console&lt;/a&gt; switch a go and see if the console session is available:&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;mstsc /console /v:&amp;lt;server&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Even if the console session is being used you can still kick the person off if you feel like it.&lt;/p&gt; &lt;p&gt;The other option is to query who is connected and (if you have the rights and don't care whats going on in their session) boot off whomever you don't want connected to free yourself a slot:&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;query session /SERVER:&amp;lt;server&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;reset session /Server:&amp;lt;server&amp;gt; &amp;lt;id&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;And in real practice, goodbye squatter2.&lt;/p&gt; &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/squatter.jpg"&gt; &lt;/p&gt; &lt;p&gt;The query.exe and reset.exe commands live in System32 so they should come with the OS.&amp;nbsp; Links to the syntax of those commands below.&lt;/p&gt; &lt;p&gt;&lt;a title="Query Session syntax" href="http://technet2.microsoft.com/WindowsVista/en/library/abc0ace8-0b74-4b6e-a937-a78bb4b61a1f1033.mspx?mfr=true" target="_blank"&gt;query session&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a title="Reset Session syntax" href="http://technet2.microsoft.com/WindowsVista/en/library/13fe9c0f-2387-4725-a1e6-65935ffb3af21033.mspx?mfr=true" target="_blank"&gt;reset session&lt;/a&gt;&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:957dd5d7-4071-4f75-a3bd-3b5ea72fbafc" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/windows%202003" rel="tag"&gt;windows 2003&lt;/a&gt;, &lt;a href="http://technorati.com/tags/terminal%20services" rel="tag"&gt;terminal services&lt;/a&gt;, &lt;a href="http://technorati.com/tags/mstsc" rel="tag"&gt;mstsc&lt;/a&gt;, &lt;a href="http://technorati.com/tags/vista" rel="tag"&gt;vista&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=964585" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Vista+and+Lognhorn/default.aspx">Vista and Lognhorn</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category></item><item><title>How to easily calculate your system availability (uptime).</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/04/24/how-to-easily-calculate-your-system-availability-uptime.aspx</link><pubDate>Tue, 24 Apr 2007 20:39:17 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:816170</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/816170.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=816170</wfw:commentRss><description>&lt;p&gt;&lt;img src="https://www.microsoft.com/library/media/1033/technet/images/34x34/44937_34x34_download_f.jpg"&gt; We all have managers and ALL managers love that little word called metrics, and ALL managers like to know that their service has 99.99% uptime.&amp;nbsp; So how can you easily get this information off a Windows server?&amp;nbsp; Well there is a simple tool out there called &lt;a title="Uptime.exe download" href="http://support.microsoft.com/kb/232243" target="_blank"&gt;uptime.exe&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;To get the uptime of&amp;nbsp;a server use: Uptime.exe /s &amp;lt;servername&amp;gt;.&amp;nbsp; If the system log has "wrapped" then your not going to get the events you need to get a good uptime report from the beginning.&amp;nbsp; Uptime will show you each reboot and then at the bottom report give you valuable data that you can then put in a nice spreadsheet and send up to management.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Perhaps I should start a new section called metrics, because there are quite a few other easy things you can do to get relevant information to managers...&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\localbin&amp;gt;uptime /s brad-dc-02&lt;br&gt;Uptime Report for: &lt;/font&gt;&lt;a href="$brad-dc-02"&gt;&lt;font face="Courier New" size="2"&gt;\\brad-dc-02&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New" size="2"&gt; &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current OS: Microsoft Windows Server 2003, Service Pack 1, Multiprocessor Free.&lt;br&gt;Time Zone: Pacific Daylight Time &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Events as of 4/24/2007 10:27:16 AM: &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Date: Time: Event: Comment:&lt;br&gt;---------- ----------- ------------------- -----------------------------------&lt;br&gt;2/5/2007 1:50:11 PM Boot Prior downtime:0d 0h:1m:54s&lt;br&gt;2/5/2007 2:01:34 PM Shutdown Prior uptime:0d 0h:11m:23s&lt;br&gt;2/5/2007 2:03:30 PM Boot Prior downtime:0d 0h:1m:56s&lt;br&gt;2/5/2007 2:11:31 PM Abnormal Shutdown Prior uptime:0d 0h:8m:1s&lt;br&gt;2/5/2007 2:15:30 PM Boot Prior downtime:0d 0h:3m:59s&lt;br&gt;2/5/2007 2:15:31 PM Bluescreen STOP 0x0000000a&lt;br&gt;2/6/2007 12:22:12 PM Shutdown Prior uptime:0d 22h:6m:42s&lt;br&gt;2/6/2007 12:23:57 PM Boot Prior downtime:0d 0h:1m:45s&lt;br&gt;2/12/2007 1:08:06 PM Shutdown Prior uptime:6d 0h:44m:9s&lt;br&gt;2/12/2007 1:09:54 PM Boot Prior downtime:0d 0h:1m:48s&lt;br&gt;2/12/2007 1:54:09 PM Shutdown Prior uptime:0d 0h:44m:15s&lt;br&gt;2/12/2007 1:55:57 PM Boot Prior downtime:0d 0h:1m:48s&lt;br&gt;2/12/2007 2:15:49 PM Service Pack Service Pack 3 removed&lt;br&gt;2/12/2007 2:16:21 PM Shutdown Prior uptime:0d 0h:20m:24s&lt;br&gt;2/12/2007 2:18:05 PM Boot Prior downtime:0d 0h:1m:44s&lt;br&gt;2/12/2007 2:31:20 PM Shutdown Prior uptime:0d 0h:13m:15s&lt;br&gt;2/12/2007 2:33:06 PM Boot Prior downtime:0d 0h:1m:46s&lt;br&gt;2/12/2007 2:45:34 PM Service Pack Service Pack 3 removed&lt;br&gt;2/12/2007 2:48:06 PM Shutdown Prior uptime:0d 0h:15m:0s&lt;br&gt;2/12/2007 2:50:29 PM Boot Prior downtime:0d 0h:2m:23s&lt;br&gt;2/24/2007 12:09:42 AM Shutdown Prior uptime:11d 9h:19m:13s&lt;br&gt;2/24/2007 12:12:13 AM Boot Prior downtime:0d 0h:2m:31s&lt;br&gt;3/27/2007 12:26:16 PM Shutdown Prior uptime:31d 11h:14m:3s&lt;br&gt;3/27/2007 12:27:57 PM Boot Prior downtime:0d 0h:1m:41s&lt;br&gt;4/7/2007 12:04:53 AM Shutdown Prior uptime:10d 11h:36m:56s&lt;br&gt;4/7/2007 12:07:20 AM Boot Prior downtime:0d 0h:2m:27s&lt;br&gt;4/20/2007 9:45:10 PM Shutdown Prior uptime:13d 21h:37m:50s&lt;br&gt;4/20/2007 9:47:11 PM Boot Prior downtime:0d 0h:2m:1s &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current System Uptime: 3 day(s), 12 hour(s), 40 minute(s), 38 second(s) &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;-------------------------------------------------------------------------------- &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Since 11/3/2005: &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Availability: 99.9860%&lt;br&gt;Total Uptime: 460d 5h:51m:10s&lt;br&gt;Total Downtime: 0d 1h:48m:13s&lt;br&gt;Total Reboots: 31&lt;br&gt;Mean Time Between Reboots: 17.31 days&lt;br&gt;Total Bluescreens: 1&lt;/font&gt;  &lt;p&gt;&amp;nbsp;If you only want to see the uptime for the last 30 days then you can use the p: switch, there are other switches too.&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\localbin&amp;gt;uptime /s&amp;nbsp;brad-dc-01 /p:30&lt;br&gt;Uptime Report for: &lt;/font&gt;&lt;a href="$brad-dc-01"&gt;&lt;font face="Courier New" size="2"&gt;\\brad-dc-01&lt;/font&gt;&lt;/a&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current OS: Microsoft Windows Server 2003, Service Pack 1, Multiprocessor Free.&lt;br&gt;Time Zone: Pacific Daylight Time &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Events as of 4/24/2007 10:28:53 AM: &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Date: Time: Event: Comment:&lt;br&gt;---------- ----------- ------------------- -----------------------------------&lt;br&gt;3/27/2007 12:26:16 PM Shutdown Prior uptime:31d 11h:14m:3s&lt;br&gt;3/27/2007 12:27:57 PM Boot Prior downtime:0d 0h:1m:41s&lt;br&gt;4/7/2007 12:04:53 AM Shutdown Prior uptime:10d 11h:36m:56s&lt;br&gt;4/7/2007 12:07:20 AM Boot Prior downtime:0d 0h:2m:27s&lt;br&gt;4/20/2007 9:45:10 PM Shutdown Prior uptime:13d 21h:37m:50s&lt;br&gt;4/20/2007 9:47:11 PM Boot Prior downtime:0d 0h:2m:1s &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current System Uptime: 3 day(s), 12 hour(s), 42 minute(s), 14 second(s) &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;-------------------------------------------------------------------------------- &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Since 3/25/2007: (Last 30 Days) &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Availability: 99.9860%&lt;br&gt;Total Uptime: 30d 10h:22m:44s&lt;br&gt;Total Downtime: 0d 0h:6m:9s&lt;br&gt;Total Reboots: 3&lt;br&gt;Mean Time Between Reboots: 10.15 days&lt;br&gt;Total Bluescreens: 0&lt;br&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&lt;/p&gt; &lt;div class="wlWriterEditableSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:174e1707-d8fe-4950-b0f6-c4c72c0ca923" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/Windows" rel="tag"&gt;Windows&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Vista" rel="tag"&gt;Vista&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;&lt;/div&gt;&lt;/font&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div class="wlWriterEditableSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:f94e8ddd-fd8b-4f6f-b067-6423475f68ca" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;del.icio.us tags: &lt;a href="http://del.icio.us/popular/Windows" rel="tag"&gt;Windows&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Vista" rel="tag"&gt;Vista&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=816170" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Vista+and+Lognhorn/default.aspx">Vista and Lognhorn</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item></channel></rss>