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.
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.
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
If unable to locate a current PatchDownloader.log, check HKLM\SOFTWARE\Microsoft\CCM\Logging\@Global:LogDirectory on the site serverβ
how to locate the patchdownloader.log file
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:
%temp%\PatchDownloader*.log
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:
1.
Open the Publisher
2.
Click on the General tab
3.
In the dropdown under Logging Options select Debug
4.
Close the Publisher
5.
Open Services.msc and locate the PatchMyPCService
6.
Right-click and Restart the PatchMyPCService
7.
Debug Logging is now enabled
List of Specific Patch My PC Logs and Files
PatchMyPC.log
%PatchMyPCInstallDirectory%\PatchMyPC.log
%PatchMyPCInstallDirectory%\PatchMyPC.lo_
PatchMyPC.log is the primary log file for the Publisher and is often required by support for any troubleshooting.
Settings.xml
%PatchMyPCInstallDirectory%\Settings.xml
Settings.xml stores all settings related to the Publisher. This file is also used for Backup and Restore.