<?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>Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx</link><description>I was playing this weekend trying to get the VHD (Virtual Hard Disk) size down to the barest minimum. I thought I did OK - WS2003 SP1 with Support Tools, Admin Pack, Group Policy Management Console, Small Office 2003 installation running Word+Excel patched</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#404102</link><pubDate>Mon, 25 Apr 2005 09:11:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404102</guid><dc:creator>Wayne Taylor</dc:creator><description>Why not use an external (3.5inch) USB 2.0 drive? Or is this method to slow? You could have all your images on one drive and not have to think about drive space, the only pain is having to get the drive out every time you wanted to you VS.....</description></item><item><title>re: Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#404109</link><pubDate>Mon, 25 Apr 2005 13:40:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404109</guid><dc:creator>jhoward</dc:creator><description>Wayne - yes, USB drive is an option, but you're right, it's a pain compared to having everything held straight on the laptop directly. Smaller VHDs also mean they're a lot quicker moving around to and from external disks and/or network, you can have more of them for the multitude of environments I build, so hence the reason for trying to make them as small as possible.</description></item><item><title>re: Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#404130</link><pubDate>Mon, 25 Apr 2005 18:17:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404130</guid><dc:creator>Robert Aitchison</dc:creator><description>Good stuff,&lt;br&gt;&lt;br&gt;I thought I was doing good deleting the temp files, contents of the media folder, extra wallpaper, etc.&lt;br&gt;&lt;br&gt;One think I like to do if I'm making a master image is to attach the VHD file as another disk on a separate Windows 2003 virtual machine, then delete the page file, run defrag &amp;amp; the precompact utility while that system is offline and these tools can work better.&lt;br&gt;&lt;br&gt;The Windows Server 2003 SP1 master image I just did last week was about 1.5Gb and zips down to about half that, using the tipe above I can probably shave a bunch off.</description></item><item><title>re: Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#404140</link><pubDate>Mon, 25 Apr 2005 21:38:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404140</guid><dc:creator>jhoward</dc:creator><description>Just wanted to add....&lt;br&gt;&lt;br&gt;____BEFORE___ anyone deletes the \windows\inf directory for good, keep a backup of it somewhere (or don't delete it at all). Reason is simple - although the VM runs fine as it is, &amp;quot;sysprep&amp;quot;ing it or &amp;quot;dcpromo&amp;quot;ing it will fail. Fortunately, although I didn't mention it in the original blog entry, it's probably best _not_ to remove the contents from this directory unless you keep a backup somewhere else. On the other hand though, after reinstating it, re-precompacting and compacting the hard disk, the resultant VHD was still only 10MB larger</description></item><item><title>re: Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#404208</link><pubDate>Wed, 27 Apr 2005 10:54:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404208</guid><dc:creator>Andrew Dugdell</dc:creator><description>Ben Armstrong has a good section on his blog about this:  &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/virtual_pc_guy/archive/2005/02/11/370916.aspx"&gt;http://blogs.msdn.com/virtual_pc_guy/archive/2005/02/11/370916.aspx&lt;/a&gt;</description></item><item><title>re: Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#404296</link><pubDate>Thu, 28 Apr 2005 23:46:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404296</guid><dc:creator>dan e</dc:creator><description>i think removing DLLCACHE may also cause problems with Windows Security Protection but this is ok in test environments as your not registering any DLLs i guess. &lt;br&gt;&lt;br&gt;I tried removing it to reduce my RIS build size.</description></item><item><title>Beware Virtual PC Differencing Disks!</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#404667</link><pubDate>Mon, 09 May 2005 18:45:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404667</guid><dc:creator>John Watson</dc:creator><description /></item><item><title>re: Minimising VHD size for WS2003 Enterprise SP1 in Virtual Server</title><link>http://blogs.technet.com/jhoward/archive/2005/04/24/404096.aspx#409581</link><pubDate>Mon, 22 Aug 2005 17:37:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:409581</guid><dc:creator>Jon Robertson</dc:creator><description>During the early days of Virtual PC (when Connectrix still had it), I read about using Norton Ghost for compacting my VHD.  This works great and is still the method I use today.&lt;br&gt;&lt;br&gt;I have a MS-DOS VHD with Norton Ghost installed.&lt;br&gt;I have a BLANKHD.VHD, which is a dynamic sizing 16GB HD.  (Choose your own size.)  Before I start a compact, I copy BLANKHD.VHD to NEWHD.VHD.  This saves the step of running the Virtual Disk Wizard.  The copy is very fast since the VHD is so small.  But you could run the Wizard each time instead.&lt;br&gt;&lt;br&gt;The first time I compacted, I setup a Norton VPC.  The VPC uses the MS-DOS/Norton VHD as Disk 1, my LARGE VHD that I want to compact as Disk 2, and NEWHD.VHD as Disk 3.&lt;br&gt;&lt;br&gt;I boot into the VPC, start Norton, let it sign the disks, then ghost from disk two to disk three.&lt;br&gt;&lt;br&gt;Once done, I rename the original large VHD, rename NEWVHD.VHD, and restart the VPC that uses the compacted VHD.  Once I see everything starts, I delete the original large VHD.&lt;br&gt;&lt;br&gt;Now, once the Norton VPC is configured, all I have to do is copy BLANKHD.VHD to NEWHD.VHD and change the configuration of Disk 2 to the VHD that I want to compact.&lt;br&gt;&lt;br&gt;This results in extremely well compacted and defragmented VHDs.  I can't remember the last time I ghosted a physical HD.  But I ghost VHDs almost weekly.</description></item></channel></rss>