Important Hyper-V Update–July 2013 rollup

The Windows Server 2012 July 2013 update rollup is an important one to install on Hyper-V servers.  Specifically because of this update: 2853952  Active Directory database becomes corrupted when a Windows Server 2012-based Hyper-V host server crashes While I have been running Active Directory with no problems on Windows Server 2012, I have talked to… Read more

Configuring wide screen resolutions in a Hyper-V virtual machine

I recently had to do some demonstrations on my laptop – which has a 1366 x 768 display.  This made it hard to use Hyper-V virtual machines, which default to 1024 x 768 and only allow you to configure 4 x 3 resolutions. Luckily, it is actually possible to setup a Hyper-V virtual machine with… Read more

Creating a Virtual Machine with WMI v2

Most people use the built in Hyper-V PowerShell cmdlets to control Hyper-V these days.  That said, there are people out there who program directly to our WMI APIs.  In Windows Server 2012 we introduced a new WMI namespace – and recently I have been getting a number of questions about how to convert code that… Read more

PowerShell script to tell you if you need to update your Integration Services

A while ago I did a blog post that showed you how easy it was to check what version of the Integration Services were installed inside your virtual machines.  However, a number of people came back to me and said: “Ben, I do not really care about the version number of the integration services –… Read more

Convert-WindowsImage Script

In the past I have pointed out the excellent WIM2VHD tool, that allows you to take Windows installation media and create template virtual machines without ever starting a virtual machine.  There is now an updated version of this script that takes advantage of the new PowerShell functionality in Windows Server 2012.  The result is that… Read more

Compacting Virtual Hard Disks in Windows 8 / Windows Server 2012

Recently the “Ask the Core Team” blog did a great post about compacting a dynamically expanding virtual hard disk in Windows 8 / Windows Server 2012.  You should check out their full post for the details, but the summary is that you now need to manually mount the virtual hard disks in the management operating… Read more

Converting a VHD to a VHDX

In Windows Server 2012 / Windows 8 we have introduced a new virtual hard disk format called “VHDX”.  There are a number of advantages to this format: Support for greater than 2TB disks Better performance for dynamic and differencing disks Better handling of different disk sector sizes And more… But what if you have a… Read more