Perform a scripted installation of Configuration Manager 2012 Beta2

As you might already know, there are a lot of nice changes in Configuration Manager 2012. As part of a site server installation Configuration Manager will generate a file called ConfigMgrAutoSave.ini and store that in the %temp% folder. This file can be used to perform a scripted installation.

  1. If you want to perform a scripted installation perform these steps:
  2. Navigate to <ConfigMgr Install source\SMSSetup\Bin\X64\
  3. Type setupwpf.exe /script L:\Labfiles\Install\PS1Script\ConfigMgrAutoSave.ini
    (Notice that setupwpf.exe will not perform basic checking for .Net those components must be present otherwise it will fail. The scripted installation can also be performed by running setup.exe – thanks Johan).

    image

  4. We still use Trace32.exe to monitor the installation.

    image

  5. As part of the installation monitor the ConfigMgrAdminUISetup.log, ConfigMgrSetup.log and sitecomp.log
  6. The ini file

    [Identification]

    Action=InstallPrimarySite

    [Options]

    ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    SiteCode=PS1

    SiteName=Primary Site 1

    SMSInstallDir=E:\Program Files\Microsoft Configuration Manager

    SDKServer=SCCM4

    RoleCommunicationProtocol=HTTPorHTTPS

    ClientsUsePKICertificate=0

    PrerequisiteComp=1

    PrerequisitePath=L:\Labfiles\prereqs\CM2012DL

    ManagementPoint=SCCM4.SCCMLAB.LOCAL

    ManagementPointProtocol=HTTP

    DistributionPoint=SCCM4.SCCMLAB.LOCAL

    DistributionPointProtocol=HTTP

    AdminConsole=1

    [SQLConfigOptions]

    SQLServerName=SCCM4.SCCMLAB.LOCAL

    DatabaseName=CM_PS1

    [HierarchyExpansionOption]

    CCARSiteServer=SCCM3.SCCMLAB.LOCAL

    SnapshotDir=E:\ConfigMgrReplication

By | 2011-04-04T10:37:38+00:00 April 4th, 2011|Configuration Manager (SCCM)|2 Comments

About the Author:

Kent Agerlund
Microsoft Regional Director, Enterprise Mobility MVP. Microsoft Certified Trainer and Principal consultant. I have been working with Enterprise client management since 1992. Co-founder of System Center User Group Denmark in 2009. Certified MCITP: Enterprise Administrator, MCSA+Messaing, and much more. Member of: Microsoft Denmark System Center Partner Expert Team The Danish Technet Influencers program System Center Influencers Program.

2 Comments

  1. Lyle May 25, 2011 at 4:36 - Reply

    Hi Kent

    Great article as there is very little info around!!

    I have a question though…I am looking at using my existing SCCM 2007 infrastructure and this unattended method to deploy ConfigMgr 2012 Primary Sites from a task sequence. So far I have successfully deployed the site using a TS, but when trying to launch the console with a “ConfigMgr Administrator” account, it fails to load I suspect it is because I need to permission the console the for my “ConfigMgr Admins” AD group. Are you aware if this can be done from the command line, and if so do you know of a tool or script to do this please?

    Cheers

    Lyle

  2. […] if you want to script the upgrade of your sites please see this post by Kent […]

Leave A Comment