How to check if RDP is Enabled?

  • Thread starter Thread starter Polaris
  • Start date Start date
P

Polaris

Hi:

Is there an API to check if the user has "Remote Desktop" (Control Panel -
Remote) enabled?

Did not find any SDK APIs for this, and I searched whole registry but failed
to find any registry value is read about "Remote Desktop" Setting.

Is there some other development package I'm missing now (I have .NET Dev
environment).

Thanks In Advance!

Polaris
 
Thanks for your info, but it seems not working: I did not enable the Remote
Desktop but the "Terminal Services" is still running (Service Status is
"Started").

Polaris
 
Polaris said:
Thanks for your info, but it seems not working: I did not enable the
Remote Desktop but the "Terminal Services" is still running (Service
Status is "Started").

Polaris
 
Just found out the registry setting for the RDP flag:

System\\CurrentControlSet\\Control\\Terminal Server\\fDenyTSConnections

Polaris
 
Polaris said:
Just found out the registry setting for the RDP flag:

System\\CurrentControlSet\\Control\\Terminal
Server\\fDenyTSConnections

That's easier than a telnet command?
 
Back
Top