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
 
That seems working. Thanks for your help.

Polaris

"Lanwench [MVP - Exchange]"
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top