Agent fails to download it’s policies and there is no errors on management point and the ClientIDManagerStartup.log shows [RegTask] – Client is already registered. Exiting.
Uninstall of the agent (ccmsetup.exe /uninstall) and reinstalling do not help at all.
The issue is that the uninstall do not clean up in ROOT\CCM in WMI
Run this line in a admin powershell prompt:
Get-WMIObject -namespace “root” -query “SELECT * FROM __Namespace where name = ‘ccm’” | remove-wmiobject
Then run the agent installation and grab a cup of coffe, and the agent will installed and are able to download it’s policies
After a few SCCM minutes it will be active and have the “green” icon in the console