Windows 11 upgrade from WIndows 10 Command Line Switches
Run Setup.exe with following switches
/auto upgrade /eula accept /migratedrivers all /showoobe none /compat ignorewarning
/Auto Upgrade /compat ignorewarning /quiet /dynamicupdate disable /eula accept /imageindex 7
/Auto Upgrade /compat ignorewarning /quiet /norestart /dynamicupdate disable /eula accept /imageindex 7
/auto upgrade /quiet /noreboot /eula accept /dynamicupdate disable /showoobe none
/Auto Upgrade: Initiates an automated upgrade process.
/compat ignorewarning: Ignores compatibility warnings, which can be useful for upgrading on unsupported hardware.
/quiet: Performs a quiet installation with no user interface.
/norestart: Prevents the system from automatically restarting after the installation is complete.
/dynamicupdate disable: Disables dynamic updates during the installation process.
/eula accept: Automatically accepts the end-user license agreement.
/imageindex 3: Specifies which image to install from the installation media; 3 for professional edition of Windows 11 | 7 for Windows 11 Enterprise
/showoobe none: This is a command-line switch that tells the Windows setup program to skip the OOBE phase (Out-of-Box Experience).
Common Windows 11 Editions
The output of the DISM command will show a list similar to the following (actual indexes may vary):
Index Edition Name
1 Windows 11 Home
2 Windows 11 Home N
3 Windows 11 Professional
4 Windows 11 Professional N
5 Windows 11 Education
6 Windows 11 Education N
7 Windows 11 Enterprise
8 Windows 11 Enterprise N
9 Windows 11 Pro for Workstations
10 Windows 11 Pro N for Workstations
Upgrading Non TPM support machines with Below command.
Setup.exe /Product Server
net stop w32time && w32tm /unregister && w32tm /register && net start w32time
w32tm /config /manualpeerlist:"time.windows.com,0x8" /syncfromflags:manual /update
w32tm /resync /force