Upgrade Windows
Useful resources about upgrading Windows.
Upgrade Windows
Media Creation Tool (MCT)
Most informations comes from https://github.com/AveYo/MediaCreationTool.bat/blob/main/MediaCreationTool.bat .
Hiden CLI options
Option | Description |
---|---|
/Eula Accept |
Automatically accepts the End User License Agreement. |
/Retail |
Specifies the retail version of Windows. |
/MediaLangCode <language-code> |
Sets the language for the media (e.g., en-US for English). |
/MediaArch <architecture> |
Specifies the architecture (e.g., x64 or x86). |
/MediaEdition <edition> |
Specifies the edition of Windows (e.g., Professional, Enterprise). |
/Action <action> |
Specifies the action to perform, such as CreateMedia . |
/Download |
Downloads the necessary files. |
/Web |
Allows downloading from the web. |
/Telemetry Disable |
Disables telemetry. |
/DynamicUpdate Disable |
Disables dynamic updates. |
/MigrateDrivers all |
Migrates all drivers. |
/ResizeRecoveryPartition disable |
Disables resizing of the recovery partition. |
/ShowOOBE none |
Specifies the Out of Box Experience settings. |
Older MCT
Download full ISO
MediaCreationTool.exe /Retail /MediaEdition Enterprise
A product key is needed, but you can use the KMS one. See https://learn.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys?tabs=server2025%2Cwindows1110ltsc%2Cversion1803%2Cwindows81 .
ISO’s setup.exe
CLI options
Option | Description |
---|---|
/1394Debug | Enables kernel debugging over an IEEE 1394 (FireWire) port during Windows Setup. |
/AddBootMgrLast | Adds the Windows Boot Manager as the last entry in the UEFI firmware boot order. |
/Auto | Performs an automated upgrade to a newer version of Windows. |
/BitLocker | Specifies the BitLocker status during upgrades. |
/BusParams | Specifies the PCI address of a 1394, USB, or NET debug port. |
/ConfigFile | Specifies the location of the setup configuration file. |
/CompactOS | Specifies whether to use the Compact OS feature to save hard drive space. |
/Compat | Instructs Windows Setup how to handle compatibility scans and messages. |
/CopyLogs | Copies or uploads compressed logs upon failure to the specified location. |
/Debug | Enables kernel debugging over a communications (COM) port during Windows Setup. |
/DiagnosticPrompt | Specifies that the Command Prompt is available during Windows Setup. |
/DynamicUpdate | Specifies whether Windows Setup will perform Dynamic Update operations. |
/EMSPort | Enables or disables Emergency Management Services (EMS) during Windows Setup. |
/EULA | Instructs Windows Setup to suppress the Windows Setup end user license agreement user experience. |
/Finalize | Finishes previously started update operations on the down-level OS, followed by an immediate reboot. |
/ImageIndex | Specifies which OS image to install from install.wim if multiple images may be applicable. |
/InstallDrivers | Adds .inf-style drivers to the new Windows installation. |
/InstallFrom | Specifies a different Install.wim file to use during Windows Setup. |
/InstallLangPacks | Adds language packs to the new Windows installation. |
/m | Instructs Windows Setup to copy alternate files from an alternate location. |
/MigNEO | Tells Windows Setup to perform an upgrade of Windows without additional offline phase optimizations. |
/MigrateDrivers | Instructs Windows Setup whether to migrate the drivers from the existing installation during the upgrade. |
/NetDebug | Enables kernel debugging over the network. |
/NoReboot | Instructs Windows Setup not to restart the computer after the down-level phase completes. |
/PKey | Supplies Windows Setup with the specific product key. |
/Priority | Tells Windows Setup to increase the thread priority from low to normal for feature updates. |
/PostOOBE | After Windows Setup is complete, run a script. |
/PostRollback | Instructs Windows Setup to run a script if the feature update fails to install and rolls back the changes. |
/Quiet | Suppresses any Windows Setup user experience including the rollback user experience. |
/ReflectDrivers | Specifies the path to a folder that contains encryption drivers for a computer that has third-party encryption enabled. |
/ResizeRecoveryPartition | Specifies whether it’s OK to resize the existing Windows Recovery Environment (Windows RE) partition or create a new one during installation. |
/ShowOOBE | Specifies whether the user is required to interactively complete the out of box experience (OOBE). |
/SkipFinalize | Starts update operations on the down-level OS without initiating a reboot to start the offline phase. |
/Telemetry | Specifies whether Windows Setup should capture and report installation data. |
/TempDrive | Instructs Windows Setup to put temporary installation files on the specified partition. |
/Unattend | Enables you to use an answer file with Windows Setup. |
/Uninstall | Determines whether Windows will include controls that allow the user to go back to the previous operating system. |
/USBDebug | Sets up debugging on a USB port. |
/WDSDiscover | Specifies that the Windows Deployment Services (WDS) client should be in discover mode. |
/WDSServer | Specifies the name of the Windows Deployment Services (WDS) server that the client should connect to. |