Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » How to install and debug logs with the CMTrace Tool

How to install and debug logs with the CMTrace Tool

Posted on 21/07/202120/02/2024 Christian By Christian 1 Comment on How to install and debug logs with the CMTrace Tool
Configuration Manager installation

CMTrace Log Viewer is also referred to as the CMTrace tool (previously called Trace32). It is a tool from Microsoft to view log files such as Microsoft Deployment Toolkit (MDT), Microsoft Software Center Configuration Manager (SCCM), DISM, and many others. Though, mostly for SCCM as it is part of “Configuration Manager Tools”. In this guide, we will discuss How to install and debug logs with the CMTrace Tool. Kindly refer to the following related guides: How to Add Packages to Windows image the DISM Tool, and how to add languages to Windows image using DISM and PowerShell.

The Configuration Manager tools include client-based and server-based tools, and this will be discussed later on in this guide. Unlike many other log viewers, this tool shows the data as the log file is written or updated. The log file viewer shows the most recent updated lines written to the log file and it is considered one of the favorite tools for MDT and SCCM administrators.

Moreover, I’m tired of using Notepad and Notepad++ to view verbose logs, finding them challenging to read due to excessive information. Search no further, CMTrace makes viewing logs and highlights the errors. Nonetheless,

Enhance Log Readability for Effortless Debugging

Also, with Notepad or Notepad++, these logs are extremely difficult to read as they contain lots of metadata. Therefore, I will be showing you how to download and install the CMTrace Tool which is a great debugging tool. See how to install ADK, MDT, and WDS: How to deploy Windows images via Microsoft Deployment Toolkit and Windows Deployment Services

Consequently, This is a free tool you can download from Microsoft. It’s part of the SCCMTooklit downloads. Click the Download button, and download ConfigMgrTools.msi

Note: This tools is also included in the CD.Latest\SMSSETUP\Tools folder on the site server.

Debugging logs in Configuration Manager
CMTrace Tool troubleshooting

Upon download, double click on the ConfigMgrTools.msi to install the System Center Configuration Manager Toolkit as shown below.

CMTrace Tool usage and benefits

On the setup screen below, click on Next to continue.

Configuration Manager installation

Accept the license agreement as shown below and click on Next.

CMTrace Tool troubleshooting

Kindly refer to the following related guides: How to Add Packages to Windows image the DISM Tool, and how to add languages to Windows image using DISM and PowerShell.

Select components

In the select components window, click on next to continue.

Screenshot-2021-07-21-at-20.05.46

If you have the UAC setup, this will be prompted. Just click on Yes to proceed.

User Account Control (UAC) can help prevent unauthorized changes to your computer.

Screenshot-2021-07-21-at-20.06.49

The setup is complete as shown below. Click on finish to close the wizard.

Screenshot-2021-07-21-at-20.07.07
Click on the Start Menu, the newly (recently) installed application will be displayed as shown below. 

Shortly, I will be showing you how to use these tool (CMTrace) in particular. But before then, I will be discribing what these tools are,

Screenshot-2021-07-21-at-20.07.41

Empowering Configuration Manager Management: 15 Essential Toolkit Tools

The Microsoft System Center Configuration Manager Toolkit offers 15 tools for managing and troubleshooting. The following list provides specific information about each tool in the toolkit.

Note: Some features require Microsoft System Center 2012 R2 Configuration Manager for full functionality.

Server Based ToolsClient Based Tools
DP Job Manager – A tool that helps troubleshoot and manage ongoing content distribution jobs to Configuration Manager distribution points.Client Spy – A tool that helps you troubleshoot issues related to software distribution, inventory, and software metering on System Center 2012 Configuration Manager clients.
Collection Evaluation Viewer – A tool that assists in troubleshooting collection evaluation related issues by viewing collection evaluation details.Configuration Manager Trace Log Viewer – A tool used to view log files created by Configuration Manager components and agents.
Content Library Explorer – A tool that assists in troubleshooting issues with and viewing the contents of the content library.Deployment Monitoring Tool – The Deployment Monitoring Tool is a graphical user interface designed help troubleshoot Applications, Updates, and Baseline deployments on System Center 2012 Configuration Manager clients.
Security Configuration Wizard Template for Microsoft System Center 2012 R2 Configuration Manager – The Security Configuration Wizard (SCW) is an attack-surface reduction tool for the Microsoft Windows Server 2008 R2 operating system. Security Configuration Wizard determines the minimum functionality required for a server’s role or roles, and disables functionality that is not required.Policy Spy – A policy viewer that helps you review and troubleshoot the policy system on System Center 2012 Configuration Manager clients
Content Library Transfer – A tool that transfers content from one disk drive to another.Power Viewer Tool – A tool to view the status of power management feature on System Center 2012 Configuration Manager clients.
Content Ownership Tool – A tool that changes ownership of orphaned packages (packages without an owner site server).Send Schedule Tool – A tool used to trigger a schedule on a client or trigger the evaluation of a specified DCM Baseline. You can trigger a schedule either locally or remotely.
Role-based Administration Modeling and Auditing Tool – This tool helps administrators to model and audit RBA configurations.Wakeup Spy – A tool that provides a view of the power state of Configuration Manager client computers and which operate as managers or manages.
Run Metering Summarization Tool – The purpose of this tool is to run the metering summarization task to analyze raw metering data

