Cloning Windows Server 2008
In this document, describes how to clone a Windows server 2008, using the Sysprep utility, as NewSID development has been discontinued. First of all, I show the official links of the application:
What is Sysprep: http://technet.microsoft.com/en-us/library/cc721940.aspx
How Sysprep works: http://technet.microsoft.com/en-us/library/cc766514.aspx
Command-line parameters: http://technet.microsoft.com/en-us/library/cc721973.aspx
I think that today everyone knows what Sysprep is and that its use is mandatory whenever we are going to clone any machine, whether it's a server or a post, whether physical or virtual, all machines must have a different SID, this is what Sysprep does, prepare the machine with a different SID and give us the possibility to change the name.
Sysprep no longer comes on the Windows CD, but by default all installations of Windows Server 2008 They bring him in their C:WindowsSystem32SysprepSysprep.exe, The parameters we have at the command line level are:
/audit
Enable audit mode, is used to add customizations to Windows images. Additional device drivers can be added, Install apps and test the validity of the installation. OEMs and organizations should use audit mode to perform their manual customizations before shipping the equipment to an end user. In audit mode, the configuration of an unattended installation response file is processed in the auditSystem and auditUser configuration phases.
/Generalize
This prepares the Windows installation to be created, since with this, we force the SID to be removed, Restore points and event viewer events. When you restart the server with the image, a new SID will be created for it and Windows activation will return to 0 giving you room to reactivate the computer.
/Oobe
When you restart the image, This creates a welcome wizard for us so you can customize the equipment to your liking, Team Name, Users… except if we give it values in an answer file.
/reboot
Restart your computer after running Sysprep.
/shutdown
Shut down your computer after running Sysprep.
/quiet
Doesn't show on-screen information, without asking anything/confirmations.
/Quit
After running the Sysprep, it closes.
/Unattend:ArchivoDeRespuesta.xml
Apply the settings in the response file
Having said we will find the “sysprep.exe” in %windir%System32sysprep
If we run it without parameters, it will open in GUI mode, select the option we are interested in to create a Windows image from ours & “Accept”.
… wait a few seconds while executing what we have just indicated.… and will restart/shut down afterwards, as we have indicated.
When booting the computer after Sysprep, Depending on the assigned parameters, we will get the welcome assistant or not,
We will need to accept the license, “Following”,
or specify a computer name, It all depends on the parameters and if we use any response file. Pressed “Initiate” to start this new team!