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