sysprep on a new VM


I performed a PtoV and have my new VM created. I'd like to add this new VM to my existing domain, however from my understanding I will need to perform a sysprep. Before I did the PtoV within VMWARE Converter, the physical box was part of the domain. I'd like to change the hostname and rejoin, but I'd like to know how to do a sysprep. I appreciate your help!


Jaime CamposAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott CSenior EngineerCommented:
Just do a start/run "sysprep"  it should be in your system path.

The default location should be c:\windows\system32\sysprep

You want to choose generalize and oobe (out of box experience).  Then the only other option is shut down or reboot.

What version of Windows are you running this on?  Shouldn't matter, but it's good to have all information.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jaime CamposAuthor Commented:
That wouldn't erase my application on the system that from when it was a physical setup
Scott CSenior EngineerCommented:
Just to be safe, I'd remove it from the domain and place it in a workgroup before running sysprep.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Scott CSenior EngineerCommented:
No.  Applications would be left alone.  It just basically strips out the GUID, password, etc.

Of course, make a backup of your VM before just to be safe.
Jaime CamposAuthor Commented:
cool. I'll put into workgroup, good idea.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No need to Sysprep really! either!

when you join the VM to the Domain, it get's a new Domain SID!
Lee W, MVPTechnology and Business Process AdvisorCommented:
sysprep'ing a machine that has been in production is unsupported.  Sysprep is intended for use with image creation - not "eventual" machine duplication.

if you are P2V'ing a system and will DESTROY the physical machine's install, then there is no need to worry about this - the machine remains unique on the network

If you are trying to duplicate a production system and the physical machine will remain online afterwards, basically, you can't and still be in a supported state.

If you created a base image using a volume license media and you want to make this a master copy, it SHOULD have been done in Audit mode, then sysprep is required.

Taking shortcuts can get you into trouble.  Microsoft tests patches and updates by using SUPPORTED configurations.  When you do things in ways Microsoft doesn't support, patches could one day BREAK your systems and you'd have no idea why and Microsoft may not be able to help.  DO IT RIGHT!!

Finally SYSPREP is not JUST a SID Changer.  It does a lot of things to ensure your Windows install is seen as unique on the network.  Building deployable images REQUIRES sysprep, regardless of which tools you may want to use to image and deploy.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.