For Windows 2008, I need to create a script that will show whether connected RDP sessions are set at "high" encryption or something else (e.g., "compatible").

Does anyone know of a way to get this without going through the GUI?

I investigated wmic and powershell, but was unable to locate anything. I found a .net Powershell module for Terminal Services, but all it would do was display the status (i.e., list sessions). I actually need to see the encryption level.

link|improve this question

Curiously, the session status GUI has only a blank field where the encryption status should be. Apparently this information is hard to get. – Nic Nov 27 '11 at 0:56
feedback

1 Answer

Looks like this power shell command should do it for you

get-childitem -path RDS:\RDSConfiguration\Connections\RDP-Tcp\SecuritySettings\EncryptionLevel | format-list

http://technet.microsoft.com/en-us/library/ee791871(WS.10).aspx

link|improve this answer
2  
I believe that just shows the current Remote Desktop Session Hosts capabilities, not the status of individual sessions. Will double-check. – Adam Brand Oct 8 '11 at 18:33
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.