SCCM – Windows 10 – Agent Stuck in Provisioning Mode

email me

When you use the W10 Upgrade, the Configuration Manager client may be left in provisioning mode after the upgrade succeeds (or fails, for that matter). If provisioning is left enabled, you won’t be able to see or use packages or updates in Software Center, the ccmexec.exe process will look likes it’s processing data, which it isn’t, and the client certificate will not be installed. A client reinstall will not resolve this. The solution is to toggle the provisioning mode flag from true…to false.

Solution

Powershell.exe Invoke-WmiMethod -Namespace root\CCM -Class SMS_Client -Name SetClientProvisioningMode -ArgumentList $false

 

Notes

Reg Key

Path: HKEY_LOCAL_MACHINE\Software\Microsoft\CCM\CcmExec
Value: ProvisioningMode
Data: True


If the client needs remediation

Powershell.exe Start-Process $env:WinDir\ccmsetup\ccmsetup.exe -ArgumentList “/remediate:client” -Wait -NoNewWindow -PassThru -WindowStyle Hidden