Best Guide to Deploy Windows Server 2022 using SCCM

In this article, I will cover the steps to deploy Windows Server 2022 using SCCM (ConfigMgr). I recommend using ConfigMgr version 2017 and above to deploy the Windows Server 2022.

Windows Server 2022 is the latest server operating system released by Microsoft. It is built on the strong foundation of Windows Server 2019 and comes with lots of improvements and new features. Read what’s new in Windows Server 2022 to know more about Windows Server 2022, and its features.

To install Windows Server 2022 on a physical server or a VM, you must first download the Windows Server 2022 ISO. The ISO is available in both MSDN and VLSC and you can also download it from Microsoft Evaluation center.

If you want to manually install Windows Server 2022 on a machine, refer to my guide on download and install Windows Server 2022. Using a task sequence to deploy Windows Server 2022 using SCCM to multiple machines has more advantages. You can add applications, updates and customizations to your task sequence.

The Windows Server 2022 build details are as follows.

  • Operating system build number -10.0.20348
  • Full Operating system build number -10.0.20348.169

Refer to the following guide to create Windows Server 2022 device collection in Configuration Manager.

Prerequisites

  • You need a Windows Server 2022 ISO media, so download it from VLSC/MSDN/Eval center.
  • I would recommend enabling PXE responder without WDS (Windows Deployment Service).
  • Ensure the boot images are distributed to all the distribution points.
  • Use Configuration Manager 2017 as Windows Server 2022 is supported.

Import Windows Server 2022 Operating System in SCCM

We will first import the Windows Server 2022 operating system in SCCM. Mount the Windows Server 2022 ISO. Copy all the files and paste the files in sources folder (create a separate folder). This will make it easy to import it into the SCCM.

In the SCCM console, click Software Library > Operating Systems. Right click Operating System Images and click Add Operating System Image.

Import Windows Server 2022 Operating System in SCCM
Import Windows Server 2022 Operating System in SCCM

On the Data Source window, click Browse and specify the data source by providing the path to install.wim file. The install.wim file is located under Sources folder of operating system media.

Windows Server 2022 comes in two editions.

  • Standard – Desktop Experience and Core
  • DataCenter – Desktop Experience and Core
  • Server Core – This is the recommended installation option. It’s a smaller installation that includes the core components of Windows Server and supports all server roles but does not include a local graphical user interface (GUI). It is used for deployments which are managed remotely through Windows Admin Center, PowerShell, or other server management tools.
  • Server with Desktop Experience – This is the complete installation and includes a full GUI. This option has a larger footprint than server core and most preferred by organizations.

I am going to deploy Windows Server 2022 Datacenter edition. Select Extract a specific image index from the specified WIM file. Choose the correct Image Index and click Next.

Import Windows Server 2022 Operating System in SCCM
Import Windows Server 2022 Operating System in SCCM

On the General window, you can enter name, version, and comment for the operating system image. You can actually do this later once you import the server 2022 OS into SCCM. For now, click Next.

Import Windows Server 2022 Operating System in SCCM
Import Windows Server 2022 Operating System in SCCM

Review the settings on Summary page and click Next.

Import Windows Server 2022 Operating System in SCCM
Import Windows Server 2022 Operating System in SCCM

On the Completion window, click Close.

Import Windows Server 2022 Operating System in SCCM
Import Windows Server 2022 Operating System in SCCM

The operating system images in SCCM console now shows Windows Server 2022 image. This completes the steps to import Server 2022 in Configuration Manager.

Windows Server 2022 in SCCM
Windows Server 2022 in SCCM

Create Task Sequence for Windows Server 2022

Use the following steps to create a new task sequence for Windows Server 2022.

  • In the SCCM console, go to Software Library > Operating Systems > Task Sequences.
  • Right click Task Sequences and click Create Task sequence.
  • In the Create Task Sequence wizard, click Install an existing image package (Windows Server 2022) and click Next.
Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

On the Task Sequence Information window, specify the task sequence name – Deploy Windows Server 2022. You can add task sequence description and select x64 boot image. Click Next.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

Select the image package which is Windows Server 2022 that we imported in the above step. The image index will be picked up automatically as datacenter because we extracted specific index from WIM file.

Select partition and format target computer before installing the operating system. Uncheck Configure task sequence for use with BitLocker.

