Group Policy WMI Queries for Windows 8 do not work for Windows 8.1

With Windows 8.1, Microsoft have increased the operating system’s internal version number from Windows 8’s 6.2.x to 6.3.x. This means that if you have any “Windows 8” WMI queries, they’ll fail for 8.1. You can use the following query to get around this:

SELECT * FROM Win32_OperatingSystem WHERE (Version LIKE “6.2.%” OR Version LIKE “6.3.%”) AND ProductType=”1”

This query will return both Windows 8 and 8.1, but not Windows 7 (6.1) or Vista (6.0).

image

  • ThaSkullman

    I tried above, but when I try to save the query I receive an error:
    A syntax error occurred trying to evaluate a query string
    any suggestions?

    • chrisbrownie

      I think you’ll find it’s the smart quotes (curved quotes “”) in my blog’s theme messing with copy/paste. You need to use dumb quotes (“”).