Hey everyone! I'm in the process of deploying Windows 11 upgrades to eligible machines using PDQ Deploy and the Windows 11 installation assistant. I'm currently running this command:
>Start-Process -FilePath "C:TempW11UpdateWindows11Update.exe" -ArgumentList "/QuietInstall /SkipEULA /NoRestartUI" -NoNewWindow
However, I'm trying to find a way to prevent the PC from rebooting automatically when the installation is finished. I've experimented with removing the /NoRestartUI flag and a few other options, but with no success. If anyone has a working solution or variation, I'd really appreciate the help! I'll share my findings if I manage to get it right myself.
5 Answers
Another approach could be to run the upgrade package only when no one is logged in. That way, you could display a message and let the PC reboot when the upgrade completes. I've seen this method work well, especially since I work in a healthcare environment where uptime is crucial. Just be proactive about notifying users!
Have you considered just letting Windows Update manage the upgrades? This way, you can utilize Active Hours and the "select a reboot time" feature, which might be less disruptive for users.
I previously had the "/NoRestartUI" flag set for our upgrades with the Windows 11 Upgrade Assistant via PDQ, but it caused automatic restarts. Removing that flag prompted users to restart instead. You might want to try it without that flag. Just a heads-up, this may show a 30-minute timer for users to respond before it restarts! Good luck!
Got it! Just checking, does this give them the option to respond during that timer, or does it restart right away?
Honestly, our team isn't rushing for Windows 11; we've got until October, so we're holding back for now.
You might want to try adding "/NoReboot" to your command line. You can also use some other parameters like this: *setup.exe /EULA Accept /auto upgrade /migratedrivers all /dynamicupdate disable /telemetry disable /compat IgnoreWarning /showoobe none /NoReboot*. Let me know if this helps!
Thanks for the suggestion! I’ll give that a shot and update you all on how it goes.
That sounds like a solid plan! However, catching idle PCs and notifying users for a forced reboot isn’t easy in some situations, so I might have to consider that.