My experience with Microsoft technology

My experience with Microsoft technology

Syspreping Windows 2008 R2 more than 3 times

leave a comment »

Hi,

while trying to install SQL Server with VMM 2012 I had to sysprep my image several times. Today this process failed. After a minute of searching I found that you can sysprep your image only three times because each time you generalize your image a rearm is done. Microsoft suggest to rebuild the image (http://support.microsoft.com/kb/929828/en-us). As the article explains you can work around the issue with an answer file and skipping the rearm. But I didn’t want to rebuild a searched a bit more and found a couple of suggestions. What worked for me was the following:

1. Change the value of the following registry keys (note that the location of the keys are different in different versions of windows):

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\
CleanupState:2

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\
GeneralizationState:7

2. Start -> Run : msdtc -uninstall (wait a bit, there will be no success message)
3. Start -> Run : msdtc -install (wait a bit, there will be no success message)
4. Restart the machine
5. Check the registry for the right registry keys values
6. Sysprep (You can do it using the GUI but if you have to sysprep again you should use an answer file with skiprearm)

Alex

Advertisements

Written by alexanderschmitt

5. September 2011 at 14:53

Posted in Miscellaneous

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: