Windows 10 Setup Command-Line Arguments

Windows 10 Setup Command-Line Arguments

This post lists the command-line arguments available from the Windows 10 setup executable.

Contents

Syntax

Setup.exe
  [/1394debug:<channel>]
  [/addbootmgrlast]
  [/auto <upgrade|dataonly|clean>]
  [/busparams:<bus.device.function>]
  [/copylogs <destination_path_for_setup_logs>]
  [/debug:<port> [/baudrate:<baudrate>]]
  [/emsport:[<port>|usebiossetting] [/emsbaudrate:<baudrate>]]
  [/installdrivers <driver_folder_path>]
  [/installlangpacks <language_pack_folder_path>]
  [/netdebug:hostip=<w.x.y.z>,port=<n>,key=<q.r.s.t>]
  [/noreboot]
  [/pkey <product_key>]
  [/postoobe <setupcomplete.cmd_path>]
  [/quiet]
  [/showoobe <none|full>]
  [/unattend:<answer_file_path>]
  [/usbdebug:<targetname>]

Arguments

/1394debug:<channel>
  Enables kernel debugging over an IEEE 1394 (Firewire) port.
/addbootmgrlast
  Instructs Windows setup to add the Windows Boot Manager as the last entry in UEFI firmware boot order. This option is only supported on UEFI machines running Windows Preinstallation Environment 4.0 or later.
/auto <upgrade|dataonly|clean>
  Enables automatic install with the corresponding migration choice.
/busparams:<bus.device.function>
  Specifies the target controller when multiple controller exist. This syntax is appropriate when using 1394, USB or NET debugging.
/copylogs <destination_path_for_setup_logs>
  Instructs Windows setup to copy setup log files to the specified location.
/debug:<port> [/baudrate:<baudrate>]
  Enables kernel debugging over a COM (Serial) port.
/emsport:[<port>|usebiossetting] [/emsbaudrate:<baudrate>]
  Enables or disables Emergency Management Services (EMS).
/emsbaudrate:<baudrate> optionally specifies the baud rate to use while transferring data.
/installdrivers <driver_folder_path>
  Instructs Windows Setup to install drivers from the specified location.
/installlangpacks <language_pack_folder_path>
  Instructs Windows setup to install language packs from the specified location.
/netdebug:hostip=<w.x.y.z>,port=<n>,key=<q.r.s.t>
  Enables kernel debugging over the network.
/noreboot
  Instructs Windows setup not to restart the computer. This will only suppress the first reboot. Subsequent reboots, if required, will not be suppressed.
/pkey <product_key>
  Instructs Windows setup to use the specified product key. The product key must be given in the form of ABCDE-12345-FGHIJ-67890-LMNOP, including dashes.
/postoobe <setupcomplete.cmd_path>
  Instructs Windows setup to copy and use setupcomplete.cmd script from the specified location.
/quiet
  Suppresses Windows setup’s user interface.
/showoobe <none|full>
  Instructs Windows setup to skip (none) or force (full) the Windows Out-of-box-experience.
/unattend[:<answer_file_path>]
  Enables unattended Windows setup mode.
/usbdebug:<targetname>
  Enables kernel debugging over a USB 2.0 port.
For additional information on Setup command-line arguments, reference the Setup Help file. For information on command-line arguments specific to Windows Deployment Services, see the Windows Deployments Services documentation.

Microsoft®, Windows® are trademarks of Microsoft Corporation.

Disclaimer: No liability is accepted (whether under the law of contract, the law of torts or otherwise) in relation to the contents of, or use of, or otherwise in connection with, this website to the extent that the website is provided free-of-charge, for any direct loss; for any indirect, special or consequential loss; or for any business losses, loss of revenue, income, profits or anticipated savings, loss of contracts or business relationships, loss of reputation or goodwill, or loss or corruption of information or data. These limitations of liability apply even when expressly advised of the potential loss.

Leave a Reply