Step 1. Locate the installation files of admin console:

The first thing we need to do, is to locate the installation files. When we are looking around, we will see that there are two different locations were the installation files can be found:

1.<ConfigMgrSiteServerInstallPath>\tools\ConsoleSetup

2.<ConfigMgrInstallMedia>\SMSSETUP\BIN\I386

Of these two locations the first one is the best option (and also the best practice), as it will also contain the supported language packs for the site. With the second option only the English version will be installed.

Step 2. Create the command line:

The second thing we need to do is create the correct command line. But before we can do that, we need to know which installer we need to use. Well, the best practice is  to use the consolesetup.exe to initiate the install, as it will do some prerequisite and dependency checks. This installer has the following command line options:

Option Description

/q Silent (un)install. Always use in combination with TargetDir, EnableSQM and DefaultSiteServerName (in an install action).

/uninstall Uninstall. Always use in combination with /q

LangPackDir (Optional) Specify the path to the folder with the language files.

TargetDir (Required) Specify the path to the folder with the installation files.

EnableSQM (Required) Specify to Join Customer Experience Improvement Program (or not).

DefaultSiteServerName (Required) Specify the FQDN of the site server.

Silent install example:

consolesetup.exe /q TargetDir=””C:\Program Files\Configuration Manager\Console” EnableSQM=1 DefaultSiteServerName=server1.example.local

Silent uninstall example:

consolesetup.exe /q /uninstall

Thanks to Peter van der Woude.