ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager

Let’s understand how to Enable Verbose Logging and Debug Logging for ConfigMgr (a.k.a SCCM) client-side logs. This logging information is helpful in SCCM troubleshooting scenarios.

You can get more details about the ConfigMgr Client Logs to understand the logs available on the client side.

Once you enable Debug and Verbose logging for the client logs, it provides additional information on error conditions. However, you must be very careful when allowing these settings in production.

I won’t recommend keeping this logging enabled on the client’s devices for a long time. I would instead allow it only for a very short time during troubleshooting.

Patch My PC

Enable Verbose Logging for SCCM Server-side

You can log in to the SCCM server and navigate to the registry (You will need to do this for each thread if you want). More details SCCM Server-Side Logging How To Turn On Verbose SQL NAL Logging.

Follow the method mentioned below to Enable Verbose Logging for SCCM Server Components. To make the logging level verbose, change the value to 0.

Adaptiva

LoggingLevel = 0

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Tracing\SMS_WINNT_SERVER_DISCOVERY_AGENT

ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.1
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.1

Enable Verbose Logging for SCCM Client

Let’s see how to enable it on Windows 10 devices where the SCCM client is installed. You can use ConfigMgr functionality to deploy these registry changes or do it manually using a local admin account.

The following table gives you the registry values for enabling verbose logging. As I will explain below, it would be best to change the values of REG_DWORD.

Type of LoggingValues
Verbose0
Default1
Warnings and errors2
Errors only3
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Table.1
  • From the Windows 10 device, click Start, and type Regedit. Then, select Registry Editor.
  • Navigate to the following registry path
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\Logging\@Global
  • Double-click on the LogLevel REG_DWORD

NOTE – We recommend you create a backup before editing the registry.

ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.2
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.2

Click on the Decimal options from the base section.

  • Change the value data to 0.
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.3
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.3

Check and Confirm the value against the REG_DWORD LogLevel is 0.

ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.4
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.4

Registry Entries to Enable Verbose Logging

Here is the option to make your life easy.

  • Copy the following text and save this as a filename. reg file.
  • Double-click on the reg file.
  • Select the Merge option to change the ConfigMgr client LogLevel to Verbose.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\Logging\@Global]
"LogDirectory"="C:\\windows\\CCM\\Logs"
"LogEnabled"=dword:00000001
"LogLevel"=dword:00000000
"LogMaxHistory"=dword:00000001
"LogMaxSize"=dword:0003d090

Enable Debug Mode

Now, let’s look at the second point to help you troubleshoot ConfigMgr client issues. Yes, you can enable Debug mode logging to get all the low-level information for troubleshooting.

The following table gives you the registry values for enabling debug logging. As I explained below, you need to create a new REG_SZ value.

Type of LoggingString Values
Enable debug logsTRUE
Disable debug logsFALSE
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Table.2

NOTE: I won’t recommend keeping this logging enabled on the client’s devices for a long time. I would rather enable it only for a very short time during troubleshooting.

From the Windows 10 device, click Start, and type Regedit. Then, select Registry Editor.

  • Navigate to the following registry path.
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\Logging
  • Right-click on the blank space as shown below.
  • Click on New.
  • Select the option called String Value to create the REG_SZ value.
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.5
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.5

Enter the name DebugLogging for the new String Value record you created above.

ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.6
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.6

Double click on DebugLogging REG_SZ value.

  • Change the string value TRUE.
  • Click on OK.
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.7
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.7

Restart SMS Agent Host Service

This is the last step you need to perform to start getting new detailed information in the SCCM client log files.

  • Start Services.msc.
  • Ring Click on the Service called – SMS Agent Host.
  • Click on Restart.

Please check the log file to confirm whether Verbose and Debug Logging are enabled on the client devices.

ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager - Fig.8
ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager – Fig.8

Resources

We are on WhatsApp now. To get the latest step-by-step guides, news, and updates, Join our Channel. Click here – HTMD WhatsApp

Author

Anoop C Nair has been Microsoft MVP for 10 consecutive years from 2015 onwards. He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is a Blogger, Speaker, and Local User Group Community leader. His primary focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career, etc.

1 thought on “ConfigMgr Client Enable Verbose Logging Debug Logging | SCCM | Configuration Manager”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.