Tip of the Day: Windows Setup Command Line Options

Today’s Tip…

Do you use automation to deploy a new operating system or complete an upgrade? Ever care to know what is occurring behind the scenes?

Or do you like to do things the old school way with setup.exe? Want know to know more options for customizing that experience?

Well, here you go!

clip_image001

Command-Line Options:

setup.exe [/1394debug:<channel> [baudrate:<baudrate>]]

[/addbootmgrlast]

[/Auto {Clean | DataOnly | Upgrade}]

[/busparams:<bus.device.function>]

[/CompactOS {Enable | Disable}]

[/Compat {IgnoreWarning | ScanOnly}]

[/CopyLogs<location>]

[/debug:<channel> [baudrate:<baudrate>]]

[/DynamicUpdate {enable | disable}]

[/emsport: {COM1 | COM2 | usebiossettings | off} [/emsbaudrate:<baudrate>]]

[/InstallDrivers<location>]

[/installfrom <path>]

[/InstallLangPacks<location>]

[/m:<folder_name>] [/noreboot] [/tempdrive:<drive_letter>]

[/MigrateDrivers {all | none}]

[/netdebug:hostip=<w.x.y.z>,port=<n>,key=<q.r.s.t>[,nodhcp][,busparams=n.o.p]]

[/NoReboot]

[/PKey <product key>]

[/PostOOBE<location>[\setupcomplete.exe]]

[/PostRollback<location>[\setuprollback.exe]]

[/Quiet ]

[/ResizeRecoveryPartition {Enable | Disable}]

[/ShowOOBE {full | none}]

[/Telemetry {Enable | Disable}]

[/TempDrive:<drive_letter>]

[/unattend:<answer_file>]

[/Uninstall {enable | disable}]

[/usbdebug:<hostname>]

[/wdsdiscover]

[/wdsserver:<servername>]

For more information on these options, check out this MSDN article.

Reference: “Windows Setup Command-Line Options” - https://msdn.microsoft.com/en-us/library/windows/hardware/dn938368(v=vs.85).aspx