Install SCCM Client Manually Using Command Line HTMD Blog (2024)

In this post, let’s see how to install SCCM Client Manually Using Command Line. I’m taking an example here to explain the scenario of SCCM client Manual installation. We are going to install the SCCM client on Windows Server 2022.

This post also talks about the limited support for the Server 2022 datacenter version. There are different ways to Install the SCCM client on Windows Server 2022. One of the simplest methods is manual installation. You will have various options to install SCCM clients like Client Push, AD Group Policy, etc.

There are different prerequisites for each client installation method. You will need to make sure you have all the prerequisites in place before start installing the client. I have explained how to enable patching for Windows Server 2022 operating system. You will also have to create Windows Server 2022 SCCM collection to manage these servers using SCCM.

  • SCCM Server In-place OS Upgrade to Server 2022 Guide

You can manage Windows Server 2022 using SCCM once the client is installed & working successfully. The following list provides the different types of SCCM client installation methods for Windows Server 2022.

Install SCCM Client Manually Using Command Line HTMD Blog (1)

  • Client push installation (SCCM Console)
  • Software update point-based installation (GPO GPEDIT.MSC)
  • Group policy installation (GPO – GPEDIT.MSC)
  • Package and program installation (SCCM Console)
  • OSD Task Sequence (SCCM Console)
  • Logon script installation (AD)
  • Workgroup computers (Manual)
  • Internet-based client management (SCCM/Manually ?)
  • Provision client installation properties (GPO)
  • Manual installation (Manual via command prompt?)

Limited SCCM Client Support for Server 2022

Let’s check the prerequisites of SCCM client installation on Windows Server 2022. You will need a minimum of SCCM version 2107 to support the Server 2022 operating system. You will also need to make sure that the startup type or Log on settings for any SCCM services are not changed.

As per Microsoft documentation, the Server 2022 Standard and Datacenter versions are supported by SCCM. However, the support for datacenter versions is not fully tested and certified. The server core version has some other limitations for using Client Push installation methods. Even though the Datacenter version is supported, but it’s not fully supported.

Install SCCM Client Manually Using Command Line HTMD Blog (2)

The fully supported version of Server 2022 is the standard version with Desktop Experience.

NOTE! – SCCM tests and supports Windows Server Datacenter editions but isn’t officially certified for Windows Server. Configuration Manager hotfix support isn’t offered for issues that are specific to Windows Server Datacenter Edition.

Install SCCM Client Manually Using Command Line HTMD Blog (3)

NOTE! – To supportclient push installation on Server Core operating system, you will need to add the File Server service of the File and Storage Services server role. The Software Center app isn’t supported on any version of Windows Server Core.

SCCM Firewall Ports Requirement for SCCM Client

Let’s find out thefirewall ports requirementfor SCCM client on Windows Server 2022 before installing the SCCM client. I don’t think there are any additional firewall ports required only for Server 2022. So if you have already opened the firewall ports for Windows Server 2012, 2016, or 2019, the SCCM client communication will work OK for Windows Server 2022 as well.

NOTE! – You will need to go through the network level troubleshooting and network trace to resolve the issues with SCCM servers and SCCM clients in corporate environments. SCCM Real-World Network Trace Examples.

The following table gives you a list of Firewall rules (communication ports) between the SCCM server and the client. Also, you can skip some firewall rules or communication ports depending on the functionality used in your environment.

FromToUDPTCPDescriptionDirection
ClientMP10123/80/443Client Notification/HTTP/HTTPSUnidirectional
ClientSUP80/8530/443/8531HTTP/HTTPSUnidirectional
ConsoleClient2701/3389RC/RDP/RTCUnidirectional
ClientDP80/443HTTP/HTTPSUnidirectional
ClientDP with Multi Cast63000-64000445Multi Cast/SMBUnidirectional
ClientDP with PXE67/68/69/4011DHCP/TFTP/BINLUnidirectional
ClientFSP80HTTPUnidirectional
ClientDomain3268/3269LDAP/LDAP SSLUnidirectional
ClientMP10123/80/443Client Notification/HTTP/HTTPSUnidirectional

SCCM Client Install Command Line Options

Let’s see the SCCM Client Install Command Line Options. When you select the command-line options to install the SCCM client manually, there aretwo (2) types of parameters:

  • CCMSetup.exe parameter
  • Client.msi Parameters

Install SCCM Client Manually– Command Line Parameters are mentioned below.

SCCM Client.msi properties

  • Client.msi property
  • FSP=SMSFP01
  • /source:
  • /retry:
  • /noservice
  • /service
  • /uninstall
  • /logon
  • /forcereboot
  • /BITSPriority:
  • /downloadtimeout:
  • /UsePKICert
  • /NoCRLCheck
  • /config:
  • /skipprereq:
  • /forceinstall
  • /ExcludeFeatures:

SCCM CCMSetup parameter

  • /mp:SMSMP01
  • /logon

Install SCCM Client Manually Using Command Line

Let’s install the SCCM client (2107 or later) on Windows Server 2022. You can use any of the supported ConfigMgr (aka SCCM) client installation methods here. But, I feel it’s better to use the manual client installation method if you have only a handful of servers to manage using SCCM.

I have explained many details about selecting different client installation parameters in the Windows 11 client installation post. If you need more information about client installation command line parameter details, you can refer to that blog post.

Install SCCM Client Manually Using Command Line HTMD Blog (4)

I don’t think you will need to go through all the supported parameters for the Server 2022 client installation scenario. You can use the following command from the client source location.

  • You can get the Client Source from \\<site server name>\SMS_<site code>\Client\
  • Remember to change the Source location in the following command line to your local path where you stored the client source files.
  • Launch the command prompt with administrative rights and Run the CCMSetup.exe from there.
    • Make sure you run the command line from the Client Source File location as you can see in the below screenshot.

CCMSetup.exe /Source:“F:\Program Files\Microsoft Configuration Manager\Client” SMSSITECODE=MEM

Install SCCM Client Manually Using Command Line HTMD Blog (5)

Progress Check – Manual SCCM Client installation Using Command Line

Let’s check the Install SCCM Client Manually Using Command Line status. Now, it’s time to check the progress of SCCM client installation on Windows Server 2022. You will need to check the processes running on the server as a first step. You can open the Task Manager by right-clicking on the taskbar.

Expand the Background Processes section from Task Manager ccmsetup.exe (32 bit) to check whether the CCMSetup service is running or not. The CCMSetup is the service that helps to install the SCCM client on server 2022.

You can check the CCMSeup service from services.msc. This service will be available only for a short period. The CCMSetup service will automatically get deleted after the successful installation or failed installation of the client.

Install SCCM Client Manually Using Command Line HTMD Blog (6)

Log Files – Install SCCM Client Manually Using Command Line

You can check the Client installation-related log files from the C:\Windows\CCMSetup folder. I normally check the CCMSetup.log. To perform additional checks on installation or failure of SCCM client install, I will inspect the client.msi.log file.

The following are some of the log entries that you can check in CCMSetup.log for the successful installation of the client. You will need to check for the Return Value 3 entry in the client.msi.log file to get the exact reason for the failure SCCM client installs on Windows Server 2022.

File C:\WINDOWS\ccmsetup{0FA11E2A-0E48-49D0-B00A-A56E541E7E01}\client.msi installation succeeded.
F:\Program Files\SMS_CCM\clientstate.dat exists after client.msi run.
[5.00.9058.1047] Params to send ‘5.0.9058.1047 Deployment [SMB] F:\Program Files\Microsoft Configuration Manager\Client\’

Install SCCM Client Manually Using Command Line HTMD Blog (7)

FIX: SCCM Client Not Working on Server 2022 – Troubleshoot Manual Client Install issues for SCCM

Let’s check and FIX: SCCM Client Not Working on Server 2022 – Troubleshoot Manual Client Install issues for SCCM. After successfully installing the SCCM client (minimum client version 5.00.9058.1012 – 2107 version or later), you will have to check whether Server 2022 is receiving the policies from the SCCM server or not.

In the following scenario, the client is not working and not getting any policies from the SCCM server. I have explained the Configuration Manager applet properties troubleshooting scenario in the following blog post. ConfigMgr Client Component Status | Installed | Enabled | Disabled.

When you see only two actions in theActions tabof Configuration Manager properties, the SCCM client might have a problem receiving policies from MP. Why? You will get more details below.

Install SCCM Client Manually Using Command Line HTMD Blog (8)

You will need to add the Server 2022 IPs to the SCCM boundary, and that boundary should be part of the boundary group to get the policies from the SCCM server. In this scenario, the IP address of Windows Server 2022 was not part of the SCCM boundary group.

I have added the new IP address of Server 2022 to the SCCM boundary and Boundary group. This helped the SCCM client install on Windows Server 2022 to get all the required policies. More details on SCCM boundary Group creation and management are explained in the following post.

  • How to Create Boundary Groups in ConfigMgr | SCCM Boundaries
Install SCCM Client Manually Using Command Line HTMD Blog (9)

After adding the IP addresses to the boundary group, the SCCM client on Windows Server 2022 started showing the Online Status.

Install SCCM Client Manually Using Command Line HTMD Blog (10)

You can also check the status of the SCCM client on Server 2022 from Control Panel Configuration Manager Applet. In the Actions tab, you would be able to see more than two actions!

Install SCCM Client Manually Using Command Line HTMD Blog (11)

Author

AnoopisMicrosoft MVP! He is a Solution Architect in enterprise client management with more than 20 years of experience (calculation done in 2021) in IT. He is Blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about technologies like ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.…

Install SCCM Client Manually Using Command Line HTMD Blog (2024)

FAQs

How to install SCCM client manually command line? ›

How to Manually Install SCCM Client Agent
  1. Login to the computer with an account that has admin privileges.
  2. Click Start and run the command prompt as administrator.
  3. Change the folder path to SCCM client agent install files.
  4. Run the command – ccmsetup.exe /install to manually install the agent.
Feb 14, 2024

How to install SCCM client console? ›

  1. Locate Installation Files on SCCM Server. Go To the following address using your file browser \dc-sccm-1SMS_PS1tools.
  2. Copy Files To Your Desk. Copy the entire ConsoleSetup folder to your Desktop.
  3. Run The Setup. Run the ConsoleSetup.exe file. ...
  4. Server Address.

How to install scep client manually? ›

Install SCEP certificate manually on Windows
  1. Install Foxpass Client CA.
  2. Install Foxpass Server CA.
  3. Install the Client Certificates.
  4. Configure the wireless network settings.

How does SCCM client push work? ›

When you configure client push installation for a site, client installation automatically runs on computers that the site discovers. This method is scoped to the site's configured boundaries when those boundaries are configured as a boundary group.

How do I uninstall and install SCCM client manually? ›

Method 1: Manually Uninstall SCCM Client using CCMSETUP
  1. On your Windows computer, run the command prompt as an administrator.
  2. Change the path to the client agent location to C:\Windows\ccmsetup.
  3. Run the command ccmsetup.exe /uninstall.
  4. Restart your computer after you uninstall the client agent.
Feb 28, 2024

How to open Configuration Manager console from command prompt? ›

Click the Windows key + R to open the Run window. Type compmgmt. msc in the Open: box. Click OK.

Where do I find the SCCM console? ›

The simplest method to open the console on a Windows computer is to go to Start and start typing Configuration Manager console . You may not need to type the entire string for Windows to find the best match.

How do I know if Scep is installed? ›

Information
  1. On the Windows computer, click Start, type Event, and then click Event Viewer.
  2. Look in Applications and Service Logs > Microsoft > Windows > DeviceManagement-Enterprise > Admin.
  3. In the General tab, find / type and search for "scep" and specify the specific date the SCEP was deployed.

What is the default URL for SCEP? ›

The SCEP URL is http://HOST:PORT/ejbca/publicweb/apply/scep/ALIAS/pkiclient.exe . The URL contains a reference to a configuration alias 'ALIAS'. 'ALIAS' is an alphanumeric string that refers to the set of SCEP configurations that should be used when handling the SCEP request coming through this URL.

How to install client server? ›

Install a single application server and client
  1. From the application splash screen, click Install Client and Application Server. ...
  2. Click Application Server. ...
  3. Select Core server, and then click Next. ...
  4. Review the license agreement, and then click I Agree. ...
  5. Proceed as applicable based on the architecture of your computer.

How do I know if the SCCM client is installed? ›

Checking SCCM After Post-Config
  1. Microsoft Endpoint Configuration Manager can be located at the Control Panel (Windows 10):
  2. Launching SCCM will give you the following set of tabs:
  3. Important. Make sure that under the Components tab Status shows as installed or enabled. ...
  4. Important.

How to deploy SCCM client to a server? ›

4 answers
  1. Enable/Setup Software Update Point in SCCM.
  2. Define Maintenance Windows.
  3. Configure Client Settings for servers including Software Updates and deploy to server collection.
  4. Remove old WSUS GPO's so they don't conflict with SCCM local Policy.
Sep 10, 2020

How to install software in command line? ›

Here's a brief breakdown of how to install software with cmd:
  1. Open the Start menu and type “cmd.exe.”
  2. Next, right-click “cmd.exe” from the “Programs” list, then proceed to click “Run as administrator.”
  3. After that, type the full path to the file's directory after the “cd” command.
Jun 25, 2023

How to setup SCCM from scratch? ›

We will explain how to install SCCM step-by-step.
  1. Installing the SCCM prerequisites. To install SCCM, you must first install the following components: SQL Server instance. ...
  2. Installing System Center Configuration Manager. To install the SCCM server: Run the setup and choose the custom installation type.
Jan 2, 2023

How to using a command line to install software on remote PCs? ›

Using a Command Line to Install Software on Remote PCs
  1. Step 1: Load up a command shell with appropriate access permissions. ...
  2. Step 2: Step into WMIC. ...
  3. Step 3: Call the installation (for a single machine) ...
  4. Step 4: Call the installation (for a list of machines)
Feb 4, 2009

Top Articles
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 6071

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.