<?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>Virtual Varia : Miscellaneous V</title><link>http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx</link><description>Tags: Miscellaneous V</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>New Physical to Virtual (P2V) tool from Sysinternals</title><link>http://blogs.msdn.com/mikekol/archive/2009/10/07/new-physical-to-virtual-p2v-tool-from-sysinternals.aspx</link><pubDate>Thu, 08 Oct 2009 02:34:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9904644</guid><dc:creator>mikekol</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9904644.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9904644</wfw:commentRss><description>&lt;p&gt;Looks like Mark Russinovich and Bryce Cogswell are up to their old tricks again, with an awesome new tool called &lt;a href="http://download.sysinternals.com/Files/Disk2vhd.zip" target="_blank"&gt;Disk2VHD&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;From the &lt;a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank"&gt;web site&lt;/a&gt;:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows’ Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted).&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Disk2VHD can run on Windows XP SP2 and higher, as well as Windows Server 2003 and higher.&lt;/p&gt;  &lt;p&gt;Awesome work, Mark and Bryce!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9904644" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Microsoft+Hyper-V/default.aspx">Microsoft Hyper-V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/WIM2VHD/default.aspx">WIM2VHD</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+in+2008+R2/default.aspx">Hyper-V in 2008 R2</category></item><item><title>The Virtualization Nation Podcast – Episode 3: Want to boot a physical computer from a VHD?</title><link>http://blogs.msdn.com/mikekol/archive/2009/05/14/the-virtualization-nation-podcast-episode-3-want-to-boot-a-physical-computer-from-a-vhd.aspx</link><pubDate>Fri, 15 May 2009 05:00:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9617541</guid><dc:creator>mikekol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9617541.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9617541</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Of course you do.&lt;/strong&gt;&amp;#160; And in this episode of the Virtualization Nation Podcast, I’ll show you how.&amp;#160; &lt;/p&gt;  &lt;p&gt;But first, a little background.&lt;/p&gt;  &lt;p&gt;Earlier today, I posted a description of the new Native VHD integration in Windows 7, Windows Server 2008 R2, and Microsoft Hyper-V Server 2008 R2 on the &lt;a href="http://blogs.technet.com/virtualization/archive/2009/05/14/native-vhd-support-in-windows-7.aspx" target="_blank"&gt;Windows Virtualization Team blog&lt;/a&gt;, along with a link to a nifty little Powershell script called &lt;a href="http://code.msdn.microsoft.com/InstallWindowsImage" target="_blank"&gt;Install-WindowsImage.ps1&lt;/a&gt; which I’ll talk about some other time.&amp;#160; The main point of that post was to start getting the word out about Native VHD Boot.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;So, what’s so special about this?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Well, put yourself in the shoes of a corporate network administrator (though, when I was a network admin, I didn’t wear shoes all that often).&amp;#160; It’s really very common for a company to have a “base” Operating System image that they can apply to a server or workstation.&amp;#160; This image is usually tweaked with some software and/or patches installed, or is specially configured in some other way.&lt;/p&gt;  &lt;p&gt;If that’s the case, it’s possible that you would need to maintain two (or more) images: one for virtual machines (probably a VHD), and one for physical machines (maybe a WIM or a Ghost file).&lt;/p&gt;  &lt;p&gt;With Native VHD Boot, you can finally have one, single base image that works everywhere.&amp;#160; Your VHD can be booted in virtual machines, just like it always did, and it can also be used to boot your physical servers.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Ok, let’s get right to the heart of this thing.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;To boot from a VHD, you need the following things:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;A physical machine with the Windows 7 boot loader on it. &lt;/li&gt;    &lt;li&gt;A VHD with a SKU of Windows Server 2008 R2, Windows 7 (Enterprise and Ultimate only – sorry), or Microsoft Hyper-V Server 2008 R2. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Now, you’ve got those things ready, right?&amp;#160; You’re all set?&amp;#160; You’ve read the &lt;a href="http://technet.microsoft.com/en-us/library/dd440865(WS.10).aspx" target="_blank"&gt;VHD FAQ&lt;/a&gt;? Cool.&amp;#160; &lt;/p&gt;  &lt;p&gt;Ok.&amp;#160; You can find instructions on how to configure your computer on &lt;a href="http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx" target="_blank"&gt;various&lt;/a&gt; &lt;a href="http://technet.microsoft.com/en-us/library/dd638420.aspx" target="_blank"&gt;web&lt;/a&gt; &lt;a href="http://blog.donburnett.com/Web/blogs/d4dotnet/archive/2009/02/07/help-booting-from-a-vhd.aspx" target="_blank"&gt;pages&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/windows/dd758779.aspx" target="_blank"&gt;videos&lt;/a&gt;, but they all seem pretty lengthy.&lt;/p&gt;  &lt;p&gt;Want something simple?&amp;#160; Something easy to remember?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Of course you do.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You can watch me run through the steps in the video below, or &lt;a href="http://silverlight.services.live.com/92503/The%20Virtualization%20Nation%20Podcast%20-%20Episode%203/video.wmv" target="_blank"&gt;download it here.&lt;/a&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;iframe style="width: 500px; height: 375px" src="http://silverlight.services.live.com/invoke/92503/The%20Virtualization%20Nation%20Podcast%20-%20Episode%203/iframe.html" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;/p&gt;  &lt;p&gt;For those of you who don’t want to download a video for a “simple” command, here are the &lt;a href="http://www.cliffsnotes.com/WileyCDA/" target="_blank"&gt;Cliff’s Notes&lt;/a&gt;:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Get to an elevated or WinPE command prompt. &lt;/li&gt;    &lt;li&gt;Use your favorite VHD-creation method to install Windows in a VHD. &lt;/li&gt;    &lt;li&gt;Use &lt;strong&gt;&lt;em&gt;DiskPart &lt;/em&gt;&lt;/strong&gt;or &lt;strong&gt;&lt;em&gt;DiskMgmt.msc&lt;/em&gt;&lt;/strong&gt; to attach your VHD as a drive on your computer, and give it a drive letter (V:\ for example). &lt;/li&gt;    &lt;li&gt;Run &lt;strong&gt;&lt;em&gt;BCDBOOT.EXE&amp;#160; V:\Windows&lt;/em&gt;&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Sit back, relax, and reboot your computer to start booting into your new OS. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;Important Notes:&lt;/strong&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;If you’re booting to a Dynamically Expanding VHD, make sure that you have enough room on your physical disk to hold the VHD as if it were fully expanded to its maximum size.&amp;#160; If you don’t have enough space, you’ll get a bugcheck during boot. &lt;/li&gt;    &lt;li&gt;Hibernation is disabled when booted to a VHD. &lt;/li&gt;    &lt;li&gt;You can’t boot to a VHD that lives on a network share or a removable storage device. &lt;/li&gt; &lt;/ol&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9617541" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Windows+7/default.aspx">Windows 7</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/WIM2VHD/default.aspx">WIM2VHD</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+in+2008+R2/default.aspx">Hyper-V in 2008 R2</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Virtualization+Nation+Podcast/default.aspx">Virtualization Nation Podcast</category></item><item><title>The Virtualization Nation Podcast - Episode 2.  Wait, what?</title><link>http://blogs.msdn.com/mikekol/archive/2009/05/05/the-virtualization-nation-podcast-episode-2-wait-what.aspx</link><pubDate>Wed, 06 May 2009 06:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9590354</guid><dc:creator>mikekol</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9590354.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9590354</wfw:commentRss><description>&lt;P&gt;Some of you may remember that, a long while ago, I &lt;A href="http://blogs.msdn.com/mikekol/archive/2007/10/02/what-do-you-want-to-know-about-viridian-windows-server-virtualization.aspx" target=_blank mce_href="http://blogs.msdn.com/mikekol/archive/2007/10/02/what-do-you-want-to-know-about-viridian-windows-server-virtualization.aspx"&gt;asked&lt;/A&gt; what sort of things you'd like to see in a Virtualization-themed podcast.&amp;nbsp; Though it's been over a year since that post, I've still been thinking about starting a podcast and talking with other people on my team about getting one together.&amp;nbsp; The reaction has been positive so far.&amp;nbsp; There are quite a few folks who seem interested in putting something together.&lt;/P&gt;
&lt;P&gt;However, we haven't gotten down to planning any of the solid details quite yet, so a regular podcast is still aways off.&amp;nbsp; But there's really no reason why I have to wait for everyone else...&amp;nbsp;and so, I give you the first episode of The Virtualization Nation Podcast.&amp;nbsp; Episode 2.&lt;/P&gt;
&lt;P&gt;Wait, what?&lt;/P&gt;
&lt;P&gt;Well, since I promised all of you some more WIM2VHD videos, and since I'm nearly gotten the whole process down (I wound up buying Sony's Vegas Movie Studio Platinum, or whatever it's called...&amp;nbsp;and it crashes a lot.&amp;nbsp; Like, &lt;EM&gt;really&lt;/EM&gt; a lot.), I deciced to start releasing them as video podcasts.&amp;nbsp; As such, we're just going to call the first WIM2VHD video I made 'Episode 1', and go from there.&lt;/P&gt;
&lt;P&gt;So there you have it:&amp;nbsp; We're not ready to start doing this regularly yet, and the format is likely to change around a lot, and we don't have the whole XML feed thing set up quite yet... but the next episode is ready!&lt;/P&gt;
&lt;P&gt;&lt;IFRAME style="WIDTH: 500px; HEIGHT: 375px" src="http://silverlight.services.live.com/invoke/92503/The%20Virtualization%20Nation%20Podcast%20-%20Episode%202/iframe.html" frameBorder=0 scrolling=no&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://silverlight.services.live.com/92503/The%20Virtualization%20Nation%20Podcast%20-%20Episode%202/video.wmv" mce_href="http://silverlight.services.live.com/92503/The%20Virtualization%20Nation%20Podcast%20-%20Episode%202/video.wmv"&gt;Click here to download the .WMV file.&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9590354" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Windows+7/default.aspx">Windows 7</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/WIM2VHD/default.aspx">WIM2VHD</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Virtualization+Nation+Podcast/default.aspx">Virtualization Nation Podcast</category></item><item><title>How To: Install Ubuntu 9.04 in a Hyper-V VM</title><link>http://blogs.msdn.com/mikekol/archive/2009/04/23/how-to-install-ubuntu-9-04-in-a-hyper-v-vm.aspx</link><pubDate>Fri, 24 Apr 2009 03:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9565763</guid><dc:creator>mikekol</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9565763.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9565763</wfw:commentRss><description>&lt;P&gt;The&amp;nbsp;webbernetz are abuzz with news that a new version of Ubuntu has been released today.&amp;nbsp; As such, I figured that I should post instructions on how to get it going under Hyper-V.&lt;/P&gt;
&lt;P&gt;Now, I know that these steps are pretty complex, so I'll try to use as much detail as I can when writing them out.&lt;/P&gt;
&lt;P&gt;Step 1.&amp;nbsp; Download the ISO for Ubuntu.&lt;BR&gt;Step 2.&amp;nbsp; Create a VM and attach the ISO to it.&amp;nbsp; Use a Legacy Network Adapter if you need network access.&lt;BR&gt;Step 3.&amp;nbsp; Turn the VM on.&lt;BR&gt;Step 4.&amp;nbsp; Follow the on-screen instructions.&lt;/P&gt;
&lt;P&gt;That's it.&amp;nbsp; It works right "out of the box", so to speak.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9565763" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+How+To/default.aspx">Hyper-V How To</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Random+Seed/default.aspx">Random Seed</category></item><item><title>WIM2VHD:  1000 downloads and counting!</title><link>http://blogs.msdn.com/mikekol/archive/2009/03/18/wim2vhd-1000-downloads-and-counting.aspx</link><pubDate>Thu, 19 Mar 2009 03:17:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9488526</guid><dc:creator>mikekol</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9488526.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9488526</wfw:commentRss><description>&lt;p&gt;Every now and then, I like to visit the WIM2VHD website and see how many people have downloaded it.&amp;#160; Aside from the ego boost, it’s a nice little figure to pass on to my management so they can see that this project was worth the time that I’ve spent on it.&amp;#160; But yeah, it’s mostly the ego boost :)&lt;/p&gt;  &lt;p&gt;Last night, I decided to check the download count before I went to bed, and I saw something that made me very, very happy:&amp;#160; at around 10:30 PM PDT last night, there were about 1030 downloads.&lt;/p&gt;  &lt;p&gt;That’s right – over 1000 downloads in about 45 days.&amp;#160; Now, when compared to other projects – like Hyper-V – 1000 downloads in a month and a half is not earth shattering.&amp;#160;&amp;#160; But Hyper-V had marketing behind it.&amp;#160; People knew that Hyper-V was coming – it was demoed at conferences and by news outlets.&amp;#160; WIM2VHD was a surprise (and I hope it was a pleasant one).&lt;/p&gt;  &lt;p&gt;It’s very humbling to know that something I’ve been working on is useful to you, and is (hopefully) helping you use Windows and virtualization more efficiently.&lt;/p&gt;  &lt;p&gt;So, to all of the people out there who have downloaded and used WIM2VHD; to all of the people who have blogged about it; tweeted about it, or told co-workers about it; and to everyone who joined the “Fans of WIM2VHD” group on Facebook:&lt;/p&gt;  &lt;p&gt;&lt;font size="6"&gt;Thank you!&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;So, seeing how many people have downloaded WIM2VHD – How are you guys using it?&amp;#160; Are you just playing around with it, or has it actually helped you be more productive?&amp;#160; I’d love to know, so if you don’t mind sharing your stories and experiences please leave a comment letting me know.&lt;/p&gt;  &lt;p&gt;Again, thank you all very, very much.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9488526" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/VIIrtualization/default.aspx">VIIrtualization</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/WIM2VHD/default.aspx">WIM2VHD</category></item><item><title>Does restoring a snapshot break domain connectivity?  Here’s why.</title><link>http://blogs.msdn.com/mikekol/archive/2009/03/18/does-restoring-a-snapshot-break-domain-connectivity-here-s-why.aspx</link><pubDate>Wed, 18 Mar 2009 23:55:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9488025</guid><dc:creator>mikekol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9488025.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9488025</wfw:commentRss><description>&lt;p&gt;This is a pretty common question on our internal mailing lists, and I’d imagine that it’s common outside of Microsoft as well, so I thought it would make a nice blog post (since I’m way behind on blogging…).&lt;/p&gt;  &lt;p&gt;So, you have a VM that’s joined to a domain and working perfectly.&amp;#160; You take a snapshot so you can restore to this magical point of workingness at any time, and life is good.&lt;/p&gt;  &lt;p&gt;One day, you need to fire up this VM and test something, so you revert to your snapshot and start the VM.&amp;#160; That’s when you’re told that the domain doesn’t trust your (virtual) workstation anymore.&amp;#160; What the heck just happened?&amp;#160; No changes were made to the snapshot!&amp;#160; That’s why it’s called a snapshot!&amp;#160; Why did this break?&lt;/p&gt;  &lt;p&gt;Well, you’re right.&amp;#160; No changes were made to snapshot, and that’s part of the problem.&lt;/p&gt;  &lt;p&gt;It’s part of the default Active Directory domain policies for a domain member to change the password for it’s account every now and then.&amp;#160; You’ve no doubt had to change the password for your User Account occasionally, so this shouldn’t be a surprise.&amp;#160; What may be a surprise is that the same thing happens for Computer Accounts.&amp;#160; That’s right – &lt;a href="http://blogs.technet.com/askds/archive/2009/02/13/machine-account-password-process.aspx" target="_blank"&gt;computers have accounts&lt;/a&gt;, too.&lt;/p&gt;  &lt;p&gt;Every now and then (by default, it’s 30 days, but the value is configurable via domain policy), the workstation will negotiate a new password with the domain.&amp;#160; It all happens behind the scenes, so you’d never know it.&amp;#160; It just works.&lt;/p&gt;  &lt;p&gt;Unless you, you know, have a domain-joined VM with snapshots.&lt;/p&gt;  &lt;p&gt;The problem comes about because the workstation – at some point – negotiated a new password with the domain and recorded it for future use.&amp;#160; Then the snapshot was applied, and you turned your VM into a time traveler.&amp;#160; This VM from the past was brought into the future, and has no knowledge of anything that happened in the interim.&amp;#160; So, it thinks that it’s old password is still good.&amp;#160; And it tries to use that password.&amp;#160; And the domain says “um, no”.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Well &lt;strong&gt;that’s&lt;/strong&gt; stupid.&amp;#160; Why does Hyper-V let this happen?&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;It’s not just Hyper-V.&amp;#160; Many years ago, in my previous life as a network admin, this happened all the time to my VMWare images.&amp;#160; The same thing will happen in any situation where you convince Windows that the computer account password is something that it’s not (like restoring a snapshot or any other kind of backup).&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Fine.&amp;#160; What can I do about this?&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;There are three possibilities that I’m aware of.&amp;#160; If anyone has any other suggestions, please feel free to leave them in the comments.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;If you can, change the default domain policy, or get an exception created for your computer account(s).     &lt;br /&gt;This is not the best option because it opens up a security hole (small as it may be).      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Log into a local administrator account on the system and leave the domain.&amp;#160; Then rejoin it.&amp;#160; The computer account will get updated with a new password that your workstation knows.&amp;#160; Alternately, you could &lt;a href="http://support.microsoft.com/default.aspx/kb/260575" target="_blank"&gt;use NETDOM.EXE to reset the computer account password&lt;/a&gt;.       &lt;br /&gt;You could even automate this if you need to.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Sysprep the VM and create an unattend file that will configure it to your liking, and that will &lt;a href="http://technet.microsoft.com/en-us/library/05242ea8-7c20-4d94-bbec-c5344354bf27" target="_blank"&gt;automatically join the domain for you&lt;/a&gt;.&amp;#160; Once the machine is sysprep’d, make a snapshot and restore to that one from now on.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Hope that helps.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9488025" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+Here_2700_s+Why/default.aspx">Hyper-V Here's Why</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>More PowerShell in R2 tricks</title><link>http://blogs.msdn.com/mikekol/archive/2009/02/12/more-powershell-in-r2-tricks.aspx</link><pubDate>Thu, 12 Feb 2009 23:30:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9415720</guid><dc:creator>mikekol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9415720.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9415720</wfw:commentRss><description>&lt;p&gt;The other day, Ben Armstrong posted the steps for &lt;a href="http://blogs.msdn.com/virtual_pc_guy/archive/2009/02/10/enabling-powershell-on-hyper-v-server-2008-r2.aspx"&gt;installing Windows PowerShell on Hyper-V Server 2008 R2&lt;/a&gt;.&amp;#160; How awesome is that?&amp;#160; A real, modern, powerful shell on Hyper-V Server!&lt;/p&gt;  &lt;p&gt;It should be noted that this also works on Windows Server 2008 R2 Core SKUs, so if you’re running Hyper-V on one of those, you can also use this trick.&lt;/p&gt;  &lt;p&gt;So why is this cool?&lt;/p&gt;  &lt;p&gt;Well, first of all, if you install PowerShell on a Server Core SKU, you can use a new and more powerful tool for installing and configuring server roles and features.&lt;/p&gt;  &lt;p&gt;To do this, you need to load the Server Manager module into your shell with the following command:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="3" face="Courier New"&gt;Import-Module ServerManager&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;You can get a list of the new cmdlets that this module provides by running:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="3" face="Courier New"&gt;Get-Module ServerManager&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So, if you’re on a Windows Server SKU, you can install all of your roles or features this way.&amp;#160; To install Hyper-V, you would use this command:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="3" face="Courier New"&gt;Add-WindowsFeature Hyper-V&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Ok, that’s cool and all, but it’s not that spectacular.&amp;#160; So how about being able to actually &lt;em&gt;interact&lt;/em&gt; with Hyper-V from this shell?&amp;#160; Even on Server Core or Hyper-V Server 2008 R2?&lt;/p&gt;  &lt;p&gt;Check out James O’Neill’s &lt;a href="http://www.codeplex.com/PSHyperv"&gt;PSHyperV project&lt;/a&gt; over on CodePlex.&amp;#160; If you download this library, you can interact with Hyper-V directly from your Core console.&amp;#160; &lt;/p&gt;  &lt;p&gt;The first thing to remember is that you need to dot-source the HyperV.ps1 script so that all of the functions remain in memory, like so:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="3" face="Courier New"&gt;. .\hyperv.ps1&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;After you do that, you’ll get a list of all of the new functions and filters that this library provides.&amp;#160; Just as an example, you can create and configure a VM with these commands:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="3" face="Courier New"&gt;$vm = New-VM -name “MyVM”       &lt;br /&gt;Set-VMMemory -vm $vm -memory 2GB        &lt;br /&gt;Set-VMCPUCount -vm $vm -CPUCount 2        &lt;br /&gt;# some other logic to create a hard drive, or attach an existing one.        &lt;br /&gt;Start-VM -vm $vm -wait&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9415720" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Microsoft+Hyper-V/default.aspx">Microsoft Hyper-V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+How+To/default.aspx">Hyper-V How To</category></item><item><title>Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)</title><link>http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx</link><pubDate>Fri, 06 Feb 2009 23:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9402821</guid><dc:creator>mikekol</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9402821.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9402821</wfw:commentRss><description>&lt;P&gt;It was my New Years Resolution that I’d do an average of 2 blog posts per week this year.&amp;nbsp; So far, I haven’t been doing a very good job of that, but I think I have a good excuse.&amp;nbsp; I’ve been very busy with preparing to release a new tool, and now, I can finally announce it.&lt;/P&gt;
&lt;P&gt;Fine citizens of the Virtualization Nation: I present to you the Windows® Image to Virtual Hard Disk Converter, or WIM2VHD as I like to call it.&lt;/P&gt;
&lt;P&gt;WIM2VHD is a tool that will create a bootable VHD from a specified Windows 7 or 2008 R2 WIM image (like the INSTALL.WIM file that ships on the installation DVDs) without having to run Windows Setup.&amp;nbsp; That means that you can a Windows 7 or Windows Server 2008 R2 virtual machine up and running much, much faster.&lt;/P&gt;
&lt;P&gt;You can use these VHDs in Virtual PC, Virtual Server, Hyper-V, and … some other things, too.&amp;nbsp; We’ll talk more about that later.&lt;/P&gt;
&lt;P&gt;You can get WIM2VHD &lt;A href="http://code.msdn.microsoft.com/wim2vhd" mce_href="http://code.msdn.microsoft.com/wim2vhd"&gt;here&lt;/A&gt;.&amp;nbsp; &lt;BR&gt;(The &lt;A href="http://blogs.msdn.com/mikekol/archive/2009/05/05/wim2vhd-release-candidate-now-available.aspx" target=_blank mce_href="http://blogs.msdn.com/mikekol/archive/2009/05/05/wim2vhd-release-candidate-now-available.aspx"&gt;release candidate&lt;/A&gt; has been released, too...)&lt;/P&gt;
&lt;P&gt;I’ve done my best at creating some good documentation for WIM2VHD, which is available from the link above.&amp;nbsp; Please make sure that you read the docs.&amp;nbsp; If you have any questions, feel free to start a discussion thread at the WIM2VHD site.&lt;/P&gt;
&lt;P&gt;Here’s a video I made introducing WIM2VHD, and showing it in action.&amp;nbsp; More are one the way.&lt;/P&gt;
&lt;DIV align=center&gt;&lt;EMBED id=ri87lnnu height=364 type=application/x-shockwave-flash pluginspage=http://macromedia.com/go/getflashplayer width=432 src=http://images.video.msn.com/flash/soapbox1_1.swf mce_src="http://images.video.msn.com/flash/soapbox1_1.swf" allowFullScreen="true" allowScriptAccess="always" flashvars="c=v&amp;amp;v=fe41ef64-47bc-4f13-9f06-abc8884a3758&amp;amp;ifs=true&amp;amp;fr=msnvideo&amp;amp;mkt=en-US"&gt;&lt;/EMBED&gt;&lt;NOEMBED&gt;&lt;/NOEMBED&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;EM&gt;Please be aware, however, that while the underlying process of creating the VHDs &lt;U&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;/U&gt; supported by Microsoft, WIM2VHD is &lt;U&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/U&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;SPAN class=sbmLink&gt;
&lt;TABLE cellSpacing=1 cellPadding=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class=sbmText class="sbmText"&gt;Share this post : &lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Social!" href="http://social.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to MSDN!" href="http://social.msdn.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/msdn.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/msdn.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Technet!" href="http://social.technet.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Expression!" href="http://social.expression.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/expression.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/expression.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;amp;address=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Facebook" href="http://www.facebook.com/sharer.php?u=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;t=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.technet.com/photos/james/images/1765319/original.aspx" mce_src="http://blogs.technet.com/photos/james/images/1765319/original.aspx"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to live" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/live4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/live4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to reddit!" href="http://reddit.com/submit?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to technorati!" href="http://technorati.com/faves/?add=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;t=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9402821" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Microsoft+Hyper-V/default.aspx">Microsoft Hyper-V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Windows+7/default.aspx">Windows 7</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/VIIrtualization/default.aspx">VIIrtualization</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/WIM2VHD/default.aspx">WIM2VHD</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+in+2008+R2/default.aspx">Hyper-V in 2008 R2</category></item><item><title>Problems with QueryPerformanceCounter on Windows Server 2003 Multi-Processor Hyper-V guests?  Here’s why.</title><link>http://blogs.msdn.com/mikekol/archive/2008/10/15/problems-with-queryperformancecounter-on-windows-server-2003-multi-processor-hyper-v-guests-here-s-why.aspx</link><pubDate>Thu, 16 Oct 2008 02:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9001181</guid><dc:creator>mikekol</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9001181.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9001181</wfw:commentRss><description>&lt;P&gt;A friend of mine from another group came to me with a problem he’s been having on some Windows Server 2003 guests.&lt;/P&gt;
&lt;P&gt;They’re doing some nifty stuff with the .NET &lt;A href="http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx" mce_href="http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx"&gt;Stopwatch()&lt;/A&gt; class, and some WPF animations, which uses the &lt;A href="http://msdn.microsoft.com/en-us/library/ms644904.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms644904.aspx"&gt;QueryPerformanceCounter&lt;/A&gt; Win32 API to figure out the timing during the animations.&amp;nbsp; Apparently, when they run their code in Hyper-V, the animations look sort of… not good.&lt;/P&gt;
&lt;P&gt;They’re using Windows Server 2003 SP2 x86, which has been allocated two virtual processors.&lt;/P&gt;
&lt;P&gt;It turns out that our performance guru, Tony Voellm, has already encountered something like this.&amp;nbsp; From Tony’s &lt;A href="http://blogs.msdn.com/tvoellm/archive/2008/06/05/negative-ping-times-in-windows-vm-s-whats-up.aspx" mce_href="http://blogs.msdn.com/tvoellm/archive/2008/06/05/negative-ping-times-in-windows-vm-s-whats-up.aspx"&gt;blog post&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;The root issue comes about from the Win32 QueryPerformanceCounter function.&amp;nbsp; By default it uses a time source called the TSC.&amp;nbsp; This is a CPU time source that essentially counts CPU cycles.&amp;nbsp; The TSC for each (virtual) processor can be different so there is no guarantee that reading TSC on one processor has anything to do with reading TSC on another processor.&amp;nbsp; This means back to back reads of TSC on different VP's can actually go backwards. Hyper-V guarantees that TSC will not go backwards on a single VP.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The fix for this is to modify the guest’s BOOT.INI file by adding the &lt;A href="http://support.microsoft.com/kb/895980" mce_href="http://support.microsoft.com/kb/895980"&gt;/USEPMTIMER&lt;/A&gt; switch to your operating system’s boot entry.&amp;nbsp; This tells the system to use a different timer for QueryPerformanceCounter-related tasks, and should alleviate the problem.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update: &lt;/STRONG&gt;It looks like some people are seeing this as an error in their event logs.&amp;nbsp; The event number is 1054, and the event source is UserEnv.&amp;nbsp; This is the same problem with the same solution, it's just a different way of showing up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-mk&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9001181" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+Here_2700_s+Why/default.aspx">Hyper-V Here's Why</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Making Ubuntu 7.04 Work Under Virtual PC 2007</title><link>http://blogs.msdn.com/mikekol/archive/2007/08/06/making-ubuntu-7-04-work-under-virtual-pc-2007.aspx</link><pubDate>Tue, 07 Aug 2007 04:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4269565</guid><dc:creator>mikekol</dc:creator><slash:comments>51</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/4269565.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=4269565</wfw:commentRss><description>&lt;div class="wlWriterSmartContent" id="scid:B3E14793-948F-49af-A347-D19C374A7C4F:6c5f0934-88f6-45a3-9a07-db417e25ec4c" style="padding-right: 6px; display: inline; padding-left: 0px; float: left; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt; &lt;script type="text/javascript"&gt;&lt;!--
digg_bodytext = 'This isn't exactly on topic for this blog, since up to this point I've really only talked about getting Windows Vista running in a VM, but sometimes it's nice to talk about something else for a change.';
//--&gt;&lt;/script&gt; &lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt; &lt;/div&gt;  &lt;p&gt;This isn't exactly on topic for this blog, since up to this point I've really only talked about getting Windows Vista running in a VM, but sometimes it's nice to talk about something else for a change.&lt;/p&gt;  &lt;p&gt;One of the things that I like most about Virtual Machines is that they let me play with other operating systems besides Windows without having to have a dedicated computer risk its well-being for the task.&amp;#xA0; If something doesn't work in a VM, then a quick click of a button and it's gone.&lt;/p&gt;  &lt;p&gt;One of the other operating systems I've been playing around with lately is Ubuntu Linux.&amp;#xA0; &lt;/p&gt;  &lt;p&gt;There have been a good number of blog posts about getting Ubuntu working under VPC, but I haven't found any of them to be totally comprehensive, so I wanted to do one that encompases all of the issues that I've had getting it running.&amp;#xA0; Please keep in mind that I am certainly not an expert in Linux - I really only know enough to get myself into trouble, but not necessarily back out.&amp;#xA0; Also, I didn't come up with most of the tips here myself - thanks to &lt;a class="" href="http://arcanecode.wordpress.com/" mce_href="http://arcanecode.wordpress.com"&gt;ArcaneCode&lt;/a&gt; for a series of posts about the mouse issues, &lt;a class="" href="http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007/" mce_href="http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007/"&gt;culminating&lt;/a&gt; with indianabeck's tip about the boot parameter.&amp;#xA0; And thanks to my friend Marc Teale who helped me figure out how to fix the video problem, and taught me the fundamentals of actually using Linux and editing the configuration files. And also to Microsoft's own &lt;a class="" href="http://blogs.msdn.com/virtual_pc_guy" mce_href="http://blogs.msdn.com/virtual_pc_guy"&gt;Ben Armstrong&lt;/a&gt;, who pointed me to ArcaneCode in the first place.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;So, the first step, obviously, is to get a Windows PC with &lt;a class="" href="http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx" mce_href="http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx"&gt;Virtual PC 2007&lt;/a&gt; installed.&amp;#xA0; I'm running the x64 version on Windows Vista Ultimate.&amp;#xA0; Download the ISO for Ubuntu in whatever fashion you choose - just remember that Virtual PC only supports 32-bit guests, so make sure you grab the i386 version.&amp;#xA0; Also, you don't need the alternate installer version.&amp;#xA0; Just grab the regular one.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Start Virtual PC, create a VM with the specifications you want, and boot it.&amp;#xA0; During POST, click the CD menu, and capture the Ubuntu ISO you just downloaded.&amp;#xA0; You may need to reset the VM to get it to boot properly.     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;On the Ubuntu boot menu, select &lt;em&gt;Start or install Ubuntu&lt;/em&gt; and hit F6.&amp;#xA0; Add &lt;em&gt;i8042.noloop&lt;/em&gt;&lt;super&gt;&lt;/super&gt; to the end of the line, and press Enter.&amp;#xA0; This will make the mouse work in recent versions of the kernel.&amp;#xA0; &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;When Ubuntu boots to the Live CD and XWindows loads, the graphics will be... not good.&amp;#xA0; You're going to need to change the color depth to make it display correctly.&amp;#xA0; To do that:      &lt;ul&gt;       &lt;li&gt;Hit CTRL-ALT-F1 to drop to a console.&amp;#xA0; &lt;/li&gt;        &lt;li&gt;Type &lt;em&gt;sudo nano /etc/X11/xorg.conf&lt;/em&gt; and press Enter.&amp;#xA0; &lt;/li&gt;        &lt;li&gt;Press CTRL W, type &lt;em&gt;depth&lt;/em&gt; and press Enter.&amp;#xA0; You should see a line that says &amp;quot;DefaultDepth 24&amp;quot;.&amp;#xA0; Delete &lt;em&gt;24&lt;/em&gt; and type &lt;em&gt;16&lt;/em&gt;.&amp;#xA0; &lt;/li&gt;        &lt;li&gt;Press CTRL O, and press Enter to save the file.&amp;#xA0; &lt;/li&gt;        &lt;li&gt;Press CTRL X to exit the nano editor.&amp;#xA0; &lt;/li&gt;        &lt;li&gt;Press CTRL-ALT-F7 to switch back to XWindows - that graphics will still not be right. &lt;/li&gt;        &lt;li&gt;Press CTRL-ALT-Backspace to reload XWindows.&amp;#xA0; The graphics should be good to go now.         &lt;br /&gt;&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Run the installation like you normally would.&amp;#xA0; When installation is complete, Ubuntu will boot, and the video should be correct (it was for me - if it's not, repeat the step listed above), but the mouse won't work.&amp;#xA0; To fix the mouse in a more permenant manner, we'll need to add a kernel parameter to the GRUB loader.&amp;#xA0; Here's how:      &lt;ul&gt;       &lt;li&gt;Boot into Ubuntu on the hard drive. &lt;/li&gt;        &lt;li&gt;Hit CTRL-ALT-F1 to drop to a console and log in. &lt;/li&gt;        &lt;li&gt;Type &lt;em&gt;sudo nano /boot/grub/menu.lst&lt;/em&gt;. &lt;/li&gt;        &lt;li&gt;Press CTRL W and type &lt;em&gt;end default options&lt;/em&gt;, then press Enter. &lt;/li&gt;        &lt;li&gt;The first entry in the list below is the entry containing the information to boot Ubuntu in regular mode.&amp;#xA0; Find the line that starts with &lt;em&gt;kernel&lt;/em&gt; and go all the way to the end of it.&amp;#xA0; At the end, type &lt;em&gt;i8042.noloop&lt;/em&gt;, press CTRL O, and press Enter to save. &lt;/li&gt;        &lt;li&gt;At this point, you can do the same with the other entries, like the recovery mode one if you care enough to bother.&amp;#xA0; If not, just hit CTRL X to exit nano. &lt;/li&gt;        &lt;li&gt;Type &lt;em&gt;sudo reboot&lt;/em&gt; to reboot the VM.&amp;#xA0; &lt;/li&gt;        &lt;li&gt;The next time you boot into XWindows, your mouse should work without issue.&amp;#xA0; (You should also note that if you happen to upgrade your kernel version, you'll need to make this change *again*.)         &lt;br /&gt;&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;And you're good to go do whatever it is you want to do.&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4269565" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category></item></channel></rss>