Hello JamesEdmonds-7766,
Thank you for posting here.
From the following link, we can see if we want to use "WMI Filter" to filter "Windows Server Roles", it is
"root\CIMv2" instead of "root\CIMv2\TerminalServices".
WMI Filter
https://blog.andreas-schreiner.de/2016/09/09/wmi-filter/z
So if you want to filter Desktop OS and terminal servers to apply GPO, you can try:
root\CIMv2
SELECT * FROM Win32_OperatingSystem WHERE ProductType="1"
and
SELECT TerminalServerMode FROM Win32_TerminalServiceSetting WHERE TerminalServerMode = 1
For example:
Hope the information above is helpful.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.