You may specify the product key for Windows Server 2022. For local admin password, there are two options.

  • Randomly generate the local admin password and disable account on all supported platforms.
  • Enable the account and specify the local admin password.

Both the options are self-explanatory. In this example, I am going to specify local administrator password. Click Next.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

On Configure Network window, you have to select if the server will be part of workgroup or a domain. Mostly the Windows Servers will be part of domain, so select Join a domain.

Click Browse and select your domain. Next, click Browse and select Domain OU. Ensure you don’t select the default Computers OU. The domain join may fail sometimes, so it’s better to choose another OU. Specify the account that has permissions to join a computer to domain. Click Next.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

On Install Configuration Manager client window, you may specify additional installation properties. Click Next.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

Click Next on Configure State Migration screen.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

You may want to include updates along with Windows Server 2022 installation. You can deploy the updates using the ADR’s later. So select Do not install any software updates and click Next.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

On the Install Applications window, you can include the applications that you want to install along with Windows Server 2022. The applications must have been packaged in SCCM and ensure you allow them to be deployed via task sequence. Click the Yellow star icon to add applications.

In this example, I am not going to specify any applications, click Next.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

Review the settings on Summary window and click Next.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

On the Completion window, click Close. We have now created task sequence to deploy Windows Server 2022.

Create Task Sequence for Windows Server 2022
Create Task Sequence for Windows Server 2022

Distribute the Task Sequence to Distribution Points

This is a basic step where you ensure the task sequence content exists on distribution points. If the client cannot find the content on distribution point, you will see failed to run task sequence error.

In the SCCM console, right click Windows Server 2022 task sequence and select Distribute Content.

Distribute the Task Sequence to Distribution Points
Distribute the Task Sequence to Distribution Points

Specify the content destination which is nothing but your distribution points. You can also select distribution point groups (if you have created any) and click Next.

Distribute the Task Sequence to Distribution Points
Distribute the Task Sequence to Distribution Points

Close the distribute content wizard.

Distribute the Task Sequence to Distribution Points
Distribute the Task Sequence to Distribution Points

You need to ensure the content is distributed to distribution points. In the SCCM console, go to Monitoring\Overview\Distribution Status\Content Status and ensure all the content is distributed. After the task sequence content has been distributed to distribution points, you can deploy Windows Server 2022 using SCCM.

Deploy Windows Server 2022 using SCCM Task Sequence

Let’s look at the steps to deploy Windows Server 2022 using SCCM task sequence.

  • In the SCCM console go to Software Library\Overview\Operating Systems\Task Sequences.
  • Right click Windows Server 2022 task sequence and click Deploy.
Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

On the General section of deploy software wizard, specify the information about the deployment. Click Browse and select the device collection to which you want to deploy Windows Server 2022. Click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

On the Deployment Settings window, select the Purpose as Available. For Make available to the following: click the drop-down and select Only Media and PXE. Click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

On the scheduling window, you can specify the schedule for the deployment. For example, you can specify the date and time when the deployment will become available and set a date and time for the deployment to expire. I will not schedule the deployment, click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

Click Next on User Experience window.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

On the Alerts window, click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

Select Download content locally when needed by the running task sequence. Click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

Review the settings on Summary window. Click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

On the Completion window, click Close.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

I have created a VM with no operating system installed. I am going to PXE boot this VM and let it load the boot image from the distribution point.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

On the task sequence welcome page, if you have set a PXE password, enter it and click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

If you have multiple task sequences deployed, you will see all of them on this screen. Select Deploy Windows Server 2022 task sequence and click Next.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

The task sequence execution begins. The wizard downloads the Server 2022 install.wim file.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

The task sequence is now running setup windows and configuration manager step. The Configuration Manager client agent is being installed.

Client Agent Installation
Client Agent Installation

After few minutes, the operating system deployment should be over, and you should see a login screen. Login to Windows Server 2022 using domain account.

Deploy Windows Server 2022 using SCCM
Deploy Windows Server 2022 using SCCM

You can verify the Windows Server version, build number by running Winver command. This completes the steps to deploy Windows Server 2022 using SCCM tasks sequence.

About Windows Server 2022
About Windows Server 2022

Need Assistance?

Send us a message or post your question in forums.