Monday 30 January 2012

SCCM 2012 RC2 released

Microsoft have released the open beta of Configuration Manager 2012 Release Candidate 2. It can be found at http://www.microsoft.com/en-us/server-cloud/system-center/configuration-manager-2012.aspx.

Tuesday 24 January 2012

Uninstalling the SCCM Client

The only supported method of uninstalling the client is ccmsetup /uninstall (See Technet).

On most systems this executable is found at C:\WINDOWS\system32\ccmsetup

But since Operating System Deployment relies on the SCCM client, how do you uninstall it as part of a task sequence? The answer is simple - schtasks.

The following command should work as the last step in a task sequence-

schtasks /create /tn "Remove SCCM Client" /tr "C:\WINDOWS\system32\ccmsetup /uninstall" /sc ONSTART /Z /ru "SYSTEM"

It should work, but I've not tested it. It's one of those things that was a requirement, but was quickly dropped, so never even got into testing.