Use this topic for policy targeted by OS version, hardware, namespace/class data or other WMI-exposed conditions.
WMI Filtering
Each GPO can be linked to one WMI filter, while one WMI filter can be reused by multiple GPOs. The filter must evaluate true on the target for the GPO to remain applicable.
1. WMI filter query on the GPO.
2. Test on target: Get-CimInstance -Query "<query>".
3. False → GPO denied (WMI filter).
4. Slow queries delay logon.
5. Keep simple.
WMI filter evaluated on client → true applies / false denies
Proceed to precedence/client-side extension/final-state verification.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not use a complicated WMI filter where an OU/security group can provide clear static scope; operational cost and failure modes are higher.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Run the equivalent query on the affected device, inspect timing/result, then compare gpresult and GroupPolicy operational events before altering the filter.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- WMI filtering is evaluated on the destination computer.
- A WMI filter can add processing cost, especially with broad/slow queries.
- A false/error result excludes the GPO even if link scope and security filtering are correct.
- WMI filtering is GPO-level, not per individual setting inside the GPO.
gpresult /h report.html— RSoP report for user and computergpupdate /force— refresh policyGet-GPO -All | Select DisplayName,GpoStatus— GPOs in the domainGet-GPInheritance -Target '<OU DN>'— links and inheritance for an OUGet-WinEvent -LogName Microsoft-Windows-GroupPolicy/Operational -MaxEvents 50— processing events
ReferenceWhat it is1 section · depth on demand
Core model
WMI filters let administrators target policy based on dynamic computer properties. Because the query runs during policy processing, slow or fragile queries can directly affect logon/startup processing time.
ReferenceWhy it matters1 section · depth on demand
Example and caution
SELECT * FROM Win32_OperatingSystem WHERE ProductType = "1" AND Version LIKE "10.%"
Documented example, not captured output (ProductType 1 = workstation, 2 = DC, 3 = server). WMI filters are evaluated on the client at each refresh and slow processing if complex. Test queries with Get-CimInstance -Query. Prefer OU structure or group filtering when possible.
ReferenceImportant terms & boundaries2 sections · depth on demand
What the evidence shows
Treat WMI query correctness and WMI infrastructure health separately. Compare the exact namespace/query and the client-reported RSoP reason.
In depth
WMI filters evaluate a WQL query on the client; the GPO applies only if it returns results.
SELECT * FROM Win32_OperatingSystem WHERE ProductType = "1" -- workstations
SELECT * FROM Win32_OperatingSystem WHERE ProductType = "3" -- member servers
SELECT * FROM Win32_OperatingSystem WHERE Version LIKE "10.0.2%" -- Windows 11 / Server 2022+
SELECT * FROM Win32_ComputerSystem WHERE Model LIKE "%Latitude%"
Test queries locally (Get-CimInstance -Query '…'). Slow queries (e.g. Win32_Product) delay startup and logon — keep filters simple, or use item-level targeting in Preferences instead.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Group Policy → WMI Filtering. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/group-policy/group-policy-overview · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Group Policy → WMI Filtering reference map
Fast lookup boundaries for Group Policy → WMI Filtering.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| WMI query | Target condition | can be slow/error |
| True | GPO remains eligible | still subject to other processing |
| False | GPO filtered out | not a processing failure |
| Error/timeout | May prevent applicability | inspect WMI health/query |