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.

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.

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
- Win32 App Deployment failed with error code 0x80070643
- Win32 App Deployment Failed with Error 0x87D1041C
- Win32 App Deployment failed with error 0x87D300C9
- Win32 App failed with error code 0x80070653
- That account info didn’t work – error when disconnecting Windows 10 / 11 Work or School account
- Intune – Windows 10 MDM- Basic troubleshooting
- Deploying Microsoft 365 Apps Stuck in Downloading in Company Portal
- Windows 10 / 11 Operating System Build Versions
- MDM Enroll: Device Credential, Failed (Unknown Win32 Error code : 0xcaa9001f
- Microsoft Endpoint Manager: Error Code Reference
- Intune Bulk Enrollment with Provisional Package failed Error 0xCAA2000C
- How to Fix Intune Win32 App Deployment Error 0x87D30006
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.