This post is being written before the preview release is out, and before guidance has been written. It is based on what we know from TechEd NA 2013.

Upgrading a non-clustered Hyper-V host has never been easier.  Microsoft did some work to increase compatibility of VM states between WS2012 and WS2012 R2.  That means you don’t need to delete snapshots.  You don’t need to power up VMs that were in saved states and shut them down.  Those files are compatible with WS2012 R2 Hyper-V.

There are 2 ways to upgrade a WS2012 R2 Hyper-V host.

Do An In-Place Upgrade

You log into your WS2012 R2 host, shutdown your VMs or put them in a saved state, pop in the WS2012 R2 media, and do the upgrade.  The benefit is that you retain all your settings, and the VMs are right there in Hyper-V Manager with no effort.  The downside is that any crap you might have had on the Management OS is retained.  Microsoft always recommends a fresh install over an in-place upgrade.

Replace The Management OS & Import/Register The VMs

I prefer this one.  But be careful – do not use this approach if any of your VM files/settings are on the C: drive of the host – I hate those default locations in Hyper-V host settings.

You shutdown the host, pop in the media, and do a fresh install over the C: drive of the host.  This gives you a completely fresh install.  Yes, you have to rebuild your settings but that can all be scripted if you’re doing this a lot.  The final step is to import the VMs using the register option.  This simply loads up the VMs, and then you start up whatever VMs you require.

Upgrading to Windows 8.1 Client Hyper-V

This is a little off-topic but it’s related.  You can upgrade a PC from Windows 8 with Client Hyper-V to Windows 8.1.  The upgrade will automatically put running VMs into a saved state.  After the upgrade, the previously running VMs will be running.

Integration Components

The final step in any Hyper-V upgrade is to upgrade the Hyper-V Integration Components in the guest OS of each virtual machine.

4 comments so far

Add Your Comment
  1. Thanks for the info. Whilst not advised it would certainly save me a lot of time doing an in-place upgrade. Do you know if this is at all possible for the Hyper-V host? I have a small client running SBS 2011 Premium with 2xVMs (SBS + the extra Windows instance as an RS host) on Hyper-V server 2012. There’s not another server there to do migrate to but the VMs are backed up using Altaro free edition (since there’s only 2 VMs) so if it goes wrong I’d still have something to recover from.

    • Yes

  2. Hi…

    Are you planning on doing a post about upgrading clustered Hyper-V hosts? The good ol’ drain a host, upgrade, (create a new cluster), lather, rinse, repeat won’t work, since in my specific case all the VHDX’s is served from a CSV, hosted on a NetApp SAN. If I were to make a new cluster, it wouldn’t be able to connect to the CSV LUN to get the VM’s VHDX’s.

    • You’ll find one in a while on the Petri IT Knowledgebase.

Get Adobe Flash player