How can I install System Center Configuration Manager (Current Branch) version 1902 on Windows Server 2019 with SQL Server 2017 – Part 3

Introduction

This multi-part guide will show you how to install the latest baseline version of Configuration Manager from Microsoft. The latest available baseline version is System Center Configuration Manager (Current Branch) version 1902 as of April the 10th 2019. SCCM 1902 is the latest baseline version and contains many bugfixes (and quality fixes) as detailed here. I blogged how to upgrade to 1902 here.

Baseline media is used to install new ConfigMgr sites or to upgrade from supported versions. For more information about what baseline versions are and why you need them, I’d recommend you read my blog post here. This guide is aimed a new installations of SCCM.

This lab is one of many hosted on my new hyper-v host, which is a very nice Lenovo P1 running Windows Server 2019 with data deduplication to make storage amazing.

This series is broken down into the following parts:-

You can use this multi-part guide to get a hierarchy up and running on Windows Server 2019 using SQL Server 2017. The concept behind this is to guide you through all the steps necessary to get a working Configuration Manager Primary site installed (for lab use) using manual methods or automated using PowerShell. This gives you the power to automate the bits that you want to automate, while allowing you to manually do other tasks when needed. You decide which path to take. PowerShell knowledge is desired and dare I say required if you are in any way serious about Configuration Manager. I will show you how to do most steps via two methods shown below, it’s up to you to choose which method suits you best but I highly recommend automating everything that you can, using PowerShell.

  • Method #1 – Do it manually
  • Method #2 – Automate it with PowerShell

Downloads

The scripts used in this part of the guide are available for download here. Unzip them to C:\Scripts. The scripts are placed in the corresponding folder (Part 1, Part 2 etc) and sorted into which server you should run the script on (DC01 or CM01).

Scripts.zip 19.05 kB

Step 1. Install Roles and Features

Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator

To support various features in System Center Configuration Manager, the setup wizard requires some server roles and features preinstalled. On CM01, login as the username you added to the Local Administrators group and start Server Manager.

Method #1 – Do it manually

The role and feature requirements for ConfigMgr are listed here https://docs.microsoft.com/en-us/sccm/core/plan-design/configs/site-and-site-system-prerequisites. On CM01, login as a user with administrative permissions on the server. Start Server Manager.

Server Manager.png

Click on Add roles and features, on the Before you begin page click Next. Choose Role-based or feature-based installation

role based or feature based.PNG

In the Server Selection screen verify your ConfigMgr server is selected and click Next

cm01.PNG

On the Server Roles screen select Web Service (IIS)

web server iis.PNG

and when prompted to add features for Web Server (IIS) click on Add Features

add features that are required for.PNG

Click Next and on the Features screen select the .NET Framework 3.5 (includes .NET 2.0 and 3.0) feature

.net 2 and 3.PNG

Expand the .NET Framework 4.6 Features and select HTTP Activation under WCF Services, click on  Add Features when prompted.

http activation for WCF Services.PNG

Select Message Queuing (MSMQ) Activation and when prompted select Add Features, then select Named Pipe Activation and TCP Activation

message queing MSMQ.PNG

and under Background Intelligent Transfer Service (BITS) select  IIS Server Extension

IIS Server Extension.PNG

when prompted to add features click on Add Features

add features required for BITS.PNG

Scroll down and select Remote Differential Compression

Remote Differential Compression.PNG

Click Next and on the Web Server Role (IIS) screen click Next

web server iis role.PNG

on the Select Role Services verify that the following are selected

web server role selected.png

Click Next and point to the Installation Source by clicking on Specify an alternate source path

specify an alternate source path.PNG

Enter the path to the media eg: Z:\Sources\SxS

path.PNG

Click Install when ready, at this point you could export configuration settings for later automation

Feature installing.PNG

Click on Close when the feature installation has succeeded.

installation succeeded.PNG

  • Method #2 – Automate it with PowerShell

Note: Make sure your Server 2019 media is in the drive specified in the script or edit the script to point to the new location of the media.

To install the roles and features needed, start Windows Powershell ISE as a user with administrative permissions on the server, edit the variables as appropriate and run the install roles and features.ps1 script. The script will automatically stop and prompt you to correct things, if it cannot find the XML file or the Windows Server 2019 installation media.

1. Extract the scripts to C:\Scripts on the ConfigMgr server, CM01 and load the install roles and features.ps1script located in C:\Scripts\Part 3\CM01

2. Edit the variables (lines 18-20) as desired before running.

3. Start Windows PowerShell ISE as Administrator and run the script by clicking on the green triangle.

Tip: If the script appears to hang at 24% while installing roles and features, and if you are sure you pointed to the media path correctly then simply reboot the server and try again, chances are a pending update or another operation is blocking the installation.

See the rest of this post over at windows-noob.com here.

This entry was posted in 1902, PowerShell, Windows Server 2019. Bookmark the permalink.

2 Responses to How can I install System Center Configuration Manager (Current Branch) version 1902 on Windows Server 2019 with SQL Server 2017 – Part 3

  1. jkilmer says:

    Niall, is the scripts.zip still available?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.