<?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; Hyper-V</title>
	<atom:link href="http://petrunic.com/blog/tag/hyper-v/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>Administration delegation in Hyper-V</title>
		<link>http://petrunic.com/blog/2010/02/22/administration-delegation-in-hyper-v/</link>
		<comments>http://petrunic.com/blog/2010/02/22/administration-delegation-in-hyper-v/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 19:51:44 +0000</pubDate>
		<dc:creator>Robert Petrunic</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://petrunic.com/blog/?p=145</guid>
		<description><![CDATA[There are two ways to delegate administration of  Hyper-V server. If you are using SCVMM, use SCVMM to do it. If not, AzMan (Authorization Manager) is your best Friend.
How to run AzMan? Type AzMan.msc in run box.
After you start Azman, you will have to open  a store for delegation configuration. There is xml file on every server with [...]]]></description>
			<content:encoded><![CDATA[<p>There are two ways to delegate administration of  Hyper-V server. If you are using SCVMM, use SCVMM to do it. If not, AzMan (Authorization Manager) is your best Friend.</p>
<p>How to run AzMan? Type AzMan.msc in run box.</p>
<p>After you start Azman, you will have to open  a store for delegation configuration. There is xml file on every server with Hyper-V role installed called <strong>InitialStore.xml.</strong> It&#8217;s located in <strong>%ProgramData%\ProgramData\Microsoft\Windows\Hyper-V</strong>. So, when you run AzMan for the first time, you will have to choose this file.</p>
<p>How? </p>
<ol>
<li>Open AzMan (<strong>start/run/azman.msc</strong>)</li>
<li>Right click on <strong>Authorization manager </strong>in the left tree of your mmc console and choose <strong>Open Authorization Store. </strong>Click <strong>OK</strong></li>
</ol>
<div id="attachment_151" class="wp-caption aligncenter" style="width: 469px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/Azman1.png"><img class="size-full wp-image-151 " title="Authorization Manager" src="http://petrunic.com/blog/wp-content/uploads/2010/02/Azman1.png" alt="Authorization Manager" width="459" height="238" /></a><p class="wp-caption-text">Authorization Manager</p></div>
<p>AzMan UI is simple to use.</p>
<p>There are 34 operations you can allow access for your users, like for instance, <strong>Allow Virtual Machine Snapshot, Connect Virtual Switch Port, Reconfigure Service </strong>etc. Play around if you want to customize specific tasks to your users or give them full admin access to hyper-V services.</p>
]]></content:encoded>
			<wfw:commentRss>http://petrunic.com/blog/2010/02/22/administration-delegation-in-hyper-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How big is Hyper-V hypervisor?</title>
		<link>http://petrunic.com/blog/2010/02/22/how-big-is-hyper-v/</link>
		<comments>http://petrunic.com/blog/2010/02/22/how-big-is-hyper-v/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 19:32:21 +0000</pubDate>
		<dc:creator>Robert Petrunic</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://petrunic.com/blog/?p=137</guid>
		<description><![CDATA[Hyper-V is Microsoft virtualization technology that uses Microkernelized hypervisor. Let&#8217;s explain those words:

Micro  &#8211; it&#8217;s small. 
Kernelized- it runs in kernel. Actually it runs below kernel. When Windows boot up on a machine with Hyper-V installed, winload.exe loads the driver hvboot.sys.It&#8217;s purpose is to check if machine support hardware virtualization. If so, hypervisor image file is loaded [...]]]></description>
			<content:encoded><![CDATA[<p>Hyper-V is Microsoft virtualization technology that uses Microkernelized hypervisor. Let&#8217;s explain those words:</p>
<ol>
<li><strong>Micro</strong>  &#8211; it&#8217;s small. </li>
<li><strong>Kernelized</strong>- it runs in kernel. Actually it runs below kernel. When Windows boot up on a machine with Hyper-V installed, winload.exe loads the driver <strong>hvboot.sys.</strong>It&#8217;s purpose is to check if machine support hardware virtualization. If so, hypervisor image file is loaded (<strong>hvix.exe </strong>on intel and <strong>hvax.exe </strong>on amd hardware)</li>
<li><strong>Hypervisior </strong>- software, hardware or combination of both that allows multiple operating systems to run on a single host computer</li>
</ol>
<p>So, how big is microkernel of Hyper-V hypervisor?</p>
<p>Hypervisior v2 build 6.1.7600.16385 is:</p>
<ul>
<li><strong>651776 bytes (hvax64.exe &#8211; AMD)</strong>, and</li>
<li><strong>706650 bytes (hvix64.exe &#8211; Intel)</strong></li>
</ul>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 230px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/hvix64.png"><img class="size-full wp-image-155 " title="Microsoft Hypervisor 2.0" src="http://petrunic.com/blog/wp-content/uploads/2010/02/hvix64.png" alt="Microsoft Hypervisor 2.0" width="220" height="302" /></a><p class="wp-caption-text">Microsoft Hypervisor 2.0</p></div>
]]></content:encoded>
			<wfw:commentRss>http://petrunic.com/blog/2010/02/22/how-big-is-hyper-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use wireless adapter with Windows Server 2008 R2 Hyper-V</title>
		<link>http://petrunic.com/blog/2010/02/09/how-to-use-wireless-adapter-with-windows-server-2008-r2-hyper-v/</link>
		<comments>http://petrunic.com/blog/2010/02/09/how-to-use-wireless-adapter-with-windows-server-2008-r2-hyper-v/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 01:53:05 +0000</pubDate>
		<dc:creator>Robert Petrunic</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://petrunic.com/?p=31</guid>
		<description><![CDATA[If you want Wireless to be enabled in Windows Server 2008 R2 you have to add feature called Wireless LAN service
Please follow this link to learn how.   
If you are like me: trainer, you need Hyper-V server to be able to show all those new stuff to your students, and you want to have Internet access [...]]]></description>
			<content:encoded><![CDATA[<p>If you want Wireless to be enabled in Windows Server 2008 R2 you have to add feature called <strong>Wireless LAN service<br />
</strong>Please follow this <a title="Windows Server 2008 WiFi" href="http://keithelder.net/blog/archive/2008/08/21/Windows-Server-2008-and-WIFI.aspx" target="_blank">link</a> to learn how.   </p>
<p>If you are like me: trainer, you need Hyper-V server to be able to show all those new stuff to your students, and you want to have Internet access from within your virtual machines, and you are most of the time in classrooms or conference rooms only with Wireless access, you will probably be disappointed to learn that Hyper-V does not support Wireless network adapters. That might be a problem, but, believe me, it&#8217;s not a problem  :-). <br />
<strong>Don&#8217;t try to do this on your production Hyper-V servers!</strong>  </p>
<p>The easiest way to have your virtual machines running on Windows Server 2008 R2 with Hyper-V role installed and surf the internet using wireless adapter is to create bridge between Wireless and LAN.   </p>
<p>Here is how to do it:   </p>
<ol>
<li>Create External network connected to your real Network adapter in hyper-V virtual network manager (if you don&#8217;t have it already). As you may see on this picture I have <em>Broadcom NetLink (TM) Gigabit Ethernet</em>
<div id="attachment_57" class="wp-caption aligncenter" style="width: 443px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/Net1.png"><img class="size-full wp-image-57 " title="Hyper-V Virtual Network Manager" src="http://petrunic.com/blog/wp-content/uploads/2010/02/Net1.png" alt="Hyper-V Virtual Network Manager" width="433" height="404" /></a><p class="wp-caption-text">Hyper-V Virtual Network Manager</p></div></li>
<li>Now you have one additional network adapter in your network connections
<p style="text-align: center;">
<p><div id="attachment_58" class="wp-caption aligncenter" style="width: 488px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/NetworkConnections.png"><img class="size-full wp-image-58  " title="Network Connections" src="http://petrunic.com/blog/wp-content/uploads/2010/02/NetworkConnections.png" alt="NetworkConnections" width="478" height="96" /></a><p class="wp-caption-text">Network Connections</p></div></li>
<li>Create Network Bridge using Hyper-V network adapter created in step 1 and wireless adapter.(How?:Select both network connections, right click on the selection and chose Bridge Connections option in popup dialog box) 
<p><div id="attachment_68" class="wp-caption aligncenter" style="width: 539px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/Bridge1.png"><img class="size-full wp-image-68 " title="Bridge" src="http://petrunic.com/blog/wp-content/uploads/2010/02/Bridge1.png" alt="Bridge" width="529" height="193" /></a><p class="wp-caption-text">Bridge</p></div></li>
<li>Now you have one more connection in your Network Connections window.
<p><div id="attachment_61" class="wp-caption aligncenter" style="width: 490px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/NetworkConnections_s_Bridgeom.png"><img class="size-full wp-image-61 " title="NetworkConnections_Bridge" src="http://petrunic.com/blog/wp-content/uploads/2010/02/NetworkConnections_s_Bridgeom.png" alt="NetworkConnections_Bridge" width="480" height="130" /></a><p class="wp-caption-text">Network Connections Bridge</p></div></li>
<li>In Hyper-V virtual network manager you will see new external network adapter you could use to create Hyper-V network adapters called MAC Bridge Miniport. <strong>You don&#8217;t need it ! </strong> 
<div class="mceTemp mceIEcenter">
<p><div id="attachment_78" class="wp-caption aligncenter" style="width: 443px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/Net22.png"><img class="size-full wp-image-78 " title="Hyper-V virtual network manager with bridged connection" src="http://petrunic.com/blog/wp-content/uploads/2010/02/Net22.png" alt="Hyper-V virtual network manager with bridged connection" width="433" height="319" /></a><p class="wp-caption-text">Hyper-V virtual network manager with bridged connection</p></div>
</div>
<p> </li>
<li>In network settings of your virtual machine choose  the network you created in step 1. </li>
</ol>
<p>Don&#8217;t forget to connect to the wireless network <img src='http://petrunic.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . Here&#8217;s how it&#8217;s look like: </p>
<div id="attachment_71" class="wp-caption aligncenter" style="width: 460px"><a href="http://petrunic.com/blog/wp-content/uploads/2010/02/Rezultat1.png"><img class="size-full wp-image-71  " title="Hyper-V virtual machine surfing wireless" src="http://petrunic.com/blog/wp-content/uploads/2010/02/Rezultat1.png" alt="Hyper-V virtual machine surfing wireless" width="450" height="286" /></a><p class="wp-caption-text">Hyper-V virtual machine surfing wireless</p></div>
]]></content:encoded>
			<wfw:commentRss>http://petrunic.com/blog/2010/02/09/how-to-use-wireless-adapter-with-windows-server-2008-r2-hyper-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
