Businesses pay tens of thousands of $currency for Microsoft Partner consultants to come in, “modernise” their EUC estate, and leave behind a plethora of bugs and issues that shouldn’t exist because said partners are supposed to be “industry experts”.
Completely unrelated, an issue I was working on at a client was with their Autopilot setup left behind from an MS partner that was causing a forced reboot mid-ESP.
Shortly after entering company credentials, there would be a 10 minute reboot warning and no way to cancel - other than Shift+F10 and running
shutdown -a which a normal end user wouldn’t know and shouldn’t need to know.
Unfortunately, if the reboot continued, it often left the device in a boot-loop. The build engineer at the time didn’t know any other way to break out of it other than rebuild from vanilla Windows media.
This was the first time I’d ever come across the issue, but didn’t take long to find other people with the same issue online.
The reboot was caused by a Configuration Profile for Endpoint Protection that turned on WDAC in Audit Mode.
There are various notes on Microsoft Learn: Deploy WDAC policies with MDM about issues and caveats with WDAC policies. One specifically about forced reboots:
Intune currently uses the AppLocker CSP to deploy its built-in policies. The AppLocker CSP will always request a reboot when applying WDAC policies. You can use Intune’s custom OMA-URI feature with the ApplicationControl CSP to deploy your own WDAC policies rebootlessly.
I have since fixed the issue now with a custom OMA. But a few weeks later, a colleague shared a twitter post where the guy was having reboots mid-autopilot also.
Paul Winstanley and Mattias Melkersen both pointed out in the thread that there is a nice list of OMA-URIs which will always cause reboots when applied, and it’s available in the registry for all to see:
Obviously, in my case, the offending reboot would have been caused by:
Grant Dickins Contributor
Grant has worked supporting IT in the Oil & Gas industry for 10 years, has a keen interest in Config Manager and trying to bring the industry kicking and screaming into the modern cloud-based world.