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
  • article 1280x720.192a2586
    How to fix Scheduled task status prompts error 0x800710E0 Windows Server
  • Veeam SureBackup
    Ensuring Backup Integrity and Reliable Recovery with SureBackup Backup
  • Object First Honeypot OOTBI
    OOTBI Security Best Practices: Enable Honeypot on Object First Backup
  • microsoft ntlm2
    NT LAN Manager: How to prevent NTLM credentials from being sent to remote servers Security | Vulnerability Scans and Assessment
  • yxxycx yx
    How to change the Default First-Site-Name in Active Directory Windows Server
  • How to Remove Hyper V
    How to uninstall Hyper-V on a Windows PC Virtualization
  • erroradkupdate
    An error has occurred in the script on this page: HTA applications report a Script error after upgrading to ADK for Windows 11, version 22H2 Windows Server
  • sonarlite
    How to Setup SonarLint in VS Code for Your App Project Configuration Management 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.

  • 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

  • How to manage user permission in AD and Synology
    Manage User Permission on Synology with Active Directory [Part 1] Reviews
  • Actualidad 211741393 129861581 1050x760
    Edge GPO settings: All Group Policies available to configure Microsoft Edge Settings Windows Server
  • Screenshot 2020 05 26 at 18.57.25
    WDS and DHCP Deployment Scenarios: Configure DHCP Options 60, 66, and 67 Windows Server
  • IIS8
    How to add an account to the local IIS_IUSRS group Windows Server
  • ADBA for Windows
    Configure Active Directory-Based Activation (ADBA) for Windows Windows Server
  • screenshot 2020 03 31 at 22.22.43
    How to create, edit and delete a scheduled task via the Command Prompt Windows Server

More Related Articles

How to manage user permission in AD and Synology Manage User Permission on Synology with Active Directory [Part 1] Reviews
Actualidad 211741393 129861581 1050x760 Edge GPO settings: All Group Policies available to configure Microsoft Edge Settings Windows Server
Screenshot 2020 05 26 at 18.57.25 WDS and DHCP Deployment Scenarios: Configure DHCP Options 60, 66, and 67 Windows Server
IIS8 How to add an account to the local IIS_IUSRS group Windows Server
ADBA for Windows Configure Active Directory-Based Activation (ADBA) for Windows Windows Server
screenshot 2020 03 31 at 22.22.43 How to create, edit and delete a scheduled task via the Command Prompt 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

  • article 1280x720.192a2586
    How to fix Scheduled task status prompts error 0x800710E0 Windows Server
  • Veeam SureBackup
    Ensuring Backup Integrity and Reliable Recovery with SureBackup Backup
  • Object First Honeypot OOTBI
    OOTBI Security Best Practices: Enable Honeypot on Object First Backup
  • microsoft ntlm2
    NT LAN Manager: How to prevent NTLM credentials from being sent to remote servers Security | Vulnerability Scans and Assessment
  • yxxycx yx
    How to change the Default First-Site-Name in Active Directory Windows Server
  • How to Remove Hyper V
    How to uninstall Hyper-V on a Windows PC Virtualization
  • erroradkupdate
    An error has occurred in the script on this page: HTA applications report a Script error after upgrading to ADK for Windows 11, version 22H2 Windows Server
  • sonarlite
    How to Setup SonarLint in VS Code for Your App Project Configuration Management Tool

Subscribe to Blog via Email

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

Join 1,836 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.