ConfigMgr Verbose Client Logging

When attempting to troubleshoot ConfigMgr client issues sometimes standard logging may not cut the mustard.

To enable verbose logging for the ConfigMgr Client run the following Powershell cmdlets:

Set-ItemProperty -Path Registry::HKLM\SOFTWARE\Microsoft\CCM\Logging\@GLOBAL -name LogLevel -value 0

Set-ItemProperty -Path Registry::HKLM\SOFTWARE\Microsoft\CCM\Logging\@GLOBAL -name LogMaxHistory -value 2

New-Item -Path Registry::HKLM\SOFTWARE\Microsoft\CCM\Logging -Name DebugLogging –Force

This will set a few regkeys to enable verbose loggingas per Microsoft Docs About log files – Configuration Manager | Microsoft Docs.

SMS agent host must be restarted after this using services.msc OR

Get-Service ccmexec | restart-service -verbose

If you view a log, for example the pwrmgmt.log in C:\windows\ccm\logs it will show more detailed logging.

Handy for troubleshooting power settings not being applied.

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *