WQL collection queries

Find computers with no SCCM client installed

A WQL collection query that returns discovered computers that have no SCCM client, so you can see what still needs an install.

LanguageWQL
What it does to the systemReads only. It changes nothing.

This query builds a device collection of discovered computers that have no SCCM client. Discovery found them, but no client has registered.

Use it to see what client push missed, and to plan manual installs.

WQL
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.Client = 0
  or SMS_R_System.Client is null

How to use it

  1. In the console, open Assets and Compliance, then Device Collections.
  2. Open the collection properties. On Membership Rules, select Add Rule, then Query Rule.
  3. Select Edit Query Statement, then Show Query Language. Paste the query.
  4. Set the limiting collection to All Systems, or to your workstation collection.

Good to know

  • Keep the is null test. Many discovered records have an empty client value, not a zero.
  • The result often holds old computer accounts that no longer exist. Check the account in Active Directory before you chase an install.
no client client install client push SMS_R_System discovery
✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.