SCCM Installation

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 76

SCCM Installation

This document will guide you how to install and configure SCCM.
In this scenario, there are currently two servers in my VM environment:

DC1 – 192.168.1.1/24 (Active Directory + DNS + DHCP)

SCCM1 – 192.168.1.3/24 (SCCM+WSUS) + Another NIC that has access to the internet (NAT
setting in VM) + Another Hard Disk for storing updates.
1. Create the system management container
With an admin user that is a member of Schema Admins group, In the
domain controller, go to Start - ADSI Edit

Right click on ADSI Edit - Connect to…

You don’t need to change anything here. Just click on OK.


Click on Default naming context and then on the arrow to the left.
Click on DC=domain and then on the arrow to the left.
Right click on System - New - Object…

Select container and click Next


In the Value field, type System Management and click next.
Note: IT MIGHT BE CASE SENSITIVE!! Make sure you type it like this:

Click Finish
Verify the container has been created.
2. Grant SCCM Server Permissions on System Management Container

Under Active Directory Users and Computers (ADUC),


Click on View - Advanced Features

Go to your domain (ronko.local in this case) – System – System Management.


Right click on System Management – Delegate Control…

Click Next
Click Add

Click on Object types…


Verify that Computers is selected and click OK.

Type your SCCM server name. click on Check Names


Verify it resolves the name correctly and click OK

Click Next
Select Create a custom take to delegate and click on Next

Select This folder existing objects in this folder and creation of new objects in
this folder and click on Next.
Select General + Property-specific + Creation\Deletion of specific child
objects. Select Full Control and click Next

Click Finish
Verify delegation by right click on System Management - Properties

Go to Security Tab and verify that your server has full control
3. Extend Active directory schema for SCCM

Go to Microsoft and download the SCCM setup from here


https://www.microsoft.com/en-us/evalcenter/download-microsoft-
endpoint-configuration-manager

Extract it to an empty folder. I downloaded it to C:\Temp. Right click on the


file and click open

Click on Unzip
Go to the folder C:\MEM_Configmgr_2023\SMSSETUP\BIN\X64
Right click on extadsch.exe and run as admin.

Click on Yes on the UAC pop up


When the process will finish (it will take few seconds), go to C drive and open
ExtADSch.txt file (This is the log file of the process you just did) and verify
you have “Successfully extended the Active Directory schema”.
4. Install the following features: .Net Framework 3.5 Features [Install all sub
features], .Net Framework 4.7 Features, BITS, Remote Differential
Compression Step
by doing the following:

Start – Server Manager

Add roles and features


Click on Next

Select Role-based or feature-based installation and click Next


Select Select a server for the server pool, select the server the click Next

Select web server (IIS)


Make sure Include management tools (if applicable) is ticked
and click Add Features.

Tick all the sub selections under .NET Framework 3.5 and 4.8
You might be required to add additional features. Just verify you Tick include
management tools (if applicable) option and click on Add Features.

Repeat the process with Background Intelligent Transfer Service (BITS)


And Remote Differential Compression and click Next

On web server role (IIS) click Next.


5. Install Web Server IIS (Prerequisites)

On Role Services

make sure the following are checked under Web Server:

Common HTTP Features: Default Document, Directory Browsing, HTTP Errors,


Static Content, HTTP Redirection

Health and Diagnostics: HTTP Logging, Logging tools, Request Monitor,


Tracing

Performance: Static Content Compression

Security: Windows Authentication

Application Development: .NET Extensibility 3.5, .NET Extensibility 4.7/4.8,


ASP.NET 3.5, ASP.NET 4.7, ISAPI Extensions, ISAPI Filters

Management Tools: IIS Management Console, IIS 6 Management


Compatibility, IIS 6 Metabase Compatibility, IIS 6 WMI Compatibility, IIS
Management Scripts and Tools.
And click on next

If it is required, specify an alternate resource path (Windows installation ISO)


and specify the correct path

Note: It says E:\Sources\SxS but in my case D is the letter of the disc drive /
iso mounted drive in VM. (Windows server installation ISO)

Click on Install
Let it install…

Following a successful installation, Click on Close and reboot your server.


6. Install Windows ADK

Go to
https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-
install
Download Windows ADK (Currently Windows 11 22H2)
Download Windows PE add-on for the Windows ADK (Win11 22H2)

Run the Windows ADK for Windows 11 22H2 installation.

Select Install the windows assessment and Deployment Kit to this computer
and click next
Click Next

Click Accept after reading every sentence and every word of the EULA
Select Deployment Tools and User State Migration Tool (USMT) and click
Install

Click Yes on the UAC prompt


Click Close

Install Windows PE add-on for the Windows ADK. Select Install the Windows
Assessment and Deployment Kit Windows Preinstallation Environment Add-
ons to this computer and click Next
Click Next

Click on Accept after reading the entire EULA. Every word!


Click on Install

Click on Yes on the UAC prompt


Click Close

7. Install SQL Server 2022 (Database Engine Services Only)


Go here
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
And download SQL Server 2022

Run the setup and click Yes on the UAC prompt

Click on Installation and select New SQL Server standalone installation or add
features to an existing installation and

For the sake of testing/lab environment, select Specify a free edition and
select Evaluation. If you have a valid Product Key, use the appropriate option.
Accept the license terms and click next

