AppEnforce.log
AppEnforce.log records how the Configuration Manager client installs or uninstalls an application deployment type, including the command line and its exit code.
- Location
C:\Windows\CCM\Logs\AppEnforce.log- Used for
- Application install and uninstall execution
Open AppEnforce.log in CMTrace.devDrop the file in. Highlight rules for this log are applied for you.
What AppEnforce.log records
- The install or uninstall command line and the account it runs under
- The exit code and how it maps to success, reboot or failure
- What happens after the run, including the detection check
What to search for
| Search for | What it tells you |
|---|---|
Process completed with exit code | The installer finished. This is the number to compare with the deployment type's return codes. |
exit codes table | The client maps the exit code to success, soft reboot, hard reboot, retry or failure. |
Failed | Enforcement failed. Search upwards for the command line that was run. |
Example lines
Prepared command line: "setup.exe" /silent
Process completed with exit code 0
Looking for exit code 0 in exit codes table
Matched exit code 0 to a Success entry in exit codes tableSimplified for illustration. Real lines carry a time stamp, component and thread.
Common error codes in AppEnforce.log
| Code | Meaning |
|---|---|
0x87D00607 | Enforcement failed during install or uninstall. Check the installer exit code and log. |
0x87D00324 | The app was not detected after the install. The detection method needs a fix. |
1603 | Fatal error during an MSI installation. |
3010 | Success, but a restart is required. |
The viewer's error lookup (Ctrl+E) explains these codes and links to Microsoft Learn.
Tips for reading it
- An exit code of 0 followed by 0x87D00324 means the install worked and the detection method is wrong. Read AppDiscovery.log next.
- Search for the command line first, then read forward to the exit code.
Questions about AppEnforce.log
Where is AppEnforce.log?
In C:\Windows\CCM\Logs on the client that received the application deployment.
What does 0x87D00324 mean in AppEnforce.log?
The application was not detected after installation completed. The install may have succeeded, but the detection method returned not detected.