Your second relevance looks good… what is not working about it?
You might improve it by doing a case insensitive compare:
members whose (it as string as lowercase != “ad\domain admins”) of local group “Remote Desktop Users”
Warning on this relevance!!! If this relevance runs on a domain controller, it will list all of the domain users (which are considered local users on domain controllers), which will take a long time (and disrupt normal agent operation on the domain controller) so if you use this relevance, you will want to put it in an analysis with the relevance:
product type of operating system != nt domain controller product type
This will prevent the property from running on domain controllers.
if name of operating system = “WinXP” then members whose (it as string as lowercase != “ad\domain admins”) of local group “Remote Desktop Users” else nothing