Freigeben über


NicolTIP#009: How to Sysprep a machine with Windows 2003, Windows 2008 / 2008R2, Windows 7

I’m writing here because every time I need to set up a bunch of virtual machines, I have to go back and look up where to find the Sysprep tool and how to use it.

Windows 2008, Windows 2008 R2, Windows 7:

C:\Windows\System32\sysprep\sysprep.exe

 

 

Windows 2003:

Open <DVD>:\Support\Tools\Deploy.cab and extract setupcl.exe, setupmgr.exe, and sysprep.exe to C:\Sysprep. (N.B. C: is your system drive. If you installed Windows to another drive letter, use that drive letter rather than C:.)

Run setupmgr.exe from C:\Sysprep.

The Setup Manager wizard starts. Click Next...

Create new... Next...

Select "Sysprep setup". Next...

Select the correct OS version... Next...

Select "No, do not fully automate the installation"... Next...

Enter Name and Organization, Time Zone, Product Key, and Workgroup or Domain. The other settings can remain defaulted. Note that you don't want to specify the computer name since you will be creating multiple computers from the base image and you don't want to specify the admin password, even encrypted. If the sysprep program can extract the password from the answer file, so can any hacker worth their salt. Click Next... through to the end.

Finish... Save to C:\Sysprep\sysprep.inf. OK...

Wait while Setup Manager finishes. Cancel... (Yes, odd way to exit a program that has completed successfully.)

Run sysprep.exe.

Click OK.

Ensure that "Don't regenerate security identifiers" is UNCHECKED. You want to regenerate the SIDs when each new clone boots.

Click Reseal, OK to confirm that you want to regenerate SIDs, and wait for the system to shut down.

Comments

  • Anonymous
    January 18, 2010
    Muchas Gracias por la informacion...