WMI Filtering and GPO's

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am looking to use WMI Filtering to apply a group policy to our domain. I'm
looking to filter based on Chassis type, predominately I want the filter to
determine whether it will only apply to Desktops or only to Laptops/Docking
stations.

I have used the MS support website to attempt to get some code together and
I have come up with the following –

Select ChassisTypes from WCIM_Chassis where ChassisTypes = "9" or
ChassisTypes = "12"


Sadly its not working, the above code is supposed to reflect the policy is
only to apply to Laptops/Docking stations. But I get a message when running
gpresult on a laptop that this has been NOT APPLIED.

Can you confirm if this code is correct, incorrect or nowhere near even
comprehensible!!

Thanks

Andrew
 
I can't help with the code but there would be a simpler route if you can't
get it working.

Create a OU for all of your machines, within that ou segment it out with two
additional ou's one for desktops and one for laptops. If you want to apply
a gpo to all put it at the upper level and if only one at the lower level
put it there

Machines
|
|-------------|
Laptops Desktops

--


Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top