Create SCCM Windows 10 21H1 Device Collection

In this post I will show you how to create SCCM Windows 10 21H1 device collection using query. If you know the build number of Windows 10 21H1, you can easily create a device collection in SCCM.

Before you create Windows 10 21H1 device collection in SCCM, ensure you are running Windows 10 21H1 on few machines. When you create the device collection, it gathers all the computers running Windows 10 21H1 into a collection.

Windows 10 21H1 also known as Windows 10 May 2021 update is the latest release by Microsoft. Windows 10, version 21H1 is available for users with devices running Windows 10, versions 1903 and higher.

In my previous blog post I cover on how to upgrade to SCCM Windows 10 21H1 and how to deploy Windows 10 21H1 using SCCM. You can follow these guides to deploy Windows 10 21H1 in your setup.

For home users, the Windows 10 21H1 update can be downloaded directly via Windows update.

Create SCCM Windows 10 21H1 Device Collection

To create SCCM Windows 10 21H1 device collection, launch the Configuration Manage console. Click Assets and Compliance, right click Device Collection and click Create Device Collection.

Create SCCM Windows 10 21H1 Device Collection
Create SCCM Windows 10 21H1 Device Collection

Specify the device collection name for ex. Windows 10 21H1 computers. For limiting collection, click the Browse button and select All Systems. Click Next.

Create SCCM Windows 10 21H1 Device Collection
Create SCCM Windows 10 21H1 Device Collection

On the Membership Rules window, click Add Rule and select Query Rule. On the Query rule properties box, specify the name of the query and click Edit Query Statement.

Create SCCM Windows 10 21H1 Device Collection
Create SCCM Windows 10 21H1 Device Collection

Use the following criteria to create SCCM Windows 10 21H1 device collection.

  • Criterion Type – Simple Value
  • Attribute Class – Operating System
  • Attribute – Version
  • Operator – is equal to
  • Value – 10.0.19043

Click OK thrice and continue with the create device collection wizard.

Windows 10 21H1 Device Collection
Windows 10 21H1 Device Collection

On the Summary window, review the settings and click Close. We have successfully created Windows 10 21H1 device collection in SCCM.

Create SCCM Windows 10 21H1 Device Collection
Create SCCM Windows 10 21H1 Device Collection

If you require Windows 10 21H1 collection query, here it is. You can use this query to create the device collection for Windows 10 21H1.

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.Version = "10.0.19043"

You can also use the below query to create Windows 10 21H1 device collection in SCCM.

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 where SMS_R_System.Build = "10.0.19043"

Finally if you wish to schedule a full update on this device collection, you can do that from the device collection properties. Right click Windows 10 21H1 device collection and click Properties. Click Membership tab and at the bottom you can change the schedule for full update on the collection. Click the Schedule button and you can change it from default 7 days to your requirement. Click Apply and OK.

Schedule Full Update on Collection
Schedule Full Update on Collection

Prajwal Desai

Hi, I am Prajwal Desai. For last few years, I have been working on multiple technologies such as SCCM / Configuration Manager, Intune, Windows 11, Azure, Security etc. I created this site so that I can share valuable information with everyone.

2 thoughts on “Create SCCM Windows 10 21H1 Device Collection”

  1. Hello

    I have a problem with the win10 upgrade over sccm.
    I make the upgrade over servicing plans and at the moment is the version 20H2 required.
    My problem is that the pc need a reboot every time and the upgrade is still in software center with need reboot required.
    But when i check the windows version over “winver” i can see that 20H2 is installed.
    I think it´s a problem with the detection method.
    Do you have any ideas?
    Regards Michael

    Reply

Leave a Comment