TL;DR it blocks automatic restarts completely. Period.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MusNotification.exe]
"Debugger"="cmd.exe /c echo %DATE% %TIME% suppressed automatic reboot >> C:\\UpdateOrchestrator.log"
Modify it however you like, i doesn't have to output anything to a log file. This is just how i rolled it out in my company.
I tested this a lot and confidently say this is the most unintrusive method i know to supress automatic reboots, nag screens, update notifications and the lot.
Windows Update uses this executable a lot. Not only for restarting, but for every type of notifications you can get about them. "Updates available", "You should really install updates right now", "Updates need to be installed, please restart" aswell as "Updates cannot be installed" won't appear anymore. Taken you are monitoring installed updates, which you should, this shouldn't be an issue.
While blocking the UpdateOrchestrator\Restart task, which basically just calls MusNotification.exe with some arguments, isn't new, Microsoft blocked disabling it in 1803. This feature has to stay for backwards compatibility, so i'm certrain this workaround won't be fixed any time soon.
To explain what the key does:
The Image File Execution Options subkeys actually can control a whole lot about how Windows executes files. The Debugger key was used by a lot of scareware back in the day. It redirects execution from every executable named like the key to the debugger and appends the original executable and all arguments to it. To my understanding this process would then normally be expected to set up a debug environment and start the actual process. Which we don't. So we effectively cut MusNotification.exe out of the chain and therefore preventing Windows Update from being so intrusive to the user.
Bonus: If anyone wants the powershell script to monitor installed windows updates that i use in conjunction with this i can post that too.
Hope this helps anyone.
Edit: To clarify. Updates installed normally. I know about the shit-ton of GPOs you can enroll that are supossed to give you control but to my experience Windows 10 Pro ignores all of them.
The only thing that this does is supressing notifications and automatic restarts.
Edit 2: There's the monitoring script: https://github.com/WhAtEvErYoUmEaN/CheckInstalledWindowsUpdates
Edit 3: spelling
[removed]
there you go
[deleted]
[removed]
Werd. Thanks.
I agree!