Remember to Sysprep your VM’s!

A quick post to warn you of something that many of you fellow pro’s are already aware of.

Working with a client to install Exchange 2010 SP2 in a new virtual environment we experienced the following error on attempting to open the EMC:-

error [0x145AAC30] executing command ‘Get-LinkedRoleGroupForLogonUser’

On initial investigation this appeared to be a “known Issue” after SP2, which I was sceptical of as I have now installed SP2 for a number of clients with no problems at all. Further investigation revealed the true cause of the problem to be linked to SID’s.

The client had created a Template Virtual 2008R2 Server for quick VM deployment, they were under the impression that it had been “syspreped” but it transpired that they hadn’t ticked the box to “Generalize” the server. Consequentially every server that had been deployed from this template had the same SID, leading to this problem, and potentially many more!.

More info on Sysprep here : http://technet.microsoft.com/en-us/library/dd799240(v=ws.10).aspx

As luck would have it the new environment wasn’t yet in production so we were able to uninstall all the rogue servers and remove them from AD & VMware – this could have been a lot worse!

Be aware – make sure you use this option if you are preparing servers….

Advertisements

3 responses to “Remember to Sysprep your VM’s!

  1. i’m into this problem with production servers (a DC and Exchange 2010 SP2) would it be possible to promote a new (not cloned) fresh DC, move fsmo roles to it and depromote the old DC to solve this issue?

    • Hi,
      Yes, I would promote a clean new DC and move all roles to it, then demote the problem DC cleanly if you can before removing it completely.
      This should leave you a clean environment if you haven’t used the temp[late to create any other VM’s.
      Brian

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