An IT admin found an ingenious way to silently update dozens of Windows 10 devices to Windows 11 remotely
The command was tested by several other admins and it works.
2 min. read
Published on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
As Windows 10 is reaching its end, with the operating system being updated until October of this year, Microsoft has repeatedly asked organizations to consider migrating to Windows 11 before that happens, in case they’re still on Windows 10.
IT admins will, undoubtedly, have a challenging year: millions of devices will need to migrate to Windows 11 (don’t believe us, believe the stats), so any perk or command that allows them to do their job more easily and, most importantly, faster is welcome.
For those IT admins who want to try new (and relatively safe) ways to migrate dozens of Windows 10 systems to Windows 11, a Reddit user shared a script that can be used to upgrade such devices remotely and quietly.
It took me a bit to get this properly working so I figured I’d share it. This can silently upgrade Windows 10 to Windows 11 since support for 10 ends in October. I used PDQ to push it out since it needs admin credentials. https://github.com/cbl508/WXIU/tree/main
The script can be found on the GitHub page they shared, but you should also consider the updated version of the command, which was posted in the comments, in case the first version doesn’t work.
Here’s the other version of the command:
$mount = Mount-DiskImage -ImagePath “C:\Win11Upgrade\$isoName” -PassThru
$driveLetter = ($mount | Get-Volume).DriveLetter
$setupPath = “$driveLetter” + “:\setup.exe”
$arguments = ‘/auto upgrade /EULA accept /ShowOOBE none /Compat IgnoreWarning /Telemetry Disable /quiet /noreboot’
Start-Process $setupPath -ArgumentList $arguments -Wait
$devicePath = (Get-Volume -DriveLetter $driveLetter).Path.TrimEnd(‘\’)
Dismount-DiskImage -DevicePath $devicePath
Let us know if the command allowed you to update the Windows 10 devices to Windows 11, and share your experience below and in the original Reddit post for the other admins to know.
Kudos to Reddit user carfo for the command.
User forum
1 messages