Monday 4 October 2010

Disable RDP credential prompt


Remote Desktop Connection on Windows 7(Vista as well) prompts you for credentials before you establish a remote desktop connection to Windows 2008.

As a result, it bypasses the remote machine's logon screen. This may be convenient if you save the credentials(username/password), next time, you don't need to input the credentials again. However, it brings a big trouble to the Deepnet users who are using its Terminal Server agent, because there is no chance to input the OTP in the prompt.



In order to show the login screen(Credential Provider) of the remote machine,




Login Screen Without Deepnet



Login Screen With Deepnet


you have to disable the credential prompt of RDP 6.0 client, which is achieved by editing the Default.RDP file in notepad to include enablecredsspsupport:i:0 and make it read as


....
authentication level:i:0
enablecredsspsupport:i:0
....

Note: the original authentication level is 2(authentication level:i:2).

Please look at KB941641 for the details.



If you save the Default.rdp file at default location "Libraries\Documents"(physically at the folder "C:\Users\userXXX\Documents"), please change the view setting in Folder Options to show it. as this file is a hidden file.



Reference

Remote Desktop Connection 6.0 prompts you for credentials before you establish a remote desktop connection

No comments: