SCCM

Create Windows 11 Device Collection in SCCM / Configuration Manager

()

In this article we will see how to create a Windows 11 Device Collection to group all Windows 11 computers in SCCM/MEMCM/Configuration Manager. A query will run periodically and will automatically include the new Windows 11 computers in the Device Collection.

You can create Windows 11 Device Collections in SCCM with WQL Queries. This way, you don’t have to add them manually. Once the Device Collection is created, you can use it to distribute applications and deploy security updates to Windows 11.

Windows 11 Builds Numbers (21H2, 22H1, 22H2)

Windows 11 (like Windows 10) has various builds. Its base version is 10.0.22000, also known as Windows 11 21H2. You can view the build of a device in the SCCM console by right-clicking on a Device > Properties.

In the “General” tab we look for “Operating System Build“:

SCCM / Configuration Manager - Operating System Build
View Operating System Build in SCCM

The next line you see (“Full Operating System Build“) is the full version including monthly security patches. For now it is not necessary to use this data, but it is interesting to know it in case you need to create a devices collection based on their security patches.

You can also view this data using the “Resource Explorer” by right-clicking > “Start” > “Resource Explorer“:

Start the "Resource Explorer" in SCCM / Configuration Manager English language
Start the “Resource Explorer” in SCCM / Configuration Manager

A new window will open with all the data of the Windows 11 device in SCCM. Go to “Hardware” > “Operating System“:

SCCM – Resource Explorer – Operating System Build – Windows 11

Here you have all the information you need to create a Windows 11 Device Collection in SCCM / Configuration Manager with various methods.

Queries for Windows 11 Device Collections

It is important to know all the possible ways to create a collection of Windows 11 devices in SCCM. Depending on how you want to manage Windows 11 devices, you’ll follow one way or another.

All these forms are based on the image of resource explorer in the previous section. You can copy and paste the query when creating your collection of Windows 11 devices.

Windows 11 SCCM Queries using the Operating System Name

The first method, you can use the “Name” field of “Operating System” (1 in the Resource Explorer image). It is a recommended option to include all Windows 11 regardless of its compilation (it is usually not necessary to distinguish unless a corporate application does not work in specific versions).

Note: In case not all your computers are Enterprise, you can change the value to “%Microsoft Windows 11%” to include any Windows 11.

Windows 11 SCCM Queries using OS Build Number

Second method, you can use the “Build Number” field of “Operating System” (2 in the Resource Explorer image). In this way you differentiate one version of Windows 11 from others. Recommended if you have applications that do not work in the latest versions of Windows 11.

Note: You will have to change the “22000” for the number of the Windows 11 Build that you want.

Windows 11 SCCM Queries using Operating System Caption

The third method, you can use the “Caption” field of “Operating System” (3 in the Resource Explorer image). It is the most recommended option to include all Windows 11 regardless of its compilation. Being a single text is the cleanest method.

Note: In case of not being all Enterprise, you will have to change the “Enterprise” text for the edition you have or using “%Microsoft Windows 11%” to include all the Windows 11.

Create Windows 11 Device Collection in SCCM

  • In the SCCM console, go to “Assets and Compliance \ Overview \ Device Collections“.
  • In the top menu, go to the “Home” tab and select “Create Device Collection“.
SCCM - Create Device Collection
Create Device Collection in SCCM
  • In the “General” section, define the Name of the collection and the limit collection. Click on “Next“:
SCCM - Create Device Collection Wizard - Windows 11
SCCM – Device Collection Creation Wizard – Windows 11
  • In the “Membership Rules” section, click on “Add Rule” and “Query Rule“:
SCCM - Create Device Collection Wizard - Query Rule
SCCM – Device Collection Creation Wizard – Query Rule
  • Specify a Name for the query and click on “Edit Query Statement“:
SCCM - Windows 11 - Query Rule Properties
SCCM – Windows 11 – Query Rule Properties
  • Click on “Show Query Language” and paste the query method that you have chosen from the previous section and click on “OK“:
SCCM - Windows 11 - Query Statement Properties
SCCM – Windows 11 – Query Statement Properties
  • Click “OK” again:
SCCM - Windows 11 - Query Rule Properties
SCCM – Windows 11 – Query Rule Properties
  • Now activate the “Schedule” so that the collection is updated automatically. In my case I recommend that it be updated once a day. Click on “Next“:
SCCM - Create Device Collection Wizard - Schedule
SCCM – Create Device Collection – Schedule
  • Click again on “Next” to confirm and after a few seconds you will see the confirmation screen:
SCCM - Create Device Collection Wizard - Completion
SCCM – Create Device Collection – Complete
  • If you have correctly followed the instructions, you should already see our device collection of Windows 11 devices in SCCM:
SCCM - Windows 11 - Device Collection
SCCM – Windows 11 – Device Collection

With this, you can already start distributing updates on Windows 11 and publishing applications. Any questions or suggestions can be left in the comments 😁

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Nando Corzo

Passionate about IT and Microsoft technologies with more than 5 years of experience in complex environments (Banking, Congresses and Public Services). Exploring and learning about Modern Workplace every day. I write about SCCM, Windows, Microsoft Intune, Hyper-V, etc...

Related Articles

Leave a Reply

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

Back to top button