Answer · Medium impact

Configuration Manager client shows as inactive

Symptom

A device shows Client: No or Client Activity: Inactive in the console, and deployments never reach it.

Cause

The client is broken, cannot reach the management point, has a duplicate GUID after imaging, or the device has been offline longer than the activity threshold.

Resolution

  1. On the device, check the SMS Agent Host (CcmExec) service is running.

  2. Read ClientIDManagerStartup.log and LocationServices.log in C:\Windows\CCM\Logs for registration and boundary errors.

  3. Run the client health check with ccmeval.exe.

  4. Repair or reinstall the client if needed, then trigger a machine policy retrieval.

Script

PowerShell
Get-Service CcmExec
& "$env:windir\CCM\ccmeval.exe"
Invoke-CimMethod -Namespace root\ccm -ClassName SMS_Client -MethodName TriggerSchedule -Arguments @{ sScheduleID = "{00000000-0000-0000-0000-000000000021}" }

Related script sample

Inactive Configuration Manager clients in a collection →

Disclaimer. These samples are provided as is, without warranty of any kind. Read and test every script in a non-production tenant before you run it, and run reports before any command that changes or deletes data.