đ Force Reinstallation of an Intune App
– When Intune refuses to reinstall a program you’ve already removed
Sometimes an application deployed through Microsoft Intune won’t reinstall even after you’ve manually uninstalled it.
That’s because Intune tracks installation status using both registry entries and detection rules to decide whether an app is already present.
Here’s how to fully reset that state and force a reinstallation — step by step.
đĄ Why Intune won’t reinstall the app
When a Win32 app is deployed via Intune, the Intune Management Extension stores app metadata in the Windows registry under:
This registry data tells Intune which apps are installed, when, and by which user.
On every policy sync, Intune checks the detection rule defined for the app.
If the detection rule still reports the app as “installed” — even though you removed it — Intune will skip reinstallation.
đ§ Step-by-Step Guide
1️⃣ Uninstall the App
First, manually uninstall the program from the device:
Settings → Apps → Uninstall
or
Control Panel → Programs and Features
2️⃣ Find the Application ID
-
Go to the Intune admin center
đ https://intune.microsoft.com -
Navigate to:
Apps → Windows apps
-
Click the app you want to reinstall.
-
In the browser address bar, the last 36 characters of the URL are the Application ID (GUID).
đ Example:
https://intune.microsoft.com/#view/Microsoft_IntuneDeviceSettings/AppsWindowsMenu/.../0f220e92-49fe-221321-9484-2323213
➡️ Application ID: 0f220e92-49fe-42e9-221321-9484-2323213
Write it down.
3️⃣ Find the User’s Object ID
-
Go to the Entra admin center
đ https://entra.microsoft.com -
Navigate to Users → [Select the user]
-
Copy the Object ID from the user’s profile page.
You’ll need this to locate the correct registry key.
4️⃣ Open the Registry Editor
On the target device:
-
Press
Win + R -
Type
regeditand press Enter -
Go to:
5️⃣ Locate the User’s Profile
Under Win32Apps, you’ll see a subkey for each user who has signed in.
Each one is labeled with the user’s Object ID.
Open the folder that matches your user’s Object ID.
6️⃣ Identify the App Keys
Inside the user’s Object ID key, you’ll find:
-
A key named GRS
-
One or more subkeys for installed applications, for example:
đą The suffix shows how many times the app has been installed:
_1= first installation,_2= second,_3= third, etc.
7️⃣ Match the Correct GRS Entry
-
Expand the GRS key.
-
Open each subkey and check the right-hand pane for a value containing your Application ID.
-
Once found, that’s the GRS entry linked to your app.
8️⃣ Delete Cached Entries
Delete the following two keys:
-
The GRS subkey that contains the Application ID
-
The application key (e.g.,
0f220e92-49fe-42e9-9484-8328dccbe129_1) under the user’s Object ID
đ„ This clears Intune’s local record of the installation.
đ 10️⃣ Force Sync
To trigger reinstallation:
-
Log out and back in, or
-
Run the following commands in PowerShell:
(You can also check device registration status using
dsregcmd /status.)
After syncing, Intune will detect that the app is missing and automatically reinstall it.
đ§© Summary
| Step | Action | Tool |
|---|---|---|
| 1 | Uninstall the app | Windows |
| 2 | Get Application ID | Intune Admin Center |
| 3 | Get Object ID | Entra Admin Center |
| 4 | Open registry | regedit |
| 5 | Find user’s Object ID | Win32Apps |
| 6 | Locate app entry | Compare IDs |
| 7 | Delete GRS + app keys | Registry |
| 8 | Clean detection rule | Intune |
| 9 | Sync Intune policies | PowerShell / GUI |
| 10 | App reinstalls automatically | đ |





Kommentarer
Skicka en kommentar