Hyper V 2012: The virtual desktop is not Sysprep generalized

Scenario:
Environment – Windows Hyper V 2012 with base image template as Windows 7.
In the process of creating/deploying virtual machine from a template, you may come across the below error when you select the template in the Virtual Desktop Template wizard screen.
h8
“The virtual desktop is not Sysprep generalized”
Cause:
This issue occurs when the base image (template) was not sysprep’ed before shutdown or turning into a template.
Solution:
Power On the base image VM, login with administrative credential, follow below steps to run sysprep:
Go to Start > Run > type Powershell > Hit Enter
On the powershell command prompt, cd (change directory) to the sysprep directory (C:\windows\System32\sysprep)
Type .\sysprep /generalize /oobe /shutdown and hit enter
h10
PS C:\> cd windows
PS C:\windows> cd .\System32
PS C:\windows\System32> cd sysprep
PS C:\windows\System32\sysprep> .\sysprep /generalize /oobe /shutdown
“Sysprep is working…” window pops up and processing takes place for 3-4 minutes approx. and the VM automatically shutdown.
h9
Now, at this point you are ready to deploy VMs from the template!
Advertisements

About cloudray

Predominantly based around Virtualization, but will include other technology related information and anything else I find interesting and feel the need to share with you. I also use this Blog as both a place to store useful information that I think that will come in handy to me at some point in the future, and also a place to help aid my learning. I find a great way to learn about something is to research about it and then write it up in my own words. I'm Pushpal Ray, from India. As a certified VCP3/4/5 professional, I am currently working as an Independent Consultant. Over 10 years of IT-industry experience, currently focused around the Desktop Virtualization(End-User Computing). I also have extensive experience in Windows Administration, Datacenter Migration, Workload profiling & benchmarking. At my leisure, I enjoy hiking, running, photography, spend hours in my fav coffee shop & spend quality time with my wife. Occasionally, catch up with few friends for a drink!
This entry was posted in Enterprise Virtualization, Microsoft Hyper-V and tagged . Bookmark the permalink.

2 Responses to Hyper V 2012: The virtual desktop is not Sysprep generalized

  1. Zoran Jovanic says:

    Tried and tried to somehow organize things and after installing integration tools and sysprepd, hyper-v2012 says that my integration tools are not appropriate. It seems that after sysprepd, integration tools are somehow “downgraded” and I am totally frustrated. Hope that win 8.1 will die.

  2. Anonymous says:

    Thanks for the quick instructions. Worked perfectly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s