Windows 7: Using sysprep

0
243

The Microsoft tool “Sysprep.exe” will allow us to prepare our system for deployment, for cloning or even simply to return to a factory configuration like during the first use of the operating system.

 

Source

You can find the Microsoft tool “Sysprep.exe” here:

c:\windows\system32\sysprep\sysprep.exe

Sysprep

 

Graphical Case

Run the sysprep tool located in the directory “C:\Windows\System32\sysprep”

 

Several options are possible :

System cleanup Action

  • Enter OOBE (Out of Box Experience) mode : this mode allows us to restart the computer and thus be able to configure the system settings (System account, network security, time zone, etc…).
  • Between audit system mode : this mode allows us to restart the computer in audit mode and able to integrate drivers or install applications. It is possible to restart the computer as many times you want, it will be always in audit mode.

 

Check the generalizing box allows you to remove any setting that is specific to the system as “its name”, “its logs”, “its restore points”, and “its hardware informations”. This option is required if you want to eventually create a deployment image.

Several “shutdown Options” are possible :

  • Stop the system : Shutdown the computer after the sysprep
  • Exit : Once sysprep is finished, the computer is available again
  • Restart : Restart the computer after the sysprep

Sysprep

 

Command line Case

You can run the sysprep.exe command-line, here are a few examples.

 

/audit

SEE the above explanations

 

/ generalize

SEE the above explanations

 

/OOBE

SEE the above explanations

 

/reboot/shutdown/quit

SEE the above explanations

 

/ quiet

Remove the display when using the sysprep

 

/Unattend

To switch an unattend.xml answer file when using the sysprep

JL
Fondateur de sys-Advisor.com, Passionné avant tout, je partage mon quotidien à travers ce site. #sysadmin #microsoft #vmware #tech #geek @sysadvisor

LAISSER UN COMMENTAIRE

Please enter your comment!
Please enter your name here