Win10 Preview: Setup.exe command line parameters explain

  

Computer shop news: Setup.exe as part of the Win10 preview installation file, in fact, not only can be run by double-clicking. By adding various command line arguments behind it, we can customize the Windows 10 installation behavior to some extent. Below, the Win10 home also brings you some command line parameters.


▼Win10 system installer Setup.exe command line parameters detailed:

Command 1: /auto

• Available parameters: Upgrade; DataOnly ;Clean

• Role: Automated installation deployment and migration, the installation process and the interactive interface will still be displayed, but will be set automatically. This parameter will also automatically apply the following default settings: Auto Accept EULA Protocol, Install Update Default Enable, Telemetry Data Collection and Upload Default On, OOBE Interaction Interface will be skipped directly, hard disk partition boot record will be upgraded or created.

• Example: setup.exe /auto upgrade Automatically upgrades the installation.

Command 2:/quiet

• Available Parameters: None

• Function: This command will hide all installation interfaces, including after the failure. Roll the interface.

• Example: setup.exe /auto upgrade /quiet Silent automatic upgrade installation.

Command 3: /pkey

• Available Parameters: Product Serial Number

• Function: Install Win10 system with a specific product serial number.

• Example: setup.exe /auto upgrade /pkey ABC12-DEF34-GHI56-JKL78-MNP90 Automatic upgrade installation and use the following serial number

Command 4:/showoobe

• Available parameters: Full; None

• Function: After using the Full parameter, the user must manually complete the entire OOBE setting interface, both the installation process after the system is installed; when the None parameter is used The OOBE setup process will be skipped directly and all set to the default settings.

• Example: setup.exe /auto upgrade /showoobe none Automatically upgrades the installation without displaying the OOBE interface.

Command 5: /noreboot

• Available Parameters: None

• Function: After completing the operation under the current system, the installer will automatically restart the computer to enter After the installation process, the computer will not restart automatically after adding this command. The installer will start automatically the next time the computer restarts.

• Example: setup.exe /auto upgrade /noreboot Automatically upgrades the installation, but does not automatically restart the computer.

Command 6:/DynamicUpdate

• Available Parameters: Enable; Disable

• Function: Set whether the installer performs automatic search and download during the installation process. Install the latest updates.

• Example: setup.exe /auto upgrade /DynamicUpdate disable Automatically upgrades the installation, but does not perform an automatic update operation.

Command 7:/Postoobe \\setupcomplete.cmd

• Available Parameters: The setupcomplete.cmd file path located on a local or UNC network.

• Role: Insert and run the setupcomplete.cmd file at a specific location, which can be customized as needed. The specific installation time is before the first user logs in after the system is installed. This file will run as a system administrator.

• Example: setup.exe /auto upgrade /postoobe c:\\script\\setupcomplete.cmd Automatic upgrade installation, run the administrator as "under C:\\script" before logging in to the system for the first time. “setupcomplete.cmd” file.

Command 8:/Postrollback

• Available Parameters: The setuprollback.cmd file path located on a local or UNC network.

• Function: When the Win10 installation fails, and the system automatically rolls back to the previous version of the system, the setuprollback.cmd file is automatically run with administrator privileges.

• Example: setup.exe /auto upgrade /postrollback c:\\script\\script\\setuprollback.cmd Automatically upgrade the installation, when it fails and rolls back to the previous version of the operating system, the automatic execution is located at “ C:\\script” under the “setuprollback.cmd” file.

Command 9: /installfrom

• Available Parameters: The “xxx.wim” file located in the local or UNC network path.

• Function: Set the installation source location.

• Example: setup.exe /auto upgrade /installfrom d:\\myWim\\customwim.wim Use the customwim.wim file under “D:\\myWim” to automatically upgrade and install Win10.

Command 10:/PBRUpdate

• Available Parameters: Enable; Disable

• Role: When set to Enable, the installer will upgrade or create a hard disk partition boot record . Conversely, when set to “Disable", the hard disk partition boot directory will not be created or upgraded.

• Example: setup.exe /auto upgrade /PBRupdate disable Automatically upgrade and install Win10 without upgrading or creating an existing hard disk partition boot directory.

Command 11:/migratealldrivers

• Available Parameters: All; None

• Role: When set to All, the installer will attempt to install all Driver; if None is selected, no drivers will be installed during system installation. This command is only used in a test environment and cannot be used in actual products.

• Example: setup.exe /auto upgrade /migratealldrivers none Automatically install and install Win10 without installing any version of the driver.

Command 12: /installdrivers

• Available Parameters: A folder located under a local or UNC network path containing a driver file with the suffix inf.

• Function: When this option is set, Win10 will traverse the search and install all the inf driver files in the specified folder during the installation process. You can use this feature to install all the drivers that were backed up before.

• Example: setup.exe /auto upgrade /installdrivers c:\\myUpgrade\\drivers Automatically upgrade and install Win10 system and install all suffixes from “c:\\myUpgrade\\drivers” to “*. Inf” driver.

Command 13:/Telemetry

• Available Parameters: Enable; Disable

• Function: When the Enable option is set, the system collects during the installation process and Upload all the installation telemetry information; otherwise, if it is set to Disable, the upload will not be collected.

• Example: setup.exe /auto upgrade /Telemetry enable Automatically upgrade and install Win10, and collect and upload telemetry information during installation.

Command 14:/Copylogs

• Available Parameters: Paths under Local or UNC Network

• Role: Once Win10 installation fails, the system will be relevant The log files are packaged and uploaded to the directory specified above; only the system administrator rights users can view related files.

• Example: setup.exe /auto upgrade /copylogs \\MyShare\\UpgradeLogs Automatic update to install Win10, if it fails, upload the log file to “\\MyShare\\UpgradeLogs”

Copyright © Windows knowledge All Rights Reserved