Sysprep Command-Line Settings (Standard 7 SP1)

7/8/2014

This topic describes the options related to the Windows Embedded Standard 7 version of the Sysprep.exe command-line tool.

Where to Find Sysprep

Sysprep is automatically installed when you install Standard 7. You can find it in the %WINDIR%\System32\Sysprep folder.

Sysprep Command-Line Options

The following table shows the available command-line options for Sysprep.

sysprep.exe [/oobe | /audit] [/generalize] [/reboot | /shutdown | /quit] [/quiet] [**/unattend:**answerfile]

Option

Description

/audit

Restarts the computer in audit mode. Audit mode enables you to add more drivers or applications to Standard 7. You can also use this option to test an installation of Standard 7 before you send it to a user.

If an unattended Image Builder file is specified, the audit mode of Image Builder runs the auditSystem and auditUser configuration passes.

/generalize

Prepares the Standard 7 installation to be imaged. If this option is specified, all unique system information is removed from the Standard 7 installation. The security ID (SID) resets, any system restore points are cleared, and event logs are deleted.

The next time that the computer starts, the specialize configuration pass runs. A new SID is created, and the clock for Windows Product Activation resets, if the clock has not already been reset three times.

/oobe

Restarts the computer in Windows Welcome mode. Windows Welcome enables users to customize their Standard 7 operating system, create user accounts, name the computer, and other tasks. Any settings in the oobeSystem configuration pass in an answer file are processed immediately before Windows Welcome starts.

/reboot

Restarts the computer. Use this option to audit the computer and to verify that the first-run experience operates correctly.

/shutdown

Shuts down the computer after Sysprep is finished.

/quiet

Runs Sysprep without displaying onscreen confirmation messages. Use this option if you automate Sysprep.

/quit

Closes Sysprep after you run the specified commands.

/unattend:answerfile

Applies settings in an answer file to Standard 7 during an unattended installation.

answerfile

Specifies the path and file name of the answer file to use.

Ff793967.Caution(en-US,WinEmbedded.60).gifCaution:
If the PID (also known as a ProcessID) in the answer file does not match the PID in the run time, you may receive a Fatal Error message.

See Also

Other Resources

Sysprep Technical Reference