Select Use Microsoft Update to check for updates (recommended) and click
next
You might get a warning regarding your firewall. Click Next for now. You
might need to configure your firewall regarding certain ports.

https://learn.microsoft.com/en-us/sql/sql-server/install/configure-the-
windows-firewall-to-allow-sql-server-access?view=sql-server-ver16

Select Database Engine Services and click Next.


Note: Please download the Reporting services as well.

From here
https://www.microsoft.com/en-us/download/details.aspx?id=104502

Note: Installation is set to the default folders. You might want to consider
installing to a different disk and/or partition for logs, test db production db
etc.

Click next
In this step,
change SQL Server Agent + Database Engine to DOMAIN\User and put the
user’s password.
Set SQL Server Agent to Startup Type Manual and Database Engine to
Automatic.
And tick the option Grant Perform Volume Maintenance Tasks privilege to
SQL Server Database Engine Service and click next

Click on Add Current User and if you want, add other users as well.
Note: It can be a good idea to add a security group instead of a specific user,
by clicking on Add… and add the appropriate security group.

In my case, I added the group G-SCCM-Admins


Click on Install

Click Close
8. Install SQL Server Management Studio

https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-
management-studio-ssms?view=sql-server-ver16
Download and run the setup.
Click on Yes on the UAC prompt.

Click on Install
It might take a while…

Click Close

And restart the server.


9. Configure SQL Server Memory allocation

After restart run Microsoft SQL Server Management Studio 18.

Click on Connect after making sure the server name is entered correctly
Right click on your server and select Properties

Go to memory and set your minimum and maximum memory according to


your resources and click OK
Right click on the server and click on Restart

Click on Yes on the UAC prompt

and Yes in this prompt


10. Install Windows Server Update Services (WSUS) role

Start – Server Manager

Add roles and features


Click next

Select Role-based or feature based installation and select next


Select Select a server the the server pool and click next

Select Windows Server Update Services


Tick Include management tools (if applicable) and click on Add Features

Click Next
Click Next

Click next
Select WSUS Services + SQL Server Connectivity

Select Store updates in the following location…


And write the path of a folder for storing WSUS updates

In the above case, updates will be stored in E:\WSUS folder. Your path may
vary.
Note: Make sure to create the folder yourself before clicking Next
Type the FQDN of your server.
In this example, SCCM1 Is the name of the server and ronko.local is the fully
qualified domain name, so we will type SCCM1.ronko.local and click on Check
Connection

If you type it correctly, you’ll see Successfully connected to server. Click next
Click Install

At the end of the installation, click close following a message that a


configuration is required. Installation succeeded.
Inside server manager, click on the exclamation mark and click on Launch
Post-Installation tasks

Post-deployment configuration is running. For details click on Task Details


Task is running…

Task is done
11. Install SQL Server 2022 Reporting Services

Download the setup from here


https://www.microsoft.com/en-us/download/details.aspx?id=104502

Run it
For the purpose of this lab environment select Choose a free edition and
select Evaluation and click Next

Select I accept the license terms after reading the whole terms and click next
Click next

Click on Install
Click on Yes

When setup completes, close the window.


12. Install System Center Configuration Manager (SCCM) 2022

Go here and download it


https://www.microsoft.com/en-us/evalcenter/download-microsoft-
endpoint-configuration-manager

Extract the file to an empty folder

Run splash file

Click on Install
And click Yes on the UAC prompt
Click Next

Select Install a Configuration Manager primary site


and Tick V in Use typical installation options for a stand-alone primary site

Click on Yes on the prompt after reading it.


For the lab environment choose Install the evaluation edition of this product
and click next

Accept all the license terms after reading them of course… and click next
Select Download required files.
Click Browse… and create an empty folder for the required files. I created E:\
SCCM folder.

It is downloading…
Configure Site code, site name, installation folder and tick “Install the
configuration manager console”

Click Next
Make sure the option “Yes let’s get connected (recommended) is selected
and your server is written correctly. If you use a proxy server, set it here.

In the summary screen, verify your selections and click next

Let it run prerequisite check


In this example we got two warnings:
Server 2012 and R2 lifecycle (irrelevant since we are on Server 2022)

And process memory allocation


“…Requires SQL Server to reserve a minimum of 8 gigabytes of memory… and
is configured by using SQL Server Management Studio…”

So we will go there and change settings accordingly.


Inside SQL Server Management Studio, right click on the server – Properties –
Memory and change the minimum server memory to at least 8192MB (8GB).
Maximum is at your discretion.
(Go back to Step 9 (Page 45) in this document).

don’t forget to right click and restart at the end


Run check again.

And finally begin install! :-)

In my test lab the setup itself took 40 minutes!


Post-Setup Configuration Tasks
https://learn.microsoft.com/en-us/mem/configmgr/core/servers/manage/
install-in-console-updates#bkmk_after

An indication in SQL SMS – CM_HQ1 is SCCM DB and SUSDB is WSUS DB.

From SCCM installation media, go to SMSSetup folder – Tools folder and copy
CMTrace file locally. This is a file you can use to check for SCCM logs.

When you open it, it will ask to make itself the default viewer for log files.

Go to start - Configuration Manager Console

Let it connect…
And you are done installing SCCM 😊

13. The end! 😊

You might also like