• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / System Administration / WMI filter to target VMware virtual servers

WMI filter to target VMware virtual servers

2016-08-18 by Jason

When using Group Policy, you have a lot of flexibility to target specific computers. You can link it to a specific organizational unit (OU), add security filtering, and for Group Policy Preferences, use Item-Level Targeting. Another option to further define the computers or users that a group policy will apply to is to use WMI filters. WMI filtering can be used on the GPO or as a qualifier in the item-level targeting.

I recently had need to target the virtual servers within the organization. They are interspersed with physical boxes and needed some custom settings applied to them. To accomplish this, I could have created a group and put each virtual server within the group. That would perfectly as long as that group was accurately kept up to date. For that reason, I created a WMI filter so that the computer will do a real-time look-up at the time of group policy processing.

I created the new filter under WMI Filters for the domain inside Group Policy Management Console. The following query asks the BIOS for its manufacturer and model:

SELECT * FROM Win32_ComputerSystem WHERE (Model = 'VMware Virtual Platform') AND (Manufacturer = 'VMware, Inc.')

If ‘VMware Virtual Platform’ and ‘VMware, Inc.’ are returned, the query is evaluated as true and the group policy will be applied. Otherwise, it does not apply the policy.

vmware_wmi

You can evaluate your query to see whether you get True or False returned on various online computers by using the Group Policy Results component of the Group Policy Management Console. I tested this on a VMware virtual server and a Dell laptop and received the expected results.

Filed Under: System Administration Tagged With: group policy, vmware

Trending

  • Shared database of cellphone carriers aims to deter phone theft
    In Hardware, Gadgets, and Products, Security and Privacy
  • National Cyber Security Awareness Month 2016
    In Security and Privacy
  • 8 smart watches [infographic]
    In Infographics

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • Access to the resource [servershare] has been disallowed Access to the resource [servershare] has been disallowed
  • Read the Event Logs on Windows Server Core Read the Event Logs on Windows Server Core
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Setup your DFS namespace with DNS for compatibility in a mixed environment Setup your DFS namespace with DNS for compatibility in a mixed environment
  • How Virtual Reality Supports Mental Health Therapy How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting
  • Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams
  • customer contactless payment for drink with mobile phon at cafe counter bar,seller coffee shop accept payment by mobile.new normal lifestyle concept The Latest Innovations In Payment Technology
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2025 · Magazine Pro Theme on Genesis Framework · WordPress · Log in