• RSS
  • Twitter
  • FaceBook

Targeting policy for Vista computers

  • Section(s): Administration, Active Directory, Admin
  • Published on Jul 29, 2009.
  • Last Modified on Mar 06, 2009.
  • Last Modified by Mitch Tulloch.
  • Rated 5 out of 5 based on 1 votes.
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.

About 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 www.mtit.com .


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Monitoring & Management solution?