CCMSetup Install Switches

CCMSetup Install Switches

With this post I want to explain the CCMSetup install switches as I get asked a lot how and when to use them. The Configuration Manager client is installed by launching ccmsetup.exe. This happens to all client installations, even if client push installation from the Configuration Manager console and task sequence installations with the setup windows and configuration manager step.

The first thing ccmsetup.exe does is copy itself to c:\windows\ccmsetup and then downloads any prerequisites needed for the installation like .Net Framework 4.0. Ccmsetup.exe is a bootstrapper for the ConfigMgr client installation, and client.msi is launched from ccmsetup.exe. Ccmsetup.exe takes several paramters, some are used by ccmsetup.exe while others are passed on to client.msi.

CCMSetup Install Switches

Here is an example of an installation string I use in an environment with multiple domains and Configuration Manager sites. These ccmsetup install swithes makes sure my configuration manager clients are always installed and connected to the right site.

ccmsetup.exe SMSSITECODE=P01 / /ForceInstall

This installation string tells the Configuration Manager client installation the following:

  • SMSSITECODE=P01. Client.msi use P01 as sitecode.
  • Client.msi use as management point.
  • Client.msi use as fallback status point.
  • ConfigMgr client will use this domain for all connections where domain name is not specified.
  • /MP: CCMSetup.exe use as managementpoint.
  • /ForceInstall CCMsetup.exe will force the installation, and any previous versions of sccm client discovered will be uninstalled.

CCMSetup.exe parameters

  • /MP
  • /FSP
  • /Logon
  • /ForceInstall

Any parameter prefixed with “/” is a ccmsetup install switch and is used by CCMSETUP itself. They only control the behavior of CCMSETUP bootstrapper and do not affect the configuration of the installed configuration manager client. Specifying /MP sets the management point that CCMSETUP will use to lookup the distribution point for the installation, it do not in any way configure the management point used by the installed configuration manager client. You can specify several management points with /MP. It is also considered best practice to specify the FQDN (Fully Qualified Domain Name) when you specify the management point.

ccmsetup.exe /;

Management points that use secure communication must be specified with HTTPS prefix in the url.

ccmsetup.exe /mp:

ConfigMgr Client parameters

  • FSP

CCMSetup install switches that are all capital letters without the prefix “/” are passed directly to Client.msi, they are not used by CCMSETUP bootstrapper. These settings directly affects the ConfigMgr client and its configuration. They don’t have to be capital letters but is considered best practice to write them like that as it is easier to read. By specifying SMSMP and SMSSITECODE you tell the installed configuration manager client to use a specific management point and assign itself to a specific site instead letting the client look it up and discover it itself, thus saving time.

For some customers of mine, this is the only way to make sure the sccm client connects and configures itself to the right site. This is espeically important in multiple domain / site environments or when you want to manage a computer that is in a workgroup and not part of any domain.

Note that you can only specify one management point with SMSMP as the Configuration Manager client can only connect to one.

ccmsetup.exe SMSMP= SMSSITECODE=P01

In this post I only touched a few of the many parameters available. Check out Microsoft TechNet for more install switches for both ccmsetup.exe and client msi.

Anders Rødland

Anders Rødland started his IT career in 2006. My main focus is MS Configuration Manager and client management, and I have passed 17 Microsoft certifications since then. My main expertise is on client management with Microsoft Endpoint Manager: Intune and Configuration Manager. I also do a lot of work on the security side with Microsoft Defender for Endpoint. In addition to my Microsoft certification, I also have an ITIL v3 Foundation certification. This is my private blog and do not represent my employer. I use this to share information that I find useful. Sharing is caring.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.