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 widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see .

Latest Contributions

Featured Links