Forum Discussion

SimonEE's avatar
SimonEE
Copper Contributor
Feb 11, 2021
Solved

WMI filter for Windows 10 Enterprise

Hi all,   To explain the very basics, I have a client who is migrating from Windows 10 Pro to Enterprise due to a functionality issue. Due to the pandemic/ lockdown they initially converted from Pr...
  • CoasterKaty's avatar
    Feb 11, 2021

    SimonEE I find WMI Explorer really useful when writing WMI filters: GitHub - vinaypamnani/wmie2

     

    You'll want to target ROOT\cimv2 on the filter and this should do the job:

     

    select * from Win32_OperatingSystem where Caption = "Microsoft Windows 10 Enterprise"

     

    Alternatively you can target the Version and OperatingSystemSKU properties:

     

    select * from Win32_OperatingSystem where Version like "10.%" AND OperatingSystemSKU = 27

     

    (I'm taking "27" from a list of OperatingSystemSKU values off Microsoft Docs but I'd look it up in WMI Explorer to double check, or using PowerShell on a system running Win 10 Enterprise:

     

    get-wmiobject -query "SELECT OperatingSystemSKU from Win32_OperatingSystem"

     

    and look at the value it returns.)

     

     

Resources