Answered by:
WMI Filters for Windows 10

Question
-
I am trying to make a group policy that will only apply to Windows 10 64bit computers. I am not sure what WMI Filter is for Windows 10. Also, do I need to download the ADMX files before I apply the filter?
So my two questions are:
1. What is the WMI Filter to include only windows 10 64 bit machines
2. Do I need to download the ADMX files before applying the filter for Windows 10.
Any help is appreciated.
Thanks
CarrieN
CarrieN
Tuesday, December 29, 2015 6:11 PM
Answers
-
Target 32-bit OS's with:
- Namespace: root\CIMv2
- Query: Select * from Win32_Processor where AddressWidth = '32'
Target 64-bit OS's with:
- Namespace: root\CIMv2
- Query: Select * from Win32_Processor where AddressWidth = '64'
You only need the ADMX files if you are going to do something with Windows 10 specific settings.
For the other one, you probably should download and look at:
https://wmie.codeplex.com/
You want a settings similar to this:
Select * from WIN32_OperatingSystem where Version like ‘6.1.%’ and ProductType=1
That is for Windows 7 desktops.
UPDATE: On my Windows 10 device my WIN32_OperatingSystem | Version is 10.0.10586 and my AddressWidth is 64 (I'm on 64-bit Windows 10 so that checks out)
- Edited by Greg Deckler (Fusion Alliance)MVP Tuesday, December 29, 2015 7:36 PM more info
- Proposed as answer by Greg Deckler (Fusion Alliance)MVP Tuesday, December 29, 2015 7:36 PM
- Marked as answer by Kate LiMicrosoft employee Monday, January 11, 2016 5:09 AM
Tuesday, December 29, 2015 7:23 PM
All replies
-
Target 32-bit OS's with:
- Namespace: root\CIMv2
- Query: Select * from Win32_Processor where AddressWidth = '32'
Target 64-bit OS's with:
- Namespace: root\CIMv2
- Query: Select * from Win32_Processor where AddressWidth = '64'
You only need the ADMX files if you are going to do something with Windows 10 specific settings.
For the other one, you probably should download and look at:
https://wmie.codeplex.com/
You want a settings similar to this:
Select * from WIN32_OperatingSystem where Version like ‘6.1.%’ and ProductType=1
That is for Windows 7 desktops.
UPDATE: On my Windows 10 device my WIN32_OperatingSystem | Version is 10.0.10586 and my AddressWidth is 64 (I'm on 64-bit Windows 10 so that checks out)
- Edited by Greg Deckler (Fusion Alliance)MVP Tuesday, December 29, 2015 7:36 PM more info
- Proposed as answer by Greg Deckler (Fusion Alliance)MVP Tuesday, December 29, 2015 7:36 PM
- Marked as answer by Kate LiMicrosoft employee Monday, January 11, 2016 5:09 AM
Tuesday, December 29, 2015 7:23 PM -
What is
Select * from WIN32_OperatingSystem where Version like ‘6.1.%’ and ProductType=1
Version of Windows 10? I know it is note 6.1.%. What is it?
CarrieN
CarrieN
Tuesday, December 29, 2015 7:45 PM -
I know this is old, but for Windows 10 you want the Version to be "10.0.%". This also works but might not be recommended: "10.%"
Windows internal versioning has been very odd. Vista was 6.0.*, Windows 7 was 6.1, Windows 8 was 6.2. Allegedly Windows 9 doesn't exist because if you did a query for "9*" or "9%", you might get Windows 95/98 as a possible answer.
Friday, October 7, 2016 4:26 PM