Running Sysprep

You can run Sysprep from the command line or from the graphical user interface (GUI). When you run Sysprep from the command line, you can use various command-line parameters to control the way Sysprep runs. This chapter assumes you are running Sysprep from the command line, since you must use the command line to automate Sysprep. The following shows the syntax of the Sysprep command line, and Table 15-3 describes each command-line option:

sysprep [-bmsd] | { {[-factory] | [-reseal]} {[-clean] | [-activated]
[-audit] [-forceshutdown] [-mini] [-noreboot] [-nosidgen] [-pnp]
[-quiet] [-reboot]} }

Table 15-3. Sysprep Command-Line Options

Option

Description

-activated

Does not reset the grace period for Windows Product Activation. Use this ...

Get Microsoft® Windows® Desktop Deployment Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.