Commands for setup.exe installer for Windows 10

The installer program Windows 10 contains a setup.exe that is part of the installation tool, and supports several command prompt commands. With these commands, you can modify the behavior of the Windows installation. Below we describe all the commands available for setup.exe of Windows 10. The orders were given by MDL.windows 10 Windows 10 Windows 10 Windows 10 Windows 10 Windows 10 Windows 10 Windows 10 Windows 10

Command: / auto
Parameters: Upgrade; DataOnly; Clean
What it does: Automates installation with various options
The setup UI screens and installation progress are by default, but everything is automated.

Example: setup.exe / auto upgrade

Command: / quiet

What it does: Cancels every UX setup as well as rollback UX

Example: setup.exe / auto upgrade / quiet

Command: / pkey
Parameters: 5 × 5 product key

What it does: gives setup the product key.
This parameter is not necessary when in Windows licensed or Windows that contain on the installation disc a pid.txt in the sources folder.

Example: setup.exe / auto upgrade / pkey IGURU-GR531-IGURU-J4TGR-IGURU

Command: / showoobe
Parameters: Full; None

What it does: When the / showoobe is set to Full, the end user should manually write the OOBE.
Alternatively, when the / showoobe is set to None, the OOBE (*) is omitted and its items are taken their default settings.

Example: setup.exe / auto upgrade / showoobe full

Command: / noreboot
What it does : the setup will not do automatically on the PC during installation. When the computer starts again the installation will continue.

Example: setup.exe / auto upgrade / noreboot

Command: / DynamicUpdate
Parameters: Enable; Disable

What it does: Specifies whether the installation will proceed to dynamic actions such as search, download, and install updates.

Example: setup.exe / auto upgrade / DynamicUpdate disable

Command: / Postoobe \ setupcomplete.cmd
Parameters: local file path or UNC network path to a file named setupcomplete.cmd

What it does: run the setupcomplete.cmd file from a specific location
Setupcomplete.cmd is a custom script for tasks after the installation is complete, and before the user's first login. Runs with system privileges.

Example: setup.exe / auto upgrade / postoobe c: \ script \ setupcomplete.cmd

Command: / Postrollback
Parameters: Local file path or path to a file in the UNC network on a file named setuprollback.cmd

What it does: Run the setuprollback.cmd file from a specific location
Setuprolback.cmd is a custom script that will perform their tasks when the installation fails and the computer returns to its previous operating system.
It runs with the same rights as the user or the process that started the installation.

Example: setup.exe / auto upgrade / postrollback \ MyShare \ script \ setuprollback.cmd

Command: / installfrom
Parameters: Local file path or network path to a specific .wim

What it does: Specifies the location for the source of the installation

Example: setup.exe / auto clean / installfrom d: \ iGuRuWim \ customwim.wim

Command: / PBRUpdate
Parameters: Enable; Disable

What to do: If / PBRUpdate is set to Enable, the setting will update or create the PBR partition.
Instead, when / PBRUpdate is set to Disable, the setting will not update or create a PBR partition

Example: setup.exe / auto upgrade / PBRupdate disable

Command: / migratealldrivers
Parameters: All; None

What it does: When / migratealldrivers are set to All, setup will try to integrate all drivers as part of the installation.
By contrast, when / migratealldrivers are set to None, setup will not do anything with drivers during installation.
NOTE: This command should only be used for testing and generally only on test pcs. It should not be used in production lines.

Example: setup.exe / auto upgrade / migratealldrivers none

Command: / installdrivers
Parameters: Local file path or file path to a UNC network in the folder containing files. inf.

What it does : Setup will run all driver .infs found in the specified location during of the installation.
Setup will perform in all subfolders located in the specified location.

Example: setup.exe / auto upgrade / installdrivers c: \ igurauUpgrade \ drivers

Command: / Telemetry
Parameters: Enable; Disable

What it does: When / Telemetry is set to Enable, the setup will collect and upload the telemetry made by the installation. With the Disable parameter it will not.

Example: setup.exe / auto upgrade / Telemetry enable

Command: / copylogs
Parameters: Local file paths and network UNC paths

What it does: If the installation fails, the setting will copy or upload compressed logs to that location.
Note that the computer and/or user should have permission and access to for the specified file path.

Example: setup.exe / auto upgrade / copylogs \ iGuRu_Share \ UpgradeLogs

Below is an example of usage.

An installer may want to have logs and other diagnostic information from test computers in case of failure.
The following command prompt in setup will invoke the setuprollback.cmd script after the installation failed:

Setup.exe / auto upgrade / installdrivers c: \ iGuRuUpgrade \ drivers / postrollback c: \ setuprollback.cmd

(*) OOBE is the origin of the Out Of Box Experience

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.100 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).