<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows, security, etc. &#187; Windows 7</title>
	<atom:link href="http://petrunic.com/blog/tag/windows-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://petrunic.com/blog</link>
	<description>Blog about windows, security, ethical hacking etc.</description>
	<lastBuildDate>Tue, 18 May 2010 11:02:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Windows Server 2008 R2 to USB stick</title>
		<link>http://petrunic.com/blog/2010/02/04/install-windows-server-2008-to-usb-stick/</link>
		<comments>http://petrunic.com/blog/2010/02/04/install-windows-server-2008-to-usb-stick/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 11:56:58 +0000</pubDate>
		<dc:creator>Robert Petrunic</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://petrunic.com/?p=9</guid>
		<description><![CDATA[Microsoft released a document on technet few months ago, explaining how to install Windows Hyper-V Server 2008 R2 to USB stick. This configuration is supported only for OEM&#8217;s and only if you have permanently installed USB stick. If you want to know how to do it, please visit: http://technet.microsoft.com/en-us/library/ee731893(WS.10).aspx. There is also a tool to automate [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft released a document on technet few months ago, explaining how to install Windows Hyper-V Server 2008 R2 to USB stick. This configuration is supported only for OEM&#8217;s and only if you have permanently installed USB stick. If you want to know how to do it, please visit: <a href="http://technet.microsoft.com/en-us/library/ee731893(WS.10).aspx">http://technet.microsoft.com/en-us/library/ee731893(WS.10).aspx</a>. There is also a tool to automate the process. You can find it on MSDN: <a href="http://code.msdn.microsoft.com/BootHVSR2FromUSB">http://code.msdn.microsoft.com/BootHVSR2FromUSB</a>.</p>
<p>The question I usually hear from my students is: &#8220;Is it possible to install Windows Server 2008 R2 this way&#8221;. The answer to this question is: &#8220;Yes it is&#8221;.<strong> But you have to know that this is not supported or advised to do by Microsoft.</strong><br />
The process is exactly the same as with Windows Hyper-V Server 2008 R2, so please follow the instructions on Microsoft <a title="Deploying Microsoft Hyper-V Server 2008 R2 on USB Flash Drive" href="http://technet.microsoft.com/en-us/library/ee731893(WS.10).aspx" target="_blank">technet</a> site. You will however need to do some additional modifications (if you want to avoid blue screen).</p>
<ol>
<li>When you create fixed size vhd file, let it be at least 10GB in size! 12GB is highly recommended (if you want to have enough place for updates etc.)</li>
<li>USB stick should be at least 16 GB in size - minimum system requirements for foundation server is 10 GB, and for Standard is 32GB. I installed Windows Server 2008 R2 standard edition to 12GB vhd file with no problems</li>
<li>If you are using automated tool found <a title="Create bootable USB drive for Hyper-V Server 2008 R2" href="http://code.msdn.microsoft.com/BootHVSR2FromUSB" target="_blank">here</a>, it will probably hang at the end. Then please, manually repeat steps 5 and 6 found in the <a title="Deploying Microsoft Hyper-V Server 2008 R2 on USB Flash Drive" href="http://technet.microsoft.com/en-us/library/ee731893(WS.10).aspx" target="_blank">technet</a> document.</li>
<li>Before step 7, please do the following:</li>
</ol>
<ul>
<li>Open registry editor, select <strong>HKLM</strong>, click on<strong> file/load Hive</strong>, navigate to disk <strong><em>R:</em>\windows\system32\config</strong> (the drive you mounted vhd from USB stick), and open <strong>SYSTEM</strong>. Give it some name, like: <strong><em>Hyper-V</em></strong>.</li>
<li>Open <strong><em>hyper-V</em></strong>  subkey (or whatever name you entered in previous dialog box)  under <strong>HKLM</strong>, open <strong>ControlSet001/Control. </strong>Edit <strong>BootDriverFlags</strong> value and enter <strong>4.
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://www.petrunic.com/blog/wp-content/uploads/2010/02/BootDriverFlags.png"><img class="size-full wp-image-17   aligncenter" title="BootDriverFlags" src="http://www.petrunic.com/blog/wp-content/uploads/2010/02/BootDriverFlags.png" alt="BootDriverFlags" /></a></p>
<p> </p>
<p></strong></li>
<li>Open <strong><em>hyper-V</em></strong>  subkey (or whatever name you entered in previous dialog box)  under <strong>HKLM</strong>, open <strong>ControlSet001/Control/PnP</strong>. Edit <strong>PollBootPartitionTimeout</strong> and enter <strong>30000</strong> (Decimal)
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://www.petrunic.com/blog/wp-content/uploads/2010/02/PollBootPartitionTimeout.png"><img class="size-full wp-image-19     aligncenter" title="PollBootPartitionTimeout" src="http://www.petrunic.com/blog/wp-content/uploads/2010/02/PollBootPartitionTimeout.png" alt="PollBootPartitionTimeout" /></a></p>
</li>
<li>Now you ready to dismount VHD (step 7 in original documentation) and ready to boot you newly created syspreped installation of Windows Server 2008 R2.</li>
</ul>
<p>Be aware that you have to boot from USB stick (change it in your BIOS or pres F9, or F8, or whatever shortcut is used on your computer to pop up boot devices screen).<br />
Also be aware that some steps could take a looooooot&#8217;s of time (<strong>it took about 3 hours to finish sysprep </strong>process on my machine with Hyper-V server, and just around 40 minutes with Windows Server 2008 R2).<br />
After this slow process Windows server will work like a baby &#8211; it boots in 35 seconds on HP Compaq 6710b from Flash Voyager GT Corsair 16GB USB.</p>
<p>When I answered this question to my students the second question was: &#8220;Is it possible to do this with windows 7?&#8221;. <br />
The answer is: &#8220;Please try and let me know <img src='http://petrunic.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> &#8221; <br />
The process is the same, and it&#8217;s working with Windows 7 to.</p>
]]></content:encoded>
			<wfw:commentRss>http://petrunic.com/blog/2010/02/04/install-windows-server-2008-to-usb-stick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
