Log Reference Guide
Sometimes we will need you to provide log files for troubleshooting. This guide will help you locate possible log files for different scenarios.
Patch My PC Log Reference for Specific Scenarios
Below, you will find logs needed for specific scenarios.
Server-Side Logs
Software Updates - Failing to Publish Updates Using Patch My PC's Publisher
When using the Patch My PC Publisher to published third-party updates to WSUS, we will need the following log files from the SUP/WSUS server where the service is installed.
The following log may be needed upon request only due to large file size
Software Updates - Failing to Publish Updates Using SCCM In-Console Publishing
When using the SCCM in-console publishing, we will need the following log files from the SUP/WSUS server where the service is installed.
The following log file may be needed upon request only due to large file size
SCCM Applications - Failing to Create/Update SCCM Applications Using Patch My PC's Publisher
When using the Patch My PC Publisher for SCCM application creation, we will need the following log files to troubleshoot applications failing to create.
Intune Applications - Fails to Create/Update Applications Using Patch My PC's Publisher
When using the Patch My PC Publisher for Intune application creation, we will need the following log files to troubleshoot applications failing to create.
Client-Side Logs
Intune Applications/Updates Failing to Install on Client Devices
When troubleshooting Intune application installation errors on a client, we will need multiple client logs. Please include the following logs:
Important
For (User) based apps, the logs mentioned above will reside in the following folders:
%ProgramData%\PatchMyPC\PatchMyPC-ScriptRunner.log
%temp%\PatchMyPC-SoftwareDetectionScript.log
%temp%\PatchMyPC-SoftwareUpdateDetectionScript.log
Note
Some Patch My PC log files listed above may be found in %WinDir%\CCM folder if that folder exists.
SCCM Applications Failing to Install on Client Devices
When troubleshooting SCCM application installation errors on a client, we will need multiple client logs. Please include the following logs:
Third-Party Software Updates Failing to Install on Client Devices
When troubleshooting update installation errors on a client, we will need the following client logs:
You need to run Get-WindowsUpdateLog on Windows 8.1 and newer in PowerShell.
Download Stuck at 0% / Waiting to install / Preparing to download
When troubleshooting update installation errors on a client, we will need the following client logs:
Configuration Manager Specific Logs
Automatic Deployment Rule Failing for Third-Party Updates
When troubleshooting automatic deployment rules failing for third-party updates, we will need the following server-side logs. In this example, we will assume the main SCCM installation directory is: C:\Program Files\Microsoft Configuration Manager
C:\Program Files\Microsoft Configuration Manager\Logs\ruleengine*.log
The PatchDownloader.log (Location may vary)
C:\Program Files\SMS_CCM\Logs\PatchDownloader*.log (Most common location)
C:\Program Files\Microsoft Configuration Manager\Logs\PatchDownloader*.log (Possible location)
%WinDir%\CCM\Logs (Possible location)
If unable to locate a current PatchDownloader.log, check HKLM\SOFTWARE\Microsoft\CCM\Logging\@Global:LogDirectory on the site server
Updates Failing to Download to Deployment Package using SCCM Console
When troubleshooting updates failing to download into a deployment package from the SCCM console, we will need the following log from the machine running the SCCM console:
Note
If you are using an RDP session, the patchdownloader.log may be in a numbered sub-folder in your Users %temp% folder.
Patch My PC Publisher - How to Enable Debug Logging
Enabling Debug logging is often helpful for troubleshooting unique issues with publishing. Follow the steps below to enable Debug logging:
Open the Publisher
Click on the General tab
Close the Publisher
Open Services.msc and locate the PatchMyPCService
Right-click and Restart the PatchMyPCService
Debug Logging is now enabled
List of Specific Patch My PC Logs and Files
PatchMyPC.log
PatchMyPC.log is the primary log file for the Publisher and is often required by support for any troubleshooting. The file name and location are:
Settings.xml
Settings.xml stores all settings related to the Publisher. This file is also used for Backup and Restore. The file name and location are:
Last updated