Q. How do I register the Hyper-V VSS writer with the built-in Windows Server Backup application?
June 25, 2009
A. I'm a big Microsoft fan, but it's a pretty well known fact that sometimes the corporation makes decisions that don't make sense.
Hyper-V provides a great VSS writer that lets VSS snapshot requests be forwarded to guest OSs so that the integrity of virtual machine (VM) backups is ensured as the VSS writers in the guest OSs are activated.
Windows Server has a backup application, Windows Server Backup. Many companies may use the in-box backup application to back up their Hyper-V servers, thinking the great Hyper-V VSS writer is being used. Well, it's not. By default, the VSS writer for Hyper-V isn't registered with Windows Server Backup, which means the backups you make with the in-box tool aren't calling the VSS writers in your VMs. The backups you make of your virtual hard disks may not actually be usable in a restore situation.
The solution is to register the VSS writer with Windows Server Backup manually.
Start the registry editor (regedit.exe) on the Hyper-V box.
Navigate to HKLMSOFTWAREMicrosoftWindows NTCurrentVersion.
From the Edit menu, select New then Key and enter a name of WindowsServerBackup. Select this new key.
Under WindowsServerBackup, create a new key called Application Support.
Under Application Support, create a new key called {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}, as shown below.
Under this key, create a String value (Edit New then String Value) named Application Identifier and press Enter.
Double click the new value and set the value data to Hyper-V. Click OK.
Exit the registry editor.
Click to expand. |
Alternatively, save the following into a file named hypervvsswriterregister.reg then double-click it.
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWindowsServerBackupApplication Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}]"Application Identifier"="Hyper-V"
This will create the keys and values for you.
Related Reading
Videos:
Audio:
Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.
About the Author
You May Also Like