This is an old revision of the document!
Intune: Uninstalling an Old Management Engine
This article focuses on removing the Silverlight-linked Intune Management Engine from an endpoint machine.
How-To
Before any scripts can be run, you will first need to identify the Intune service's GUID.
1. On the target machine, press Win+R, type regedit into the Run… dialog box, then press Enter.
2. Navigate to HKLM\SOFTWARE\Microsoft\OnlineManagement and you will find a key with the GUID of the Intune service.
3. Next, open an elevated command prompt window and cd to:
C:\Program Files\Microsoft\OnlineManagement\Common
4. Run the following executable, along with its parameters, in the command prompt window:
ProvisioningUtil.exe /UninstallClient /ServiceId {GUID} /TaskName “tempTask” /SubEventId 16
Note: Substitute {GUID} with the Intune service's GUID obtained in Step 2.
Self-Contained Script Package
The above steps have been compiled into a self-contained script package, which can be downloaded here. Extract all files from the zip file into a single location, then run the batch script as administrator.