Launch the CMTrace Tool

Now, we will be using the CMTrace Tool to access any log on my workstation. Click on the Start Menu and select CMTrace as shown below.

Screenshot-2021-07-21-at-20.08.19

When you start the Tool, it will prompt you to set it as the default log file viewer. Why not? Select Yes please 🙂

Screenshot-2021-07-21-at-20.09.00

To demonstrate how you can read logs with CMtrace SCCM Log Viewer, I will be selecting a random log file on my device.

Right-click on the log file and select open with.

Screenshot-2021-07-21-at-20.12.07

However, CMTrace can help view the LOGs by nicely outputting the information as shown below. Moreover, The application might show you red and yellow lines when reading the logs.

Note: Furthermore, Most times, this does not represent real issues as shown below. It is worth noting that the “CMTrace” marks lines with the words “Error” / “Failed” in it with red color and for yellow color with “Could not”.

When something is failing, in most cases the task will execute again and it will succeed. Therefore, read the LOGs carefully and try to understand the meaning of the message.

Screenshot-2021-07-21-at-20.12.54

After installation, the application will be in the specified path. If CMTrace log viewer truncates logs over 8000 characters.

C:\Program Files (x86)\ConfigMgr 2012 Toolkit R2\ClientTools
Screenshot-2021-07-21-at-23.15.24

Kindly review the Tabs (Menu bar) for more functionalities of this tool.

I hope you found this blog post on how to install and debug logs with the CMTrace Tool helpful. Please let me know in the comment session if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Microsoft Deployment Toolkit (MDT), Microsoft Windows, Windows 10, Windows Server 2016

Post navigation

Previous Post: Top 10 communication software for Mac 2021
Next Post: Workaround for “SeriousSAM or HiveNightmare” registry vulnerability for Windows 10 and 11

Related Posts

  • Fixed drives not encrypted by BitLocker via MBAM
    Why is BitLocker unable to encrypt Removable Drives via MBAM? Windows
  • v13 harding   Veeam
    Hardening Your Infrastructure: A Guide to VMware VBS and MS GPO Credential Guard in VBR v13 Backup
  • Internet Explorer
    How to uninstall Internet Explorer from your Windows Device Windows
  • image 64
    How to install Fax Server on a Windows Server Windows
  • Network unlock
    How to configure Network Unlock in Windows Windows Server
  • Cloud Cost
    How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift

More Related Articles

Fixed drives not encrypted by BitLocker via MBAM Why is BitLocker unable to encrypt Removable Drives via MBAM? Windows
v13 harding   Veeam Hardening Your Infrastructure: A Guide to VMware VBS and MS GPO Credential Guard in VBR v13 Backup
Internet Explorer How to uninstall Internet Explorer from your Windows Device Windows
image 64 How to install Fax Server on a Windows Server Windows
Network unlock How to configure Network Unlock in Windows Windows Server
Cloud Cost How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift

Comment (1) on “How to install and debug logs with the CMTrace Tool”

  1. Avatar photo KGA says:
    28/11/2022 at 5:54 PM

    Download link for Configuration Manager Tools does not work 🙁

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • ext
    How to install a standalone DriveLock Encryption software on Windows Security | Vulnerability Scans and Assessment
  • VHR upgrade
    Upgrade legacy VHR to Veeam Infrastructure Hardened Repository Backup
  • remote desktop connection 5 1280x720 1
    How to view and remove Remote Desktop connection history Windows
  • CreateanAWSact
    How to Set up an Amazon Web Services (AWS) Account AWS/Azure/OpenShift
  • DevOps
    Create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub AWS/Azure/OpenShift
  • Standby Mode
    Disable modern standby on Windows 10 and 11 Windows
  • Expired Evaluation Configuration Manager to Full Version
    Upgrade Expired Evaluation Configuration Manager to Full Version Windows Server
  • Object first ootbi
    How to update Object First OOTBI Cluster Storage

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,824 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.