It turns out when performing a WMI (Windows Management Instrumentation) query, 10 is less than 6. The reason for this is because the version number is treated as a string and not a number. So the 10 is actually treated as 1, and 1 is less than 6.
So why is this important? In Windows Server 2012 Essentials folder redirection will not work for Windows 10 clients by default. This is due to the WMI query used by the folder redirection group policy.
The fix is to edit the WMI query used by the policy. Here is the process.
- Open the Group Policy Management console. (gpmc.msc)
- Expand Forest, then Domains, and finally the domain name.
- Click on the “WSE Group Policy Folder Redirection” policy.
- At the bottom of the Scope tab on the right, click Open in the WMI filtering section.
- Click the Edit Filter button.
- Click on Edit.
- Change the query to: select * from Win32_OperatingSystem where Version like “10.%” or Version >=”6.1″
- Click OK on the warning about the namespace.
- Click the Save button.
- Close the Group Policy Management console.
Once the WMI query is corrected, the Windows 10 client will need to be rebooted or have group policy updated. To force group policy update on any Windows device, run gpupdate /force from a command line.
So there you have it 10 can be less than 6.