Targeting policy for Vista computers

by Mitch Tulloch [Published on 29 July 2009 / Last Updated on 6 March 2009]

If you have a mix of XP and Vista computers in a department or location, how can you configure a GPO so that it is only processed by the Vista computers?

If you have a mix of XP and Vista computers in a department or location, you may have the computer accounts for these computers in the same organizational unit (OU). But if you have a Group Policy Object (GPO) linked to that OU that should only target the Vista computers, how can you configure the GPO to do this?

The solution is to use WMI filtering. Open Group Policy Management Console, right-click on the WMI Filters node, select New, and add the following WMI query string:

Select * from Win32_OperatingSystem where Caption like "%Vista%"

Once the WMI filter has been created, you can use the WMI Filtering control at the bottom of the Scope tab when any GPO is selected to apply the filter to that GPO.

The Author — Mitch Tulloch

Mitch Tulloch is a well-known expert on Windows Server administration and cloud computing technologies. He has published over a thousand articles on information technology topics and has written, contributed to or been series editor for over 50 books.

Latest Contributions

Featured Links