How-to Install Configuration Manager 2012 R2 – Step-by-Step [Part 1]

Hi !

In this blog post I’ll show you how to proceed in order to install Configuration Manager 2012 R2 in your infrastructure assuming that no previous version of Configuration Manager is already installed. This guide will walk you through the preparation work and the installation of a standalone primary site with SQL server installed on the same box. In order to get this done, multiple steps will have to be done:

–  Preparing Active Directory [Part 1]

–  Installing pre-requisites on the soon-to-be primary site server [Part 1]

–  Installing SQL Server [Part 2]

–  Configuring SQL Server [Part 2]

–  Installing Configuration Manager [Part 3]

–  Verifying Configuration Manager installation [Part 3]

 

Preparing Active Directory

Create “System Management” container

Connect to a Domain Controller and open ADSI Edit. Br0wse your Active Directory under the System OU, right click and create a new object

AD_Container
How to create a new Container object using ADSI Edit

Choose “Container”

How to create a new Container object using ADSI Edit
How to create a new Container object using ADSI Edit

 

Enter the name “System Management”, click “Next” and complete the wizard

How to create a new Container object using ADSI Edit
How to create a new Container object using ADSI Edit

As soon as this AD container is created, our job with ADSI Edit is complete. We now need to delegate control to the Primary site server AD computer object.


Note: I recommand creating and AD Group for the delegation, this will make things easier in case you need to extend your hierarchy later on  😉


Open “Active Directory User and Computer” (dsa.msc), select View/Advanced Features, and browse to the newly  “System Management” container located under System in you AD. Right click on the container and select “Delegate Control”

Delegate control of System Management AD container
Delegate control of System Management AD container

Select “Create a custom task to Delegate” and click “Next”

Delegate control of System Management AD container
Delegate control of System Management AD container

Select “This folder, existing objects in this folder and creation of new objects in this folder” and click “Next”

Delegate control of System Management AD container
Delegate control of System Management AD container

Select all Permission boxes and select “Full Control” and finish the wizard

Delegate control of System Management AD container
Delegate control of System Management AD container

The required “System Management” container is now created and proper delegation have been applied to it. This means that from now on, computer objects member of the group delegated will be able to publish information in this container to provide necessary information to clients when they will query AD.

Extend schema

On the installation media of Configuration Manager, in the folder  \SMSSetup\Bin\x64\ containing all required files for extend the schema. Copy this folder to a temp folder on one of your domain controllers

/!\ Ensure that you’re connected with an account member of  “Schema Admins” AD group /!\

Right click on the file “ExtADSch.exe” and run it as “Administrator”

AD_SchemaExt
AD Schema Extension

 

Check the log file generated by the application on C:\. If everything goes fine you should see

AD_SchemaExt_1
AD Schema Extension

We can see, as per the last line [C:\ExtADSch.log], that everything went fine. If results are different, you may have to take a look at access rights granted to the user running the “ExtADSch.exe” it may not be “Schema Admin” which is mandatory to operate this extension.

Installing pre-requisites on the soon-to-be primary site server

Roles & Features installation

Multiple roles & features are required for Configuration Manager, to do so, open PowerShell (as Administrator) and copy the following commands :


Note: If your machines are not internet connected, you might need to add a “–Source D:\sources\sxs” or whatever the path is to your Windows installation media. By default Windows 2012 gets .NET 3.5 from Windows Update, but this doesn’t always work, and will never work for machines without an internet connection.


After installing these roles/features, you might have to register ASP.NET with IIS.  Open an elevated command prompt:

[startCode]C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe –r[endCode]

Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1 Installation

Windows ADK is required with Configuration Manager 2012 R2, you can download it here

Double click on adksetup.exe and click “Next”

ADK_Install_1
ADK Installation

Select whether or not you wanna join CEIP and click “Next”

ADK_Install_2
ADK Installation

Accept the Licence Agreement

ADK_Install_3
ADK Installation

Check the following components and click install

ADK_Install_4
ADK Installation

 

And we’re all set in terms of prerequisites for Configuration Manager, next part will provide a step-by-step installation guide of SQL 2012 Server for Configuration Manager 2012 R2 and the last part of these posts will describe the installation of Configuration Manager 2012 R2.

Talk to you later !

David Gaillard

Leave a Reply