Obtaining and Viewing Logs

Obtaining and Viewing Logs

Purpose

This document provides information about where to obtain logging information related to Lenovo Patch.

Description

To view log files, use the CMTrace tool that ships with the Configuration Manager product. CMTrace can be found on the Configuration Manager server under:

C:\Program Files\Microsoft Configuration Manager\tools\cmtrace.exe

Note: If Configuration Manager is installed on another drive, reference that drive letter instead.

It is recommended to create a shortcut to this or set this as the default log reader.


Gathering log files and useful information:


Gathering Configuration Manager Server Log Files:

C:\Program Files\Microsoft Configuration Manager\logs

    • Contains all logs related to operations of Configuration Manager
    • Most useful log(s) when troubleshooting issues with Lenovo Patch:
      • wsyncmgr.log - WSUS synchronization operations
C:\Users\<username>\Lenovo\Lenovo Patch
    • Contains both logs and datafiles/binaries used by the Lenovo Patch for MEM plugin.
      • AutoPublish.log - Contains logging information related to the publishing processes executed by this user.
      • DataMigrationTool.log - Contains logging information related to the execution of the Data Migration Tool run by this user.
      • Lenovo Patch.log - Contains logging of Lenovo Patch plugin operations executed by this user.
C:\Users\<username>\AppData\Local\Temp
    • Contains log files related to the installation of Lenovo Patch.
      • SCCMPatchSetup_YYYYMMDD_HHmmss.log - Contains logging information about the download and installation of Microsoft Visual C++ Redistributable 2015-2019 x86, Microsoft Visual C++ Redistributable x64 and .NET 4.8, should any be missing and need to be installed.
      • SCCMPatchInstall_YYYYMMDD_HHmmss.log - Contains logging information about the installation of the Lenovo Patch plugin.
    • Only referenced for the user installing Lenovo Patch to a device.

Gathering Client Side Log Files:

C:\Windows\CCM\Logs
    1. ContentTransferManager.log - Contains logging information about the transfer scheduling or the management of the initiation and download of the package transfer.
    2. UpdateDeployment.log - Contains logging information about the downloading and installing process between SCCM and the client device.
    3. UpdatesHandler.log - Contains logging information about the workflow for downloading and enforcement part of the workflow between SCCM and the client device.
    4. UpdatesStore.log - Contains logging information about what is needed or present on the client device.  (Inventory)
    5. WUAHandler.log - Contains logging information about the bridge between SCCM and the client device specifically the scanning and installing.
WindowsUpdate.log:
      Windows 8.1 and Newer:
    
C:\Users\<username>\Desktop\WindowsUpdate.log
  1. To generate this log file you will need to use the Windows PowerShell command:
Get-WindowsUpdateLog
      Windows 7:
C:\Windows\WindowsUpdate.log
Lenovo Patch Installation Files:
C:\ProgramData\Lenovo\Lenovo Patch\Installation
    1. This location contains temporary installation files and logs generated specifically during the execution phase of a patch deployment.
    2. Please Collect and Zip everything in this folder.
Note:  This folder is automatically cleaned out after 30 days.
    • Related Articles

    • Viewing Incidents Report

      To access this report, navigate to the Incidents section. Here, you'll find a comprehensive list of all recorded incidents, including any issues or errors identified based on criteria set by the IT Admin. Incidents are a specific type of event that ...
    • Viewing and Setting Incident Severity Levels

      About Incident Severity Each incident, issue, or event on ThinkShield Firmware Assurance (TSFA) is assigned a Severity Level, which indicates the level of importance and suggests potential actions needed for a specific device. These severity levels ...
    • Availability of Adobe Creative Cloud Updates

      Symptom When using the Lenovo Patch plugin to obtain 3rd party patches, Adobe Creative Cloud products in the list below cannot be found: Adobe After Effects Adobe Creative Cloud Desktop Application Adobe Digital Editions Adobe Illustrator Adobe ...
    • How to Download and Install Blancco

      Prerequisites You must have valid access credentials (username / password) to the BMP portal or software repository. Your system must meet the minimum system requirements (OS version, disk space, memory, etc.). Administrative privileges on the target ...
    • Getting Started - Links and Prerequisites

      1. Lenovo Patch User Guide, Upgrade Guide, and Release Notes Lenovo Patch 2.5 User Guide Lenovo Patch 2.5 Upgrade Guide Lenovo Patch 2.5 Release Notes Lenovo Patch End-User License Agreement These release notes support the current version of Lenovo ...