Create Windows 11 SCCM Device Collection

If you are running Windows 11 in your setup, this post will help you to create Windows 11 SCCM device collection. Using multiple WQL queries, you can create Windows 11 device collection in SCCM.

Windows 11 is the latest client operating system by Microsoft. Microsoft has finally unveiled the Windows 11 operating system. It features a cleaner, more Mac-like design and a bunch of new features.

Windows 11 will be available as a free download for existing Windows 10 users. So Windows 10 users can upgrade to Windows 11 very soon.


I have been testing the Windows 11 insider preview, and I am still exploring the new features. While I am doing that, I also tested the SCCM client agent installation on Windows 11 which I will share in a separate post.

Note – Windows 11 is currently not supported by SCCM as client. I am confident that latest version of SCCM will support the Windows 11 as client. Wait for an official announcement from Microsoft on Windows 11 support.

It would be useful to learn how to create Windows 11 SCCM device collection and manage Windows 11 computers.


Collections in Configuration Manager are groups of users or devices. After you create a collection, you can use it for tasks like managing applications, deploying compliance settings, or installing software updates.

Windows 11 Build Number

I am running SCCM 2103 in my lab and I have got a machine that is installed with Windows 11. This is an insider preview build, so it has a unique build number.

I have deployed the agent on Windows 11 and from the device properties I see the build number is pulled up.


The Windows 11 preview operating system build number is 10.0.22000 and Full operating system build number is 10.0.22000.51.

Windows 11 Build Number
Windows 11 Build Number

If I run resource explorer on my Windows 11 computer, I can see the following details.

  • Name – Windows 11 Enterprise
  • Build Number – 22000
  • Caption – Microsoft Windows 11 Enterprise

The above information should be sufficient to create Windows 11 SCCM device collection.


Windows 11 Build Version
Windows 11 Build Version

Windows 11 SCCM Queries

I will list three WQL queries using which you can create a device collection for Windows 11 in SCCM. If you have got a new query that works, let me know in the comments section.

Windows 11 Query using Build Number

Use the below WQL query to create a Windows 11 device collection using build number. Make sure you replace the build number as new versions of Windows 11 are released.

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.BuildNumber = "22000"

Windows 11 Query using Caption

Use the below WQL query to create a Windows 11 device collection using caption.


select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 11 Enterprise"

Windows 11 Query using OS Name

Use the below WQL query to create a Windows 11 device collection using OS Name.

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Name like "%Microsoft Windows 11 Enterprise%"

Create Windows 11 SCCM Device Collection

Let’s create a new SCCM device collection for Windows 11 computers. To create a device collection, select the Device Collections node in SCCM console. On the Home tab of the ribbon, select Create Device Collection.

On the General window of create device collection wizard, specify the name of the collection. For ex. Windows 11 device collection and select the Limiting collection. Click Next.


Create Windows 11 SCCM Device Collection
Create Windows 11 SCCM Device Collection

Click Add Rule and from the drop-down select Query Rule.

Create Windows 11 SCCM Device Collection
Create Windows 11 SCCM Device Collection

Specify the name for the query rule and click Edit Query Statement. On the Query statement properties window, select Criteria tab. Click Show query language and enter the Windows 11 WQL query.

Click OK twice.


Create Windows 11 SCCM Device Collection
Create Windows 11 SCCM Device Collection

Click Next on summary window and on Completion window, click Close. Wait for a few minutes while the collection is updated. You should find all the Windows 11 computers added to your device collection.

Create Windows 11 SCCM Device Collection
Create Windows 11 SCCM Device Collection

Need Assistance?

Send us a message or post your question in forums.