https://www.petervanderwoude.nl/post/quick-tip-troubleshooting-device-management-failures-on-windows-10/
Quick tip: Troubleshooting device management failures on Windows 10