I've got a group policy that adds printers during logon which I've put under students so each time a student logs on it maps the printers. That part all works fine.
Where I'm running into trouble is using an WMI filter so it only applies to certain machines. Basically I want to create a GPO for each department so that where ever a student logs on it will only apply that departments GPO and only that departments printers are mapped. At the moment I'm just testing it with the art department. The structure is Domain.local/Workstations-Win7/Expressive arts/Art, so I'm using a WMI filter with namespace: root\directory\LDAP and query: SELECT * FROM ds_computer WHERE DS_distinguishedName like '%OU=ART,OU=Expressive Arts,OU=Workstations-Win7%'
When I test that with wbemtest.exe it only pulls up the computers in that OU but when I create the WMI filter and apply it to the GPO, gpresult shows that it gets a true result wherever I log on. I've tinkered with it but it always either shows true or false where ever I log on.
I hope that made sense, in truth I've only looked into WMI filters the last couple days so I may have something wrong somewhere. Any input or pointing out of a glaring mistake would be greatly appreciated, cheers!