Good day,
I am breaking my head over how I can create a condition to detect if the user log's in on a machine with Windows Server (2016) with the RD Session Host role installed.
(Terminal Server).
I want to use this condition set to exclude applying certain setting, or explicit apply other settings.
I know I can use the WMI class Win32_ServerFeature and look for the presence of feature ID 130. however there is no way I can use this in VMware UEM to build a condition set.
Despite multiple searches, I also can not figure out how the WMI class gets this information, or how to create a file/folder or registry based detection for it.
I though of using something under the HKLM\SYSTEM\CurrentControlSet\Control\Terminal Service key, but a lot of these entries also exist on a normal Windows client.
Has anyone else encountered this or has an out of the box idea / solution, I would love to hear about it.
Most of the times I simply create a condition set containing a condition that points to the OU in AD that contains the Terminal Servers.
Another option would be a condition set containing a condition for the Operating System (=Windows Server 2016) AND the Remote Display protocol (=RDP).
Beware that this applies to all users login on to the terminal servers. If you want to exclude certain users or groups, you will have to specify that as well.
Hi ICTROCMN,
I know I can use the WMI class Win32_ServerFeature and look for the presence of feature ID 130. however there is no way I can use this in VMware UEM to build a condition set.
If you create a batch file (or PowerShell script, or ...) that returns a particular exit code based on the WMI query, you can use that in an Exit Code condition.
That's an excellent idea, I did not think of taking that approach. Looks like I have some testing to do
That's a good idea. Also because it makes use of the builtin conditions of UEM.