- Compare the client installation methods and name the requirement of each
- Check the client push prerequisites on CL01, configure the client push installation account and push the client
- Install the client manually with ccmsetup.exe, explain the difference between CCMSetup parameters and client.msi properties, and follow ccmsetup.log
- Verify a client in the Configuration Manager control panel, in WMI and in the console
- Use ccm.log, ccmsetup.log, ClientLocation.log, LocationServices.log, ClientIDManagerStartup.log and CcmExec.log to locate a failure
The site from lesson 4 knows its network and has discovered CL01, but the console still shows No in the Client column. This lesson installs the Configuration Manager client, first with client push from the console and then manually with ccmsetup.exe, and verifies the result on the client and in the console. The blog article Client Push Installation in SCCM goes further into troubleshooting and the PKI pitfalls of HTTPS sites; this lesson keeps to what a first lab needs.
Installation methods
Learn describes several ways to install the client on Windows. All of them end with ccmsetup.exe running on the device, which downloads and installs the client.
| Method | How it works | Key requirement |
|---|---|---|
| Client push | The site server connects to a discovered computer and starts ccmsetup.exe there | Discovery, an account in the local Administrators group of the target, ADMIN$ share, firewall exceptions; not for workgroup computers |
| Software update point-based | The client is published to the software update point as a software update | A working software update point in a primary site and a GPO that points clients to it |
| Group Policy | CCMSetup.msi is assigned or published through a GPO | Installation properties from Active Directory (extended schema) or provisioned through the GPO template ConfigMgrInstallation.adm |
| Logon script | ccmsetup.exe /logon runs when a user signs in | Users who sign in to the network regularly |
| Manual | An administrator runs ccmsetup.exe from the site server share | Local administrator rights on the device; useful for testing |
| Microsoft Intune MDM | CCMSetup.msi is deployed from Intune as a Windows line-of-business app | Intune subscription and internet access; depending on the scenario, Microsoft Entra ID or a cloud management gateway |
| OS image | The client is preinstalled on a reference computer that is captured as an image | Image preparation without a site code (advanced course) |
For a lab, client push and manual installation are the methods to learn. Client push shows the dependency chain of discovery, boundaries, accounts and firewall in one action. Manual installation takes the push connection out of the picture and is the standard way to isolate a problem. Because of these dependencies, Learn calls client push the least secure method; for domain computers in production, it prefers software update-based or Group Policy installation.
What ccmsetup does
ccmsetup.exe is a bootstrapper. It finds a source for the client files, downloads them, installs the client's external dependencies when they are missing (for example the Microsoft Visual C++ 2015-2019 Redistributable and, if the device has an older version, .NET Framework 4.6.2), and then installs client.msi. client.msi cannot be run on its own.
With /mp:, ccmsetup asks that management point for a download source; the MP returns distribution points from the device's boundary groups, and if none works within four hours, ccmsetup downloads from the MP itself. With /source:, it installs from the given path. Without either, it looks for management points in Active Directory or DNS. In the lab, CM01 is MP and DP.
By default, ccmsetup runs as the ccmsetup service under the Local System account, so the command returns quickly and the installation continues in the background. Its log is C:\Windows\ccmsetup\Logs\ccmsetup.log. The installation is complete when the log ends with return code 0 (CcmSetup is exiting with return code 0); Learn documents 7 as reboot required and 6, 9 and 10 as errors. The installed client lives in C:\Windows\CCM, writes its logs to C:\Windows\CCM\Logs, and runs as the service SMS Agent Host (CcmExec).
Installation options come in two kinds, and Learn requires the CCMSetup parameters first:
CCMSetup.exe [<CCMSetup parameters>] [<client.msi properties>]- CCMSetup parameters start with a slash and take a value after a colon, for example
/mp:CM01.corp.example.com,/source:"\\server\share",/logon(stop if any client is already installed),/forceinstall(remove an existing client and install a new one) or/uninstall. - Client.msi properties are upper case and take a value after an equals sign, for example
SMSSITECODE=P01(the site to assign the client to;AUTOor no value means automatic site assignment) orSMSMP=CM01.corp.example.com(the initial management point the installed client uses).
/mp: affects only the download during installation and does not set the client's management point; SMSMP sets the initial one. Learn's best practices recommend SMSMP whenever client.msi properties are used, because it removes the dependency on Active Directory and DNS. The full list is in Learn's client installation parameters and properties.
Client push
Prerequisites
Learn lists these prerequisites for client push:
- The site has discovered the computer (lesson 4).
- The client push installation account is a member of the local Administrators group on the target. In the lab,
CORP\svc-cm-pushis a member throughCORP\CM-ClientPush(lesson 2). If no account is configured, the site server uses its own computer account. - The target has an
ADMIN$share. - The Windows Firewall on the target allows File and Printer Sharing (inbound and outbound) and Windows Management Instrumentation (WMI) (inbound). Lesson 2 enabled both rule groups on CL01 (TCP 445, TCP 135 and dynamic RPC ports).
- The client can reach a management point or distribution point to download the files.
- Kerberos mutual authentication (no NTLM fallback) requires a client in a trusted forest.
A quick check before the first push:
# CL01: ADMIN$ share and local Administrators
Get-SmbShare -Name 'ADMIN$'
Get-LocalGroupMember -Group 'Administrators'
# CM01: name resolution and SMB/RPC reachability of CL01
Resolve-DnsName -Name 'CL01.corp.example.com'
Test-NetConnection -ComputerName 'CL01.corp.example.com' -Port 445
Test-NetConnection -ComputerName 'CL01.corp.example.com' -Port 135Get-SmbShare returns ADMIN$ with the path C:\Windows, the Administrators list contains CORP\CM-ClientPush, and both connection tests return TcpTestSucceeded : True.
Site-wide settings
In Administration > Site Configuration > Sites, select P01, then in the ribbon Client Installation Settings > Client Push Installation:
- General tab. Enable automatic site-wide client push installation pushes the client to computers the site discovers, scoped to the boundaries in boundary groups. The lab leaves it off and pushes deliberately. The system types on the same tab (servers, workstations, and whether to include domain controllers) decide which computers the automatic push includes. Allow connection fallback to NTLM is disabled by default on sites newly installed with version 2207 or later; Learn recommends keeping it off, so that the connection requires Kerberos.
- Accounts tab. Select the New (Create) icon, then New Account, and add
CORP\svc-cm-pushwith its password, which can have at most 38 characters. With several accounts, the site tries each in turn until one succeeds. - Installation Properties tab. Accepts any client.msi property and a subset of CCMSetup parameters (for example
/forcerebootor/UsePKICert, but not/mpor/source); the site supplies the ccmsetup settings to pushed clients itself. The lab usesSMSSITECODE=P01, which the tab already contained on the lab site. With the extended schema, the site also publishes these properties to Active Directory, where accmsetup.exewithout options reads them.
Push to a device
In Assets and Compliance > Devices, select CL01 and choose Install Client in the ribbon. The wizard works even when automatic site-wide push is off. The Installation Options page offers installing on domain controllers, always installing the client even if one exists, and Install the client software from a specified site.
In the lab run, the push with the default options stopped in the wizard: Some of the selected resources are not assigned to any site, with one resource not in any site's boundaries. The device list showed no site code for CL01, and the record that Active Directory System Discovery had created listed CL01's IP address but an empty IP Subnets property. The cause could not be pinned down: in a later check, another discovered computer was offered for installation from P01 without this error. With Install the client software from a specified site and site P01, the push went through. Once the installed client had sent its first heartbeat, its record listed the subnet 192.168.10.0 and the site code P01.
What follows runs on two machines and writes to two logs:
- CM01 connects. The site server connects to CL01 through the
ADMIN$share and WMI with the push account and startsccmsetup.exethere. It records each attempt inccm.login the site server'sLogsfolder, in the labD:\Program Files\Microsoft Configuration Manager\Logs. If the site server cannot contact the computer or start setup, it retries every hour for up to seven days; a push cannot be cancelled. - CL01 installs.
ccmsetup.exedownloads the client files through the management point from the distribution point and installs the client. It records this inccmsetup.logon CL01.
When ccm.log shows access denied or the network path was not found, the problem is between CM01 and CL01: name resolution, Kerberos, the firewall rule groups, the ADMIN$ share or the push account's membership in the local Administrators group. When ccm.log shows a successful connection but ccmsetup.log shows download errors, the problem is between CL01 and the management point or distribution point.
Manual installation
The site shares its client files as \\CM01\SMS_P01\Client. Learn requires administrator permissions for the installation. CORP\cmadmin is a local administrator only on CM01, so on CL01 the lab signs in as CORP\Administrator; Domain Admins belong to the local Administrators group of every domain member by default. In an elevated Windows PowerShell session on CL01:
# CL01: install the client from the site server share
& '\\CM01\SMS_P01\Client\ccmsetup.exe' /mp:CM01.corp.example.com `
SMSSITECODE=P01 SMSMP=CM01.corp.example.com
# Follow the installation (Ctrl+C to stop); wait until return code 0
Get-Content -Path 'C:\Windows\ccmsetup\Logs\ccmsetup.log' -Tail 20 -WaitIn the lab run, the installation took about two minutes, and so did /uninstall. After the manual installation, Windows showed the Program Compatibility Assistant (This program might not have installed correctly) for ccmsetup.exe; ccmsetup.log had ended with return code 0, so the message was closed.
/mp: tells ccmsetup where to ask for the client files; SMSSITECODE=P01 assigns the client to the site directly; SMSMP= gives the installed client its first management point. With the extended schema, a site that publishes to the domain (Publishing tab of the site properties) and a boundary group with site assignment (lessons 2 and 4), ccmsetup.exe without any options would also work: it reads the installation properties that the site publishes in Active Directory and uses automatic site assignment.
To remove the client for a clean retry, ccmsetup.exe /uninstall runs from the same share. It shows nothing on screen; ccmsetup.log records the removal, and Wait-Process -Name ccmsetup in PowerShell waits until it has finished. ccmsetup.exe /forceinstall combines removal and new installation in one step.
From installation to first policy
An installed client is not yet a managed client. Learn calls a client unmanaged when it is installed but not assigned to a site, or assigned but unable to communicate with a management point. After ccmsetup.log reports return code 0, the following happens, each step in its own log in C:\Windows\CCM\Logs:
| Step | What happens | Log |
|---|---|---|
| Site assignment | The client takes its site from SMSSITECODE or finds it through the boundary groups (automatic assignment); the site then checks that it can manage this client version | ClientLocation.log |
| Finding site systems | The client builds its list of management points from SMSMP or /mp, Active Directory and DNS, and later locates distribution points and software update points | LocationServices.log |
| Identity and registration | The client creates and keeps its unique ID (GUID) and registers with its assigned management point; with Enhanced HTTP, the MP issues it a token | ClientIDManagerStartup.log |
| Policy and operation | The SMS Agent Host runs the client's components, requests policy and runs its schedules | CcmExec.log, PolicyAgent.log, CcmMessaging.log |
The steps overlap, so the logs are read side by side. ClientIDManagerStartup.log records a successful registration with a line that starts with [RegTask] - Client is registered. CcmMessaging.log records all communication between the client and its management points and is the log to open when a client cannot reach its MP. A client that finds no site for its location and has no fallback site retries automatic assignment every 10 minutes.
Registration of domain-joined clients is approved automatically with the default hierarchy setting from lesson 4. Other clients, such as workgroup computers, are approved with Approve in the ribbon of Devices; managing unapproved clients is unsupported.
Verifying the client
On the client. The Configuration Manager applet in Control Panel (control smscfgrc opens it directly):
- General: the client version, 5.00.9146.1045 after the 2603 update rollup from lesson 3 (Learn writes it as 5.0.9146.1045).
- Site: the assigned site,
P01; the General tab shows the site code asSMS:P01. - Components: the client agents and their state.
- Actions: cycles that can be started by hand. Machine Policy Retrieval & Evaluation Cycle, then Run Now, makes the client ask its MP for new policy immediately; it is the action used most in this course.
The same data is available in the client's WMI namespace root\ccm:
# CL01: client version and assigned site
Get-CimInstance -Namespace 'root\ccm' -ClassName 'SMS_Client' |
Select-Object -Property ClientVersion
Invoke-CimMethod -Namespace 'root\ccm' -ClassName 'SMS_Client' `
-MethodName 'GetAssignedSite'
# CL01: request machine policy now (same as the control panel action)
Invoke-CimMethod -Namespace 'root\ccm' -ClassName 'SMS_Client' `
-MethodName 'TriggerSchedule' `
-Arguments @{ sScheduleID = '{00000000-0000-0000-0000-000000000021}' }
# CL01: the SMS Agent Host service
Get-Service -Name 'CcmExec'GetAssignedSite returns sSiteCode : P01, and CcmExec is Running. In the lab run, the ReturnValue of both methods stayed empty rather than 0; the site code is the check that counts. Software Center appears in the Start menu.
In the console. In Assets and Compliance > Devices, CL01 now shows Yes in the Client column and P01 in the Site Code column; these two columns are the check Learn names for site assignment. The details pane of CL01 shows client activity and client check status. A client is active when it has requested policy, sent a heartbeat or sent hardware inventory within seven days; the client check is its periodic health evaluation, which runs in the Windows maintenance window, so its first result comes later.
In the lab run, Client switched to Yes only after the client's first heartbeat; Discovery Data Collection Cycle on the Actions tab of the applet sends one at once. A Refresh right afterwards may report One or more errors occurred with Not found, because the selected discovery record was replaced by the client's record; selecting the Devices node again shows the current list.
The device also becomes a member of the built-in collection All Desktop and Server Clients. Learn notes that a newly assigned client may not show up immediately: Update Membership on the collection followed by Refresh helps more than repeating the installation.
Common mistakes
| Symptom | Cause | Fix |
|---|---|---|
| The Install Client wizard reports Some of the selected resources are not assigned to any site | The site has not assigned the discovered record to a site; in the lab run, its IP Subnets property was empty and Devices showed no site code | Select Install the client software from a specified site with P01 on the Installation Options page |
| Push does nothing; CL01 stays Client: No | The device is not discovered, the push account is missing or wrong, or it is not in the local Administrators group of CL01 | Read ccm.log on CM01; correct the account on the Accounts tab of Client Push Installation; check Get-LocalGroupMember -Group 'Administrators' on CL01 |
ccm.log reports access is denied or the network path was not found | Kerberos fails (for example a clock difference over five minutes, with NTLM fallback off), or DNS, the firewall rule groups on CL01 or the ADMIN$ share are missing | Run w32tm /stripchart /computer:DC01.corp.example.com on CL01; from CM01 run Resolve-DnsName and Test-NetConnection -Port 445 and -Port 135; run Get-SmbShare on CL01; fix the failing item and push again |
ccmsetup.log cannot download files | The management point or distribution point is unreachable or unhealthy | Run Test-NetConnection CM01.corp.example.com -Port 80 from CL01, read mpcontrol.log on CM01 and check Site Status |
| The client is installed but not assigned to a site | No SMSSITECODE was given, and no boundary group with site assignment contains the client's address | Read ClientLocation.log; enable site assignment on the boundary group, or reinstall with SMSSITECODE=P01 |
| The client is assigned but receives no policy | The management point is not reachable, registration has not completed, or the client is not approved | Read LocationServices.log, ClientIDManagerStartup.log and CcmMessaging.log; approve the client in Devices if needed |
A second VM that shows up as the same device was cloned from a machine that already had a client, so both share its identity. The client is installed only after cloning; on a clone, Learn's image preparation applies: stop CcmExec, delete C:\Windows\SMSCFG.INI, remove the certificates in the SMS store.
Return code 7 means a restart is required; ccmsetup continues after the next restart. For errors inside the Windows Installer phase, Learn lists client.msi.log. A client that installed once and then misbehaves is often fixed fastest by ccmsetup.exe /uninstall and a fresh manual installation.
Try it
The goal is a managed CL01, installed once by client push and once manually.
- Restore the checkpoint
sccm-L5-starton all three VMs: the checkpointsccm-L4-endfrom lesson 4. Start the VMs. Expected: In Assets and Compliance > Devices, CL01 appears with No in the Client column. - On CL01 and CM01, run the prerequisite checks from the Prerequisites section. Expected:
Get-SmbSharereturnsADMIN$with the pathC:\Windows, the Administrators list containsCORP\CM-ClientPush, and both connection tests returnTcpTestSucceeded : True. Check: the block in Prerequisites. - In the Client Push Installation properties of
P01, addCORP\svc-cm-pushon the Accounts tab and make sure the Installation Properties tab containsSMSSITECODE=P01. Leave automatic site-wide push off and NTLM fallback disabled. Expected: The Accounts tab listsCORP\svc-cm-push, and the General tab shows automatic site-wide push and NTLM fallback cleared. - On CM01, open
ccm.login CMTrace. Learn namescd.latest\SMSSETUP\Tools\CMTrace.exein the installation folder on the site server; every client has its own copy,C:\Windows\CCM\CMTrace.exe. Expected: CMTrace showsccm.logfromD:\Program Files\Microsoft Configuration Manager\Logs. - In Devices, select CL01 and run Install Client; on Installation Options, select Install the client software from a specified site with
P01. Expected: The wizard reports Resources to be installed from site: 1 , andccm.logrecords the connection to CL01, the copied files and the startedccmsetupservice. - Follow
ccm.logon CM01 andccmsetup.logon CL01 until the installation ends with return code0. Expected:ccm.logrecords a successful connection to CL01, andccmsetup.logends withCcmSetup is exiting with return code 0. Check:Select-String -Path 'C:\Windows\ccmsetup\Logs\ccmsetup.log' -SimpleMatch -Pattern 'exiting with return code'on CL01 - On CL01, open the Configuration Manager applet, check the General and Site tabs, and run Machine Policy Retrieval & Evaluation Cycle. Expected: The client version is 5.00.9146.1045, and the site is
P01. Check:control smscfgrc - On CL01, run Discovery Data Collection Cycle in the applet; in the console, select Devices again until CL01 shows Client: Yes and Site Code: P01. Expected: CL01 shows both values and is a member of All Desktop and Server Clients (after Update Membership and Refresh on the collection, if needed).
- On CL01, signed in as
CORP\Administrator, runccmsetup.exe /uninstallfrom\\CM01\SMS_P01\Clientand wait untilccmsetup.logreports the end of the removal. Expected:ccmsetup.logrecords the removal. Check:Wait-Process -Name ccmsetupreturns once the removal has finished. - Reinstall the client manually with the command from the Manual installation section. Expected:
ccmsetup.logends again with return code0. Check: the sameSelect-Stringcommand as in step 6 - Open
ClientLocation.log,LocationServices.logandClientIDManagerStartup.logand find the site assignment, the management point and the registration. Run the WMI block. Expected:ClientLocation.logrecords the assignment toP01,LocationServices.logthe management pointCM01.corp.example.com, andClientIDManagerStartup.log[RegTask] - Client is registered;GetAssignedSitereturnssSiteCode : P01, andCcmExecis Running. Check:Select-String -Path 'C:\Windows\CCM\Logs\ClientIDManagerStartup.log' -SimpleMatch -Pattern '[RegTask] - Client is registered' - Take a checkpoint of all three VMs named
sccm-L5-end. Lesson 6 starts from this checkpoint. Expected: The checkpoint exists for DC01, CM01 and CL01. Check:Get-VMCheckpoint -VMName DC01, CM01, CL01 | Select-Object -Property VMName, Nameon the host
Check your understanding
- Client push fails, and
ccm.logon CM01 reports access denied when it connects to CL01. Name two causes to check.
Answer
The push account is not a member of the local Administrators group on CL01 (here through CORP\CM-ClientPush), or the account or its password is wrong in the Client Push Installation properties. Because NTLM fallback is off, a Kerberos failure, for example from a clock difference of more than five minutes, is a third candidate.
- What is the difference between
/mp:CM01.corp.example.comandSMSMP=CM01.corp.example.comon the ccmsetup command line?
Answer
/mp: is a CCMSetup parameter: the management point that ccmsetup asks for a download source during installation. It does not assign the client to that MP. SMSMP= is a client.msi property: the initial management point that the installed client uses. CCMSetup parameters come before client.msi properties on the command line.
- The client is installed and
ccmsetup.logreports return code 0, but the console shows no site code for CL01. Which log and which configuration are checked?
Answer
ClientLocation.log on the client, and the boundary group configuration: the client's address must be in a boundary group with Use this boundary group for site assignment, unless a site code was given at installation.
- Which control panel action makes the client ask its management point for new policy immediately, and what is the PowerShell equivalent?
Answer
Machine Policy Retrieval & Evaluation Cycle on the Actions tab of the Configuration Manager applet, then Run Now. In PowerShell, the TriggerSchedule method of SMS_Client in root\ccm with the schedule ID {00000000-0000-0000-0000-000000000021} (Machine Policy Assignments Request).
- A team plans to install the client on several hundred domain computers in production with client push. Which methods does Learn prefer for this case, and why does the lab still use client push and manual installation?
Answer
Learn calls client push the least secure method and prefers software update point-based or Group Policy installation for domain computers in production. The lab uses client push because it shows the dependency chain of discovery, boundaries, accounts and firewall in one action, and manual installation because it takes the push connection out of the picture and isolates problems.
Summary
- All installation methods run
ccmsetup.exe; client push and manual installation are the two methods a lab needs. - Client push depends on discovery, a push account in the local Administrators group, the
ADMIN$share, the firewall rule groups and Kerberos;ccm.logon the site server records the connection,ccmsetup.logon the client the installation. - On the command line, CCMSetup parameters (
/mp:,/source:,/uninstall) come before client.msi properties (SMSSITECODE=,SMSMP=); a manual installation from\\CM01\SMS_P01\Clientisolates problems from the push mechanism. - After installation,
ClientLocation.log,LocationServices.log,ClientIDManagerStartup.logandCcmExec.logshow site assignment, MP location, registration and operation. - A healthy client shows its site in the control panel applet and in WMI, and Client: Yes with the site code in the console.
Sources
- Client installation methods — https://learn.microsoft.com/en-us/intune/configmgr/core/clients/deploy/plan/client-installation-methods (2024-10-18; checked 2026-11-30)
- About client installation parameters and properties — https://learn.microsoft.com/en-us/intune/configmgr/core/clients/deploy/about-client-installation-properties (course check 2026-11-29)
- Log file reference — https://learn.microsoft.com/en-us/intune/configmgr/core/plan-design/hierarchy/log-files (ms.date 2025-08-11; checked 2026-11-30)
- Client security and privacy — https://learn.microsoft.com/en-us/intune/configmgr/core/clients/deploy/plan/security-and-privacy-for-clients (ms.date 2021-05-05; checked 2026-11-30)