<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Random Musings of Jeremy Jameson : Windows Vista</title><link>http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx</link><description>Tags: Windows Vista</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Update on Patching and Disk Space Usage</title><link>http://blogs.msdn.com/jjameson/archive/2009/06/03/update-on-patching-and-disk-space-usage.aspx</link><pubDate>Wed, 03 Jun 2009 17:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9691343</guid><dc:creator>Jeremy Jameson</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jjameson/comments/9691343.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jjameson/commentrss.aspx?PostID=9691343</wfw:commentRss><description>&lt;P&gt;About a year ago, I wrote a post about &lt;A href="http://blogs.msdn.com/jjameson/archive/2007/06/23/save-huge-amounts-of-disk-space-by-slipstreaming-service-packs.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2007/06/23/save-huge-amounts-of-disk-space-by-slipstreaming-service-packs.aspx"&gt;saving huge amounts of disk space by slipstreaming service packs&lt;/A&gt;. Having just been through an &lt;A href="http://blogs.msdn.com/jjameson/archive/2009/06/01/errors-installing-windows-server-2008-sp2.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2009/06/01/errors-installing-windows-server-2008-sp2.aspx"&gt;ordeal&lt;/A&gt; installing Windows Server 2008 SP2, I thought it would be worthwhile to provide an update (since that original post refers to disk space usage with Windows Server 2003).&lt;/P&gt;
&lt;P&gt;Note that since my original post, I have switched from using Virtual Server in favor of Hyper-V. Among other things, this allows me to run x64 virtual machines (VMs). Many months ago, I consolidated numerous physical machines onto a couple of "Server Core" machines running Hyper-V. In that time, I've also switched to running Windows Vista x64 on my primary desktop and Windows Server 2008 x64 on my laptop.&lt;/P&gt;
&lt;P&gt;One of the things that I've noticed is that x64 versions of the operating system tend to use more disk space than their corresponding x86 equivalents. In particular, the "side-by-side" folder (WinSxS) is typically significantly larger on x64 installations. The storage differences are negligible on my physical machines, but on VMs I make a deliberate effort to "clamp down" the size of the VHDs. This can save me considerable time when copying VHDs from one server to another or from an internal hard drive to an external hard drive whenever I need to take one or more of them "on the road" with me.&lt;/P&gt;
&lt;P&gt;Minimizing VHD sizes also allows me to cram more VMs onto my 100 GB external drive [I know, these days this isn't very big from a capacity perspective, but at least it's 7200 RPM (a &lt;A href="http://blogs.msdn.com/jjameson/archive/2007/06/24/performance-of-virtual-machines.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2007/06/24/performance-of-virtual-machines.aspx"&gt;must&lt;/A&gt; for running VMs) and it isn't nearly as bulky as my larger drive enclosure. It also doesn't require a separate power supply either.]&lt;/P&gt;
&lt;P&gt;Here is a baseline of the disk space usage on a Windows Server 2008 Standard x64 VM:&lt;/P&gt;
&lt;DIV class=image&gt;&lt;IMG title="" alt="" src="http://blogs.msdn.com/photos/jjameson/images/9691084/500x357.aspx" width=500 height=357 mce_src="http://blogs.msdn.com/photos/jjameson/images/9691084/500x357.aspx"&gt; 
&lt;DIV class=caption&gt;Figure 1: Disk usage on Windows Server 2008 Standard x64 VM (baseline)&lt;/DIV&gt;
&lt;DIV class=imageLink&gt;&lt;A href="http://blogs.msdn.com/photos/jjameson/images/9691084/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/jjameson/images/9691084/original.aspx"&gt;See full-sized image.&lt;/A&gt; &lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Notice that the total disk usage is about 7.5 GB and the Windows folder consumes a little over 7 GB. Also note that Windows Server 2008 included SP1 (i.e. Microsoft slipstreamed it into the initial installation in order to simplify the servicing model for both Windows Server 2008 and Windows Vista).&lt;/P&gt;
&lt;P&gt;I then immediately installed Windows Server 2008 SP2 and captured the following:&lt;/P&gt;
&lt;DIV class=image&gt;&lt;IMG title="" alt="" src="http://blogs.msdn.com/photos/jjameson/images/9691093/500x360.aspx" width=500 height=360 mce_src="http://blogs.msdn.com/photos/jjameson/images/9691093/500x360.aspx"&gt; 
&lt;DIV class=caption&gt;Figure 2: Disk usage on Windows Server 2008 x64 VM (after installing SP2)&lt;/DIV&gt;
&lt;DIV class=imageLink&gt;&lt;A href="http://blogs.msdn.com/photos/jjameson/images/9691093/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/jjameson/images/9691093/original.aspx"&gt;See full-sized image.&lt;/A&gt; &lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Observe that the Windows folder now consumes a little over 10 GB of storage. Ouch...3 GB for a service pack. That seems a little, um, &lt;EM&gt;irritating&lt;/EM&gt; -- for VMs, anyway. Obviously for physical machines with 100+ GB hard drives, the additional space is trivial.&lt;/P&gt;
&lt;P&gt;I then ran the Windows Component Clean tool (COMPCLN.exe) as described in my &lt;A href="http://blogs.msdn.com/jjameson/archive/2009/06/02/reclaiming-disk-space-after-installing-service-pack-2.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2009/06/02/reclaiming-disk-space-after-installing-service-pack-2.aspx"&gt;previous post&lt;/A&gt;, which reclaimed approximately 900 MB of space.&lt;/P&gt;
&lt;DIV class=image&gt;&lt;IMG title="" alt="" src="http://blogs.msdn.com/photos/jjameson/images/9691098/500x360.aspx" width=500 height=360 mce_src="http://blogs.msdn.com/photos/jjameson/images/9691098/500x360.aspx"&gt; 
&lt;DIV class=caption&gt;Figure 3: Disk usage on Windows Server 2008 x64 VM (after installing SP2 and running COMPCLN.exe)&lt;/DIV&gt;
&lt;DIV class=imageLink&gt;&lt;A href="http://blogs.msdn.com/photos/jjameson/images/9691098/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/jjameson/images/9691098/original.aspx"&gt;See full-sized image.&lt;/A&gt; &lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Notice that the Windows folder now consumes about 8.5 GB of space (but the overall free space on the 20 GB VHD increased from roughly 9.7 GB to 10.6 GB). In other words, SP2 adds roughly 3 GB, but COMPCLN.exe trims this to a little over 2 GB.&lt;/P&gt;
&lt;P&gt;Lastly, I want to point out the current disk space usage on COLOSSUS -- an x64 VM that I run WSUS (Windows Server Update Services) for managing patches and updates on the various machines in the &lt;A href="http://blogs.msdn.com/jjameson/archive/2009/09/14/the-jameson-datacenter.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2009/09/14/the-jameson-datacenter.aspx"&gt;"Jameson Datacenter."&lt;/A&gt; Note that this server only has WSUS (which requires IIS and SQL Server) but nothing else. Consequently, after installing Windows Server 2008 SP2 and running COMPCLN.exe, I was hoping it would have comparable disk space usage to that shown in Figure 3 (after deducting the space used by the WSUS database, of course).&lt;/P&gt;
&lt;P&gt;Unfortunately, it isn't even close, as shown in the following figure.&lt;/P&gt;
&lt;DIV class=image&gt;&lt;IMG title="" alt="" src="http://blogs.msdn.com/photos/jjameson/images/9691250/495x375.aspx" width=495 height=375 mce_src="http://blogs.msdn.com/photos/jjameson/images/9691250/495x375.aspx"&gt; 
&lt;DIV class=caption&gt;Figure 4: Disk usage on a patched WSUS server (after installing SP2)&lt;/DIV&gt;
&lt;DIV class=imageLink&gt;&lt;A href="http://blogs.msdn.com/photos/jjameson/images/9691250/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/jjameson/images/9691250/original.aspx"&gt;See full-sized image.&lt;/A&gt; &lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Notice that the Windows folder on COLOSSUS consumes almost 16.5 GB of space, of which roughly 10.5 GB is used by the WinSxS folder.&lt;/P&gt;
&lt;P&gt;The lesson here is that you should expect some "bloat" in the Windows folder over time (largely due to the WinSxS folder), and while the Windows Component Clean tool (COMPCLN.exe) undeniably reclaims &lt;EM&gt;some&lt;/EM&gt; hard drive space after installing SP2, it's definitely not the same as starting with a "fresh" SP2 install.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9691343" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Infrastructure/default.aspx">Infrastructure</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Virtualization/default.aspx">Virtualization</category></item><item><title>Reclaiming Disk Space After Installing Service Pack 2</title><link>http://blogs.msdn.com/jjameson/archive/2009/06/02/reclaiming-disk-space-after-installing-service-pack-2.aspx</link><pubDate>Tue, 02 Jun 2009 16:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9685402</guid><dc:creator>Jeremy Jameson</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jjameson/comments/9685402.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jjameson/commentrss.aspx?PostID=9685402</wfw:commentRss><description>&lt;P&gt;In yesterday's &lt;A href="http://blogs.msdn.com/jjameson/archive/2009/06/01/errors-installing-windows-server-2008-sp2.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2009/06/01/errors-installing-windows-server-2008-sp2.aspx"&gt;post&lt;/A&gt;, I noted the errors I encountered when trying to install Windows Server 2008 Service Pack 2 (SP2) due to "insufficient" disk space. I ended up having to expand numerous VHDs (one for each of my VMs running Windows Server 2008 x64) in order to have roughly 5 GB of free space to allow SP2 to install.&lt;/P&gt;
&lt;P&gt;Note that SP2 certainly didn't use the 5 GB of free space, but apparently it insists on having that much for some "factor of safety" during the install.&lt;/P&gt;
&lt;P&gt;Note that SP2 for Windows Server 2008 and Windows Vista include a new tool which helps recover hard disk space: the Windows Component Clean Tool (COMPCLN.exe). According to the &lt;A href="http://technet.microsoft.com/en-us/library/dd351467(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/dd351467(WS.10).aspx"&gt;Windows Server 2008 SP2 Deployment Guide&lt;/A&gt; this tool permanently removes the files that are archived after Windows Vista SP2 or Windows Server 2008 SP2 is applied. It also removes the files that were archived after Windows Vista SP1 was applied, if they are found on the system.&lt;/P&gt;
&lt;P&gt;The deployment guide also states that "running this tool is optional" -- however I, personally, highly recommend it. Of course, you have to weigh this decision with the probability that you will need to uninstall SP2 -- which, in my case, is essentially "zilch."&lt;/P&gt;
&lt;P&gt;On my x64 VMs, running COMPCLN.exe freed up roughly 800 MB of disk space. This might not seem like a lot -- given that many hard drives these days exceed 1 TB -- but it is very significant on VHDs that you are trying to keep as "lean" as possible.&lt;/P&gt;
&lt;P&gt;Note that I'm still a little disappointed in the disk space requirements for SP2. Up until yesterday I had been running each of my&amp;nbsp;domain controller VMs on 16 GB VHDs, and many of my other VMs on 20-22 GB VHDs. Note that on some of those VMs, disk space was certainly getting tight -- due to all of the patches that have been installed since I originally built them -- but they were functioning just fine until Windows Server 2008 SP2 came along. Although I have to say that on a 20 GB VHD, a WinSxS folder consuming 8-10 GB seems a little ridiculous.&lt;/P&gt;
&lt;P&gt;I ended up having to expand the system VHD for my MOSS 2007 development VM to 25 GB -- which I really didn't want to do -- since it essentially gives the SharePoint Unified Logging System another 5 GB of free space to fill with &lt;A href="http://blogs.msdn.com/jjameson/archive/2009/03/26/sharepoint-uls-logs-flooded-with-preserving-template-record-with-size.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2009/03/26/sharepoint-uls-logs-flooded-with-preserving-template-record-with-size.aspx"&gt;useless log messages&lt;/A&gt;. [That is, of course, until I get the April 2009 Cumulative Update installed -- which supposedly fixes this issue.]&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9685402" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Infrastructure/default.aspx">Infrastructure</category></item><item><title>Errors Installing Windows Server 2008 SP2</title><link>http://blogs.msdn.com/jjameson/archive/2009/06/01/errors-installing-windows-server-2008-sp2.aspx</link><pubDate>Mon, 01 Jun 2009 17:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9678127</guid><dc:creator>Jeremy Jameson</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/jjameson/comments/9678127.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jjameson/commentrss.aspx?PostID=9678127</wfw:commentRss><description>&lt;P&gt;Last week I approved Windows Server 2008 Service Pack 2 (SP2) and Windows Vista SP2 on my local WSUS (Windows Server Update Services) server. My expectation was that the various physical and virtual machines in the &lt;A href="http://blogs.msdn.com/jjameson/archive/2009/09/14/the-jameson-datacenter.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2009/09/14/the-jameson-datacenter.aspx"&gt;"Jameson Datacenter"&lt;/A&gt; would subsequently install the update around 3:00 AM the following morning.&lt;/P&gt;
&lt;P&gt;Unfortunately when I examined the WSUS console this morning, I found a number of computers reporting errors. After selecting one of the failed computers, I discovered the following:&lt;/P&gt;
&lt;BLOCKQUOTE class=directQuote&gt;
&lt;P&gt;Windows Server 2008 Service Pack 2 Standalone x64-based Systems (KB948465) - English, French, German, Japanese, Spanish&lt;/P&gt;
&lt;P&gt;Event reported at 6/1/2009 3:02 AM:&lt;/P&gt;
&lt;P&gt;Installation Failure: Windows failed to install the following update with error 0x80070643: Windows Server 2008 Service Pack 2 Standalone x64-based Systems (KB948465) - English, French, German, Japanese, Spanish.&lt;BR&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;A quick search for 0x80070643 led to the following KB article:&lt;/P&gt;
&lt;DIV class=reference&gt;&lt;CITE&gt;You receive error code 0x80070643 or error code 0x643 when you use the Windows Update or Microsoft Update Web sites to install updates&lt;/CITE&gt; 
&lt;DIV class=referenceLink&gt;&lt;A href="http://support.microsoft.com/kb/958052" mce_href="http://support.microsoft.com/kb/958052"&gt;http://support.microsoft.com/kb/958052&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Unfortunately, this error code indicates "generic errors that basically state that an error was encountered by Windows Installer." Rather than immediately following the steps in the KB article to enable logging and try to reproduce the problem, I decided to take a quick look at the event logs and discovered the following:&lt;/P&gt;
&lt;BLOCKQUOTE class=directQuote&gt;Log Name: System&lt;BR&gt;Source: Microsoft-Windows-Service Pack Installer&lt;BR&gt;Date: 6/1/2009 3:02:00 AM&lt;BR&gt;Event ID: 8&lt;BR&gt;Task Category: None&lt;BR&gt;Level: Error&lt;BR&gt;Keywords: &lt;BR&gt;User: SYSTEM&lt;BR&gt;Computer: dazzler.corp.technologytoolbox.com&lt;BR&gt;Description:&lt;BR&gt;Service Pack installation failed with error code 0x800f0826.&lt;BR&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Another quick search for 0x800f0826 suggested that the problem might be due to insufficient disk space. However, I checked the free space on DAZZLER and observed that it had 4.09 GB free. Surely, 4 GB of disk space is sufficient to install Windows Server 2008 SP2!&lt;/P&gt;
&lt;P&gt;Then I came across the following:&lt;/P&gt;
&lt;DIV class=reference&gt;&lt;CITE&gt;Windows Server 2008 SP2 Deployment Guide&lt;/CITE&gt; 
&lt;DIV class=referenceLink&gt;&lt;A href="http://technet.microsoft.com/en-us/library/dd351467(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/dd351467(WS.10).aspx"&gt;http://technet.microsoft.com/en-us/library/dd351467(WS.10).aspx&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Here are the disk space requirements according to the deployment guide:&lt;/P&gt;
&lt;TABLE class=accent1 cellSpacing=0 class="accent1"&gt;
&lt;CAPTION&gt;Disk Space Requirements for Windows Server 2008 SP2&lt;/CAPTION&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH&gt;Installation method&lt;/TH&gt;
&lt;TH&gt;Approximate disk space requirements&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Stand-alone installation&lt;/TD&gt;
&lt;TD&gt;
&lt;UL&gt;
&lt;LI&gt;x86-based: 1.8 GB to 2.9 GB&lt;/LI&gt;
&lt;LI&gt;x64-based: 3.2 GB to 4.9 GB&lt;/LI&gt;
&lt;LI&gt;ia64-based: 2.9 GB to 3.2 GB &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Windows Update&lt;/TD&gt;
&lt;TD&gt;
&lt;UL&gt;
&lt;LI&gt;x86-based: 350 MB&lt;/LI&gt;
&lt;LI&gt;x64-based: 600 MB&lt;/LI&gt;
&lt;LI&gt;ia64-based: 2.25 GB &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Integrated installation&lt;/TD&gt;
&lt;TD&gt;
&lt;UL&gt;
&lt;LI&gt;x86-based: 9 GB&lt;/LI&gt;
&lt;LI&gt;x64-based: 12 GB&lt;/LI&gt;
&lt;LI&gt;ia64-based: 13 GB&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;Crikey! According to this table, DAZZLER needs up to 4.9 GB of free space in order to install the Service Pack (since it is an x64 VM). Wow!&lt;/P&gt;
&lt;P&gt;This, quite honestly, seems absolutely absurd!&lt;/P&gt;
&lt;P&gt;However, given that it is relatively easy to expand a VHD, I decided to just go ahead and add another 2 GB to the system drive on the VM and see if that eliminated the issue. After all, as long as SP2 doesn't actually use 4.9 GB of space, then the actual physical space consumed by the VHD should be significantly less than 5 GB.&lt;/P&gt;
&lt;P&gt;Using &lt;STRONG&gt;Hyper-V Manager&lt;/STRONG&gt;, I expanded the VHD from 20 GB to 22 GB and then started the VM up again. I then logged into the VM and used the &lt;STRONG&gt;Disk Management &lt;/STRONG&gt;console to extend the volume to include the additional 2 GB of available storage.&lt;/P&gt;
&lt;P&gt;Next, I kicked off the installation of Windows Server 2008 SP2 again. This time the installation completed without error. Woohoo!&lt;/P&gt;
&lt;P&gt;Note that DAZZLER is a dedicated Team Foundation Server "build server" -- so I didn't expect that it would need lots of disk space. In fact, it didn't -- at least not until Windows Server 2008 SP2 came along.&lt;/P&gt;
&lt;P&gt;Now all I have to do is add some more disk space to the other servers that are failing to install SP2.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9678127" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/WSUS/default.aspx">WSUS</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Infrastructure/default.aspx">Infrastructure</category></item><item><title>Redirecting stderr to stdout</title><link>http://blogs.msdn.com/jjameson/archive/2009/03/27/redirecting-stderr-to-stdout.aspx</link><pubDate>Fri, 27 Mar 2009 14:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9513855</guid><dc:creator>Jeremy Jameson</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jjameson/comments/9513855.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jjameson/commentrss.aspx?PostID=9513855</wfw:commentRss><description>&lt;P&gt;Yesterday I replied to an email from a teammate in which I incorrectly stated that you can't redirect &lt;CODE&gt;stderr&lt;/CODE&gt; to &lt;CODE&gt;stdout&lt;/CODE&gt; in DOS -- er, I mean a &lt;EM&gt;command window&lt;/EM&gt; in Microsoft Windows.&lt;/P&gt;
&lt;P&gt;I would have sworn the last time I tried something like the following in Windows Server 2003 (a couple of years ago), I got an error message:&lt;/P&gt;
&lt;DIV class=consoleBlock&gt;&lt;SAMP&gt;"Redeploy Features.cmd" &amp;gt; tmp.log 2&amp;gt;&amp;amp;1 &lt;/SAMP&gt;&lt;/DIV&gt;
&lt;P&gt;Fortunately another teammate on the thread, &lt;A href="http://blogs.msdn.com/pnayak" mce_href="http://blogs.msdn.com/pnayak"&gt;Prashant Nayak&lt;/A&gt;, experimented with this and confirmed that it actually &lt;EM&gt;does&lt;/EM&gt; work. Thanks, Prashant, for setting the record straight!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9513855" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jjameson/archive/tags/Core+Development/default.aspx">Core Development</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Server/default.aspx">Windows Server</category></item><item><title>Fiddler + WPAD - VPN = SlowPerformance</title><link>http://blogs.msdn.com/jjameson/archive/2008/06/27/fiddler-wpad-slowperformance.aspx</link><pubDate>Fri, 27 Jun 2008 19:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8662318</guid><dc:creator>Jeremy Jameson</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jjameson/comments/8662318.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jjameson/commentrss.aspx?PostID=8662318</wfw:commentRss><description>&lt;P&gt;I needed to look at some low-level HTTP traffic this morning, so I fired up &lt;A class="" href="http://www.fiddlertool.com/" mce_href="http://www.fiddlertool.com"&gt;Fiddler&lt;/A&gt; -- my tool of choice for this kind of thing. Unfortunately, I found that as soon as I enabled Fiddler, my browsing experience slowed to a crawl. Page requests that previously completed in 1-2 seconds were subsequently taking 30-40 seconds. Ugh!&lt;/P&gt;
&lt;P&gt;Since I typically work inside a virtual machine running Windows Server 2003, I thought that maybe I was hitting a problem specific to Fiddler on Vista. I then did a quick Windows Live Search using the terms &lt;STRONG&gt;Fidder Vista slow &lt;/STRONG&gt;and quickly found a couple of people -- apparently including &lt;A class="" href="http://groups.msn.com/HTTPFiddler/bugs.msnw?action=get_message&amp;amp;mview=0&amp;amp;ID_Message=815&amp;amp;LastModified=4675632312984197215" mce_href="http://groups.msn.com/HTTPFiddler/bugs.msnw?action=get_message&amp;amp;mview=0&amp;amp;ID_Message=815&amp;amp;LastModified=4675632312984197215"&gt;Eric Lawrence&lt;/A&gt;, himself -- referring to disabling IPv6 within Fiddler when using Vista. I assumed that this must be the problem that I was encountering, but no matter what I tried (e.g. restarting Fiddler after disabling the option, repeatedly enabling and disabling IPv6, etc.) I couldn't get the performance to improve.&lt;/P&gt;
&lt;P&gt;I then fired up &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?familyid=18b1d59d-f4d8-4213-8d17-2f6dde7d7aac&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=18b1d59d-f4d8-4213-8d17-2f6dde7d7aac&amp;amp;displaylang=en"&gt;Network Monitor 3.1&lt;/A&gt; and performed a quick trace while I requested the page through Fiddler again. [By the way, I absolutely love the new filtering capabilities in NetMon 3.1 versus the old version. The interface is much more intuitive than the old 2.x version and it couldn't be any easier than right-clicking a frame in the capture and selecting &lt;STRONG&gt;Add Cell to Display Filter&lt;/STRONG&gt;. NetMon Team, you guys rock! I haven't quite got around to downloading the 3.2 beta, but hopefully someday soon.]&lt;/P&gt;
&lt;P&gt;Also note that I had to right-click &lt;STRONG&gt;Microsoft Network Monitor 3.1&lt;/STRONG&gt; and click &lt;STRONG&gt;Run as administrator&lt;/STRONG&gt; in order to avoid the dreaded "Unknown Error" that occurs when no networks are detected to capture.&lt;/P&gt;
&lt;P&gt;So, a couple of minutes later, sure enough, there it was right in my capture:&lt;/P&gt;
&lt;BLOCKQUOTE class=directQuote&gt;DNS: QueryId = 0x18FC, QUERY (Standard query), Query&amp;nbsp; for&amp;nbsp; wpad.northamerica.corp.microsoft.com of type Host Addr on class Internet&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As soon as I saw the old "Web Proxy Auto Detect" I immediately became suspicious that this was the culprit. I then closed Fiddler and modified my Internet Explorer options to clear the &lt;STRONG&gt;Automatically detect settings &lt;/STRONG&gt;checkbox.&lt;/P&gt;
&lt;P&gt;Shazam! Problem solved.&lt;/P&gt;
&lt;P&gt;Of course, had I actually been connected to CorpNet (which would have enabled DNS requests for "wpad.northamerica.corp.microsoft.com" to resolve), I suppose I wouldn't have encountered the problem in the first place.&lt;/P&gt;
&lt;P&gt;Perhaps it is the fact that I am frequently connecting to different networks (e.g. wireless, VPN, etc.) -- whereas many others don't -- but I'd really like to think most people don't encounter little gotchas like this. The mere thought of having to guide my mother through capturing a NetMon trace is, quite frankly, horrifying ;-)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8662318" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.msdn.com/jjameson/archive/tags/Debugging/default.aspx">Debugging</category></item><item><title>Disabling Hibernation in Windows Vista (and Deleting Hiberfil.sys)</title><link>http://blogs.msdn.com/jjameson/archive/2008/02/17/disabling-hibernation-in-windows-vista-and-deleting-hiberfil-sys.aspx</link><pubDate>Mon, 18 Feb 2008 05:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7763898</guid><dc:creator>Jeremy Jameson</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/jjameson/comments/7763898.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jjameson/commentrss.aspx?PostID=7763898</wfw:commentRss><description>&lt;P&gt;As I described in &lt;A class="" href="http://blogs.msdn.com/jjameson/archive/2008/02/17/an-update-on-disk-space-usage-by-windows-vista.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2008/02/17/an-update-on-disk-space-usage-by-windows-vista.aspx"&gt;my previous post&lt;/A&gt;, I found myself with a paltry 320 MB of free space on a 20 GB partition after installing Windows Vista and a handful of programs (which although I specified to install on&amp;nbsp;a different partition, ended up "bloating" my system partition to an unmanageable point).&lt;/P&gt;
&lt;P&gt;In order to free up some much needed space, I decided to disable hibernation, which would seem like a straightforward process. In fact, if memory serves, this was actually quite easy in Windows XP. However, in Vista, disabling hibernation &lt;STRONG&gt;and&lt;/STRONG&gt; deleting the corresponding system file is a little tricky. Note that on my laptop with 4 GB of RAM, C:\hiberfil.sys consumes about 3.37 GB -- which I really need back, thank you very much.&lt;/P&gt;
&lt;P&gt;My initial assumption was that the option to disable hibernation lies somewhere in the &lt;STRONG&gt;Power Options &lt;/STRONG&gt;area of the&amp;nbsp;&lt;STRONG&gt;Control Panel&lt;/STRONG&gt;. However, after poking around in there for a few minutes and not finding it, I proceeded to perform a search in &lt;STRONG&gt;Control Panel &lt;/STRONG&gt;for "&lt;STRONG&gt;hibernate&lt;/STRONG&gt;" which displayed the following result:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Turn hibernation on or off&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;Perfect...this looks like precisely the option I was looking for. Unfortunately, when I clicked this link, it just took me back to the &lt;STRONG&gt;Power Options &lt;/STRONG&gt;area that I had already thoroughly explored. Figuring I had simply missed the obvious, I proceeded to set the following options under advanced power settings:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Sleep&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Hibernate after&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;On battery: Never&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Plugged in: Never&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;Note that setting the value to &lt;STRONG&gt;0 &lt;/STRONG&gt;minutes is the same as saying "never hibernate." Okay, so now I should be able to delete the massive hiberfil.sys file, right?&lt;/P&gt;
&lt;P mce_keep="true"&gt;Wrong.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Okay, so I guess Vista still has a lock on the file since I haven't rebooted since I "disabled" hibernation. Fine, I'll reboot my laptop. Now, I should finally be able to delete hiberfil.sys, right?&lt;/P&gt;
&lt;P mce_keep="true"&gt;Still wrong.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Come on now...be reasonable...what's it going to take to delete that file?&lt;/P&gt;
&lt;P mce_keep="true"&gt;It turns out that the way you delete hiberfil.sys is by using the &lt;STRONG&gt;Disk Cleanup &lt;/STRONG&gt;utility.&lt;/P&gt;
&lt;P mce_keep="true"&gt;To delete hiberfil.sys in Windows Vista:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Start &lt;STRONG&gt;Disk Cleanup&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;On the &lt;STRONG&gt;Disk Cleanup Options &lt;/STRONG&gt;window, click &lt;STRONG&gt;Files from all users on this computer&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;
&lt;DIV mce_keep="true"&gt;On the &lt;STRONG&gt;Disk Cleanup: Drive Selection &lt;/STRONG&gt;window, click select the system drive where Windows Vista is installed, and then click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;
&lt;DIV mce_keep="true"&gt;Wait for the utility to scan the drive and then in the &lt;STRONG&gt;Disk Cleanup &lt;/STRONG&gt;window, click the checkbox next to &lt;STRONG&gt;Hibernation File Cleaner&lt;/STRONG&gt;, clear all of the other checkboxes, and then click &lt;STRONG&gt;OK&lt;/STRONG&gt;. When prompted to confirm the operation, click &lt;STRONG&gt;Delete Files&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P mce_keep="true"&gt;
&lt;DIV mce_keep="true"&gt;After performing these steps, the free space on my Windows Vista partition (C:) increased from 320 MB to 3.66 GB. Woohoo!&lt;/DIV&gt;
&lt;DIV mce_keep="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV mce_keep="true"&gt;That should get me going for a while -- or at least until I decide to install a few more programs on E:&amp;nbsp;&amp;nbsp; ;-)&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7763898" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx">Windows Vista</category></item><item><title>An Update on Disk Space Usage by Windows Vista</title><link>http://blogs.msdn.com/jjameson/archive/2008/02/17/an-update-on-disk-space-usage-by-windows-vista.aspx</link><pubDate>Mon, 18 Feb 2008 04:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7763561</guid><dc:creator>Jeremy Jameson</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jjameson/comments/7763561.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jjameson/commentrss.aspx?PostID=7763561</wfw:commentRss><description>&lt;P&gt;Today I rebuilt my laptop to allow me to dual boot between Windows Server 2008 and Windows Vista. To enable this configuration, I created the following partions on my hard drive:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;20 GB - Windows Server 2008 x64&lt;/LI&gt;
&lt;LI&gt;20 GB - Windows Vista Ultimate x64&lt;/LI&gt;
&lt;LI&gt;53.2 GB - Program Files and Data&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Here is what my Vista partition looked like immediately after the baseline installation (no patches):&lt;/P&gt;
&lt;DIV class=image&gt;&lt;IMG title="Disk usage on Windows Vista Ultimate x64 (baseline)" alt="Disk usage on Windows Vista Ultimate x64 (baseline)" src="http://blogs.msdn.com/photos/jjameson/images/7762845/429x480.aspx" width=429 height=480 mce_src="http://blogs.msdn.com/photos/jjameson/images/7762845/429x480.aspx"&gt; 
&lt;DIV class=caption&gt;Figure 1: Disk usage on Windows Vista Ultimate x64 (baseline)&lt;/DIV&gt;
&lt;DIV class=imageLink&gt;&lt;A href="http://blogs.msdn.com/photos/jjameson/images/7762845/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/jjameson/images/7762845/original.aspx"&gt;See full-sized image.&lt;/A&gt; &lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;From this, you can see that about 10 GB of the 20 GB partition is needed to install Windows Vista Ultimate x64.&lt;/P&gt;
&lt;P&gt;In order to free up some substantial disk space, I dialed the paging file down from the default (around 5 GB) to an initial size of 200 MB with a maximum size of 512 MB. I have 4 GB of RAM on this laptop -- so in my mind, if I start needing more than 500 MB of swap space, something is horribly wrong and it's probably time for a reboot anyway.&lt;/P&gt;
&lt;P&gt;I then proceeded to install the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Windows Vista Service Pack 1 (SP1)&lt;/LI&gt;
&lt;LI&gt;Microsoft Office Ultimate 2007 -- mostly using the default options but excluding Groove&lt;/LI&gt;
&lt;LI&gt;Microsoft Office Communicator 2007&lt;/LI&gt;
&lt;LI&gt;Microsoft Visio Professional 2007&lt;/LI&gt;
&lt;LI&gt;Microsoft Project Professional 2007&lt;/LI&gt;
&lt;LI&gt;Microsoft Visual Studio Team System 2008 Team Suite&amp;nbsp;-- mostly using the default options but excluding Crystal Reports and including x64 compilers and tools&lt;/LI&gt;
&lt;LI&gt;Microsoft Expression Blend&lt;/LI&gt;
&lt;LI&gt;Microsoft Expression Web&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Note:&amp;nbsp;During&amp;nbsp;each setup, I&amp;nbsp;changed the&amp;nbsp;drive letter from C: to E:&amp;nbsp;in order to place the bulk of the program files on the&amp;nbsp;large 53 GB partition -- not the "small" 20 GB partition.&lt;/P&gt;
&lt;P&gt;I then configured&amp;nbsp;Vista to use my&amp;nbsp;WSUS (Windows Server Update Services) server in&amp;nbsp;the&amp;nbsp;&lt;A href="http://blogs.msdn.com/jjameson/archive/2009/09/14/the-jameson-datacenter.aspx" mce_href="http://blogs.msdn.com/jjameson/archive/2009/09/14/the-jameson-datacenter.aspx"&gt;"Jameson Datacenter"&lt;/A&gt; (a.k.a. my basement), so&amp;nbsp;that&amp;nbsp;patches only need to be copied over my&amp;nbsp;LAN --&amp;nbsp;not downloaded&amp;nbsp;from the Internet each time.&lt;/P&gt;
&lt;P&gt;Windows Update then proceeded to install the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Definition Update for Windows Defender - KB915597 (Definition 1.27.6677.0)&lt;/LI&gt;
&lt;LI&gt;Hold Em Poker Game -- I guess I am the only one to blame for this one, since I am the WSUS administrator and therefore the one who approves or declines all patches&lt;/LI&gt;
&lt;LI&gt;BitLocker and EFS enhancements&lt;/LI&gt;
&lt;LI&gt;Windows DreamScene&lt;/LI&gt;
&lt;LI&gt;2007 Microsoft Office Suite Service Pack 1 (SP1)&lt;/LI&gt;
&lt;LI&gt;Update for Outlook Junk Email Filter 2007 (KB943597)&lt;/LI&gt;
&lt;LI&gt;2007 Microsoft Office Suite Service Pack 1 (SP1)&amp;nbsp;-- this was applied again after rebooting, perhaps to pick up additional patches for Visio and Project&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;After rebooting a couple of times, my Vista partition looks like this:&lt;/P&gt;
&lt;DIV class=image&gt;&lt;IMG title="Disk usage on Windows Vista after installing SP1, Office 2007, VS 2008, and Expression" alt="Disk usage on Windows Vista after installing SP1, Office 2007, VS 2008, and Expression" src="http://blogs.msdn.com/photos/jjameson/images/7762864/425x480.aspx" width=425 height=480 mce_src="http://blogs.msdn.com/photos/jjameson/images/7762864/425x480.aspx"&gt; 
&lt;DIV class=caption&gt;Figure 2: Disk usage on Windows Vista after installing SP1, Office 2007, VS 2008, and Expression&lt;/DIV&gt;
&lt;DIV class=imageLink&gt;&lt;A href="http://blogs.msdn.com/photos/jjameson/images/7762864/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/jjameson/images/7762864/original.aspx"&gt;See full-sized image.&lt;/A&gt; &lt;/DIV&gt;&lt;/DIV&gt;
&lt;P mce_keep="true"&gt;If you look closely, you'll notice that I only have 320 MB of the 20 GB free. Ouch.&lt;/P&gt;
&lt;P mce_keep="true"&gt;When I started the rebuild today, I thought 20 GB would be sufficient, but now I am wishing I had used two 25 GB partitions instead of two 20 GB partitions.&lt;/P&gt;
&lt;P mce_keep="true"&gt;While I actually contemplated "nuking" the machine again and starting out with larger system partitions, I am going to try getting by with this configuration for a little while. However, I don't have any expectations of running with a mere 300 MB of free space. Instead, I am going to completely disable hibernation, thereby freeing up an additional 3.5 GB of disk space (by deleting the hiberfil.sys).&lt;/P&gt;
&lt;P mce_keep="true"&gt;Unfortunately, disabling hibernation (and deleting the associated hiberfil.sys file) wasn't very straightforward in Vista. Actually, this was really the driving factor behind this post and the one that follows (I don't expect many people to find graphical&amp;nbsp;depcitions of disk space usage to be all that interesting).&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7763561" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jjameson/archive/tags/Windows+Vista/default.aspx">Windows Vista</category></item></channel></rss>