How to Fix Intune Win32 App Error 0x87D30006

Deploying Win32 applications through Microsoft Intune can sometimes throw unexpected errors that block installations. One common issue administrators face is Intune Win32 App Error 0x87D30006, which occurs when detection rules are misconfigured or cannot be parsed. In this guide, we’ll explain the root cause of this error, walk through a real-world example, and show you how to fix it step by step—so your apps install smoothly on Windows 10 and 11 devices.

Error Details

Error code: 0x87D30006

Error description: Invalid detection rule or unable to parse detection rule.

0x87D30006 Error description: Invalid detection rule or unable to parse detection rule.


Cause & Solution

The issue occurred due to a misconfiguration in the Intune Win32 app detection rule. A registry-based detection method was used for the application, but the registry key was mistakenly enclosed in square brackets. As a result, the detection rule could not be parsed correctly on the client side, preventing Intune from proceeding with the application installation.

Intune detection rule error 0x87D30006

Registry key used: [HKEY_LOCAL_Machine\SOFTWARE]MICROSOFT\Windows\CurrentVersion\Uninstall\GPL Ghostscript 9.21]

Correct registry key: HKEY_LOCAL_Machine\SOFTWARE]MICROSOFT\Windows\CurrentVersion\Uninstall\GPL Ghostscript 9.21

The application was installed as soon as I removed the square bracket from the registry path and updated the policy on the device.

You might have seen another Win32 app installation error. The application was not detected after installation completed successfully (0x87d1041c). This error happens when the Win32 app detection rule is incorrect. Intune can install the application; however, it cannot detect the same post-installation. While error 0x87D30006 represents the issue with the detection rule, which Intune cannot parse. So, the application installation does not happen in this case.

🛠 Troubleshooting Checklist: Intune Win32 App Error 0x87D30006

Check detection rule type – Confirm if you’re using a registry-based detection rule.

Verify registry key format – Ensure the registry key is entered correctly.

Avoid square brackets – Do not enclose the registry key path in [].

🔍 Test parsing on client side – Make sure the detection rule is recognized and parsed properly.

🚀 Re-deploy the app – Once corrected, redeploy the Win32 app via Intune

Related Posts


Subscribe to Techuisitive Newsletter

Be the first to know about our new blog posts. Get our newsletters directly in your inbox and stay up to date about Modern Desktop Management technologies & news.



Scroll to Top