Jump to content
RESET Forums (homeservershow.com)

WMI filter does not appear in GPRESULT on client devices


ak88
 Share

Recommended Posts

I am having a problem with a new Windows 10 WMI filter I have created on a Windows SBS2011 server, I created it in the WMI section alongside my working filters:


Namespace: root\CIMV2


Query: select * from Win32_OperatingSystem where Version like "10.%"


 


On my clients when running GPUPDATE /force and then GPRESULT /h this WMI filter does not appear, all of the others do whether they apply to that client OS or not (labelled true/false accordingly). Any ideas what I am missing?


 


Running PowerShell "Get-GPO -All -Verbose|sort modification" on the server and client shows the GPOs and the WMI filter is listed under them. Part of the output (top GPO is not shown in GPRESULT, bottom is): 


DisplayName : Verbose Win 10 Reg Key


DomainName : domain.local


Owner : DOMAIN\Domain Admins


Id : removed


GpoStatus : AllSettingsEnabled


Description :


CreationTime : 13/10/2016 10:32:57


ModificationTime : 13/10/2016 10:36:24


UserVersion : AD Version: 0, SysVol Version: 0


ComputerVersion : AD Version: 8, SysVol Version: 8


WmiFilter : Windows SBS Client - Windows 10


 


DisplayName : Disk Mappings


DomainName : domain.local


Owner : DOMAIN\Domain Admins


Id : removed


GpoStatus : AllSettingsEnabled


Description :


CreationTime : 01/06/2011 11:43:11


ModificationTime : 10/10/2016 08:28:58


UserVersion : AD Version: 80, SysVol Version: 80


ComputerVersion : AD Version: 0, SysVol Version: 0


WmiFilter :


 


Thanks


Edited by ak88
Link to comment
Share on other sites

That should specifically target Windows 10 clients. and I can attest to it working. 

 

Have you tried running gpupdate /force on the domain controller itself?

Link to comment
Share on other sites

The odd thing is I have 5 WMI filters:

Windows SBS Client

Windows SBS Client - Windows 10

Windows SBS Client - Windows 7/8/10

Windows SBS Client - Windows 8

Windows SBS Client - Windows XP

(we have no Windows XP/Vista/8 clients)

 

On the server GPRESULT shows:

Windows SBS Client

Windows SBS Client - Windows 10

Windows SBS Client - Windows 7/8/10

 

On the client it shows:

Windows SBS Client

Windows SBS Client - Windows 7/8/10

Windows SBS Client - Windows 8

Windows SBS Client - Windows XP

 

I have no idea why the server doesn't show all 5 but it does show the WMI filters that I need to use, not sure why the client shows filters that the server doesn't.

 

I just ran gpupdate /force on the server and client but gpresult is the same as before for each.

Using WBEMTEST on the client and the query in my original post there are no results returned, when using my Win 7/8/10 query a result is returned. Likewise if I run WBEMTEST on the server and use the Windows 8 query no result is returned.

Edited by ak88
Link to comment
Share on other sites

So today I ran gpresult on a Win 7 client and the Win 10 WMI filter appeared in the results, I had to do a fresh Win 10 install on another client and when running gpresult the Win 10 filter is still missing. No idea what could cause this...

Link to comment
Share on other sites

I have resolved it, it was a mistake on my part. I had been linking my GPOs to the Users OU as I was used to but these particular GPOs had settings made in the Computer policies so should have been linked to the Computers OU. Once I linked them here they appeared in GPRESULT. Odd that Win 7 clients showed the WMI filter correctly before doing this but seems to be working now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...