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.
Specify the device collection name for ex. Windows 10 21H1 computers. For limiting collection, click the Browse button and select All Systems. Click Next.
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.
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.
On the Summary window, review the settings and click Close. We have successfully created Windows 10 21H1 device collection in SCCM.
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.