Hey everyone! I'm currently rolling out Windows 11 upgrades on eligible machines using PDQ Deploy and the Windows 11 installation assistant. I'm running this command: `Start-Process -FilePath "C:TempW11UpdateWindows11Update.exe" -ArgumentList "/QuietInstall /SkipEULA /NoRestartUI" -NoNewWindow`. I'm trying to find a way to prevent automatic reboots at the end of the installation. I've attempted to tweak the flags, like removing `/NoRestartUI`, but no luck so far. I'm hoping someone out there has a working solution I can build off. I'll share my findings if I get it to work!
5 Answers
Have you considered just letting Windows Update handle the upgrades? It has features like Active Hours and "select a reboot time" that could simplify things.
Have you thought about only running the package in PDQ when no one is logged in? That way, you could display a message during the upgrade and allow it to reboot. Working in a county hospital, I get how crucial uptime is, but for an OS upgrade, delaying the reboot isn't ideal. Good luck!
You could just add `/NoReboot` to your command. For instance, it might look like this: `setup.exe /EULA Accept /auto upgrade /migratedrivers all /dynamicupdate disable /telemetry disable /compat IgnoreWarning /showoobe none /NoReboot`. Let me know if that helps!
I'll definitely give this a shot and update you tomorrow. Thanks for the tip!
I used to have the `/NoRestartUI` flag set with the Win11 Upgrade Assistant in PDQ, but it was causing automatic restarts, so I removed it. Now, it prompts users for a restart instead!
Got it! Does that prompt them with the 30-minute timer to respond, or does it just reboot? That's what I'm aiming for.
Honestly, we’re not in a hurry for Windows 11. We've been told we have until October, so there's no rush for us at this point.
This approach makes sense! But I struggle to find idle PCs, and warning each user about a forced reboot is tough. I might have to go this route, though.