if (exists value “UserAuthentication” whose (it = “1”) of key “HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\WinStations\RDP-Tcp” of registry) then “Yes” else “No”
q: value
"UserAuthentication" of key
"HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\WinStations\RDP-Tcp" of registry as string |
"NA" A: 0
Note: the | operator only exists in TEM 8.0 and higher
I tried this and it just displays everything as NO
if (exists value “UserAuthentication” whose (it = “1”) of key “HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\WinStations\RDP-Tcp” of registry) then “Yes” else “No”
if (exists value “UserAuthentication” whose (it = 1) of key “HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\WinStations\RDP-Tcp” of registry) then “ON” else “OFF”