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
Enter the name “System Management”, click “Next” and complete the wizard
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”
Select “Create a custom task to Delegate” and click “Next”
Select “This folder, existing objects in this folder and creation of new objects in this folder” and click “Next”
Select all Permission boxes and select “Full Control” and finish the wizard
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.
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”
Check the log file generated by the application on C:\. If everything goes fine you should see
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 :
Add-WindowsFeature Web-Windows-Auth,Web-ISAPI-Ext,Web-Metabase,Web-WMI,BITS,RDC,NET-Framework-Features,Web-Asp-Net,Web-Asp-Net45,NET-HTTP-Activation,NET-Non-HTTP-Activ,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Redirect,Web-App-Dev,Web-Net-Ext,Web-Net-Ext45,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-HTTP-Tracing,Web-Security,Web-Filtering,Web-Performance,Web-Stat-Compression,Web-Mgmt-Console,Web-Scripting-Tools,Web-Mgmt-Compat -Restart
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:
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”
Select whether or not you wanna join CEIP and click “Next”
Accept the Licence Agreement
Check the following components and click install
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 !