How To Manually Install and Uninstall SCCM Client

Jason Barrett Jason Barrett | | ConfigMgr

There are many reasons why you might need to manually install or uninstall the sccm client, in this article I will show you how to do this.

Steps To Manually Install and Uninstall SCCM Client

1. Gather SCCM Server Details

We need to get the SCCM server name and also the site code.  If you know the server name then log on to the server and open the “System Center Configuration Manager Console”  The site code will show in the top tool bar.

In the example below the SCCM site code is SC1.

System Center Configuration Manager Console

If you do not know the SCCM server name log on to a machine that you know is being managed with SCCM.

Open the control panel on that machine and click on “Configuration Manager”

control panel configuration manager

Under the general tab the SCCM server name will show next to “Assigned Management Point” and the Site code will also be shown (NCS in the example below)

configuration manager properties

2. Manually Installing The Client

Now log on to the machine where you want to manually install the SCCM client.  Open the command prompt and type in

\\%SCCMSERVERNAME%\SMS_%SCCMSITECODE%\Client\cmmsetup.exe /mp:%SCCMSERVERNAME% /logon /SMSSITECODE=%SCCMSITECODE%

replace %SCCMSERVERNAME% with the SCCM server name and %SCCMSITECODE% with the SCCM site code, So the command will look something like.

\\SCCMSERVER01\SMS_SC1\Client\cmmsetup.exe /mp:SCCMSERVER01 /logon /SMSSITECODE=SC1

manuall sccm client install

If you get a UAC prompt click yes

configuration manager uac

You will not get confirmation that the install has finished.  Wait 10 minutes, if you have a slow connection to the SCCM server (Over the WAN) you might need to wait some more time.

3. Confirming A Successful Install

To confirm the SCCM client has installed correctly we need to do two checks.

The first thing we need to do is check the client.  Open the control panel and click on “Configuration Manager” if the configuration manager icon does not appear this means the install has not finished.

If the configuration manager icon appears, click on it and select the actions tab.  If you only see two actions like below (Machine policy + User policy) this means that the SCCM policy has not downloaded to the client yet.

configuration manager policys

Once the SCCM policy has applied to your client you should see more actions in the list like shown below.

configuration manager policy loaded

Now if you open the “System Center Configuration Manager Console” on the sccm server and go to “Assets and Compliance > Overview > Devices” and search for your client.

You need to check if the Icon has a green tick, client is showing YES, site code listed is correct and client activity is active.

active sccm client

4. Manually Un-installing The Client

To manually uninstall the SCCM client log on to the machine and open the command prompt with elevated privileges and type in

\\%SCCMSERVERNAME%\SMS_%SCCMSITECODE%\Client\cmmsetup.exe /uninstall

Again replace the SCCM server name and site code, so it would look like.

\\SCCMSERVER01\SMS_SC1\Client\cmmsetup.exe /uninstall

Again you will not get a confirmation that the uninstall has finished, I recomment waiting at least 10 minutes before shutting down / restarting the machine

5. SCCM Client Install Error Codes

If the SCCM client fails to install some times an error code will show.  Below is a list of the most common install error codes.

2 – The system cannot find the file specified.
5 – Access denied.
52 – You were not connected because a duplicate name exists on the network. Make sure there is not a duplicate name in DNS and that 2 machines don’t have the same IP in DNS.
53 – Unable to locate – cannot connect to admin$ – Computer Browser not started – add File/print sharing to Exceptions in Firewall – turn file and print on.
58 – The specified server cannot perform The requested operation
64 – The specified network name is no longer available. Source: Windows
67 – network name cannot be found.
86 – network password is not correct? Machine Name <> resolved name.
112 – Not enough disk space
1003 – Cannot complete this function.
1053 – The service did not respond to the start or control request in a timely fashion.
1068 – The dependency service or group failed to start
1130 – Not enough server storage is available to process this command. Source: Windows
1203 – The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Please try retyping the path or contact your network administrator.
1208 – An extended error has occurred. Source: Windows
1396 – Logon Failure: The target account name is incorrect. (NBTSTAT -a reverse lookup, duplicate IP address)
1450 – Insufficient system resources exist to complete the requested service. Source: Windows
2147749889 – Generic WMI failure (Broken WMI)
2147749890 – not found – Source: Windows Management (WMI) – try repair WMI
2147749904 – Invalid class – Source: Windows Management (WMI)
2147749908 – Initialization failure – Source: Windows Management (WMI)
2147942405 – Access is Denied (Firewall rule? / MacAfee-HIPS?)
2147944122 – The RPC server is unavailable. (Dcom is miss-configured for security . )
2148007941 – Server Execution Failed