Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » How to install and debug logs with the CMTrace Tool
  • windows10
    How to Install and configure Active Directory Certificate Services Windows Server
  • sshkey
    How to perform SSH key-based authentication in Linux Linux
  • Amazon EC2 and S3
    How to sync S3 Bucket with an EC2 instance AWS/Azure/OpenShift
  • Docker Installation on Ubuntu
    Docker Engine Installation on Ubuntu Network | Monitoring
  • Featured image IE mode.
    How to Enable Internet Explorer Mode in Edge in Windows 11 Windows
  • mountedimagenotaccessible
    Unable to access the image: Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder Windows
  • hero activedirectory
    How to find disabled Active Directory User accounts Windows Server
  • mgithub
    How to use Command-Line on Git Bash and GitHub Desktop to PUSH local code to GitHub Version Control System

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.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to 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

  • active directory faq 2016 1
    How to detect who disabled a user in Active Directory Windows Server
  • windows deployment services imagen destacada blog redigit
    How to create a capture image on Windows Deployment Services Windows Server
  • image 78
    How to enable LDAP over SSL with a third-party Certificate such as DigiCert Windows
  • banner
    How to Edit Windows Hosts File via PowerToy Editor Utility Web Server
  • banner
    How to install and configure FSRM in Microsoft Windows Server Windows Server
  • Banner
    How to determine Tombstone Lifetime in Active Directory Windows Server

More Related Articles

active directory faq 2016 1 How to detect who disabled a user in Active Directory Windows Server
windows deployment services imagen destacada blog redigit How to create a capture image on Windows Deployment Services Windows Server
image 78 How to enable LDAP over SSL with a third-party Certificate such as DigiCert Windows
banner How to Edit Windows Hosts File via PowerToy Editor Utility Web Server
banner How to install and configure FSRM in Microsoft Windows Server Windows Server
Banner How to determine Tombstone Lifetime in Active Directory Windows Server

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

  • windows10
    How to Install and configure Active Directory Certificate Services Windows Server
  • sshkey
    How to perform SSH key-based authentication in Linux Linux
  • Amazon EC2 and S3
    How to sync S3 Bucket with an EC2 instance AWS/Azure/OpenShift
  • Docker Installation on Ubuntu
    Docker Engine Installation on Ubuntu Network | Monitoring
  • Featured image IE mode.
    How to Enable Internet Explorer Mode in Edge in Windows 11 Windows
  • mountedimagenotaccessible
    Unable to access the image: Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder Windows
  • hero activedirectory
    How to find disabled Active Directory User accounts Windows Server
  • mgithub
    How to use Command-Line on Git Bash and GitHub Desktop to PUSH local code to GitHub Version Control System

Subscribe to Blog via Email

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

Join 1,841 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

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.