Skip to main content
Win32 Appsdecimal -2016410843

Fix Intune Error 0x87D00325

The app uninstalled successfully, but the detection rule still finds it, so the uninstall is reported as failed.

Open the log below first. It is the quickest way to confirm which of the causes applies before you change anything.

AppEnforce.log

Folder: C:\Windows\CCM\Logs\

Also check: AppDiscovery.log · CIAgent.log

Root causes

  • The uninstall command removed the files but not what the detection rule checks, such as a registry key or version value the uninstaller leaves behind.
  • The detection rule checks a file or registry value that the uninstaller never touches, so it still evaluates true.
  • The uninstall ran, but a child process or a reinstall restored the app before detection ran again.
  • The rule uses a file-exists check on a shared file that another app still provides.
  • Detection ran again before the uninstall had finished, and read the app as still present.

Step-by-step remediation

  1. In AppEnforce.log verify the uninstall command that ran and its exit code.
  2. In AppDiscovery.log check what the detection rule still finds after the uninstall.
  3. On the device, check the exact path or registry value the rule reads, and fix the uninstall command or the rule — not both blindly.
  4. Re-run the uninstall and confirm the rule evaluates false afterwards.
  5. Redeploy to a pilot device and check the three states: not detected before install, detected after install, not detected after uninstall.

For the full diagnosis around this error, read ConfigMgr app failing: content or detection?.

Stop it happening on the next package

Most Win32 failures are decided by the detection rule and the install command, so fix them at the source before the app is assigned again.

Other Win32 Apps errors with their own runbooks.

Search all 46 error codes