Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do I bypass the security warning in the RDP Client everytime you launch it from a RDP shortcut?

The message title reads:

"The publisher of this remote connection cannot be identified. Do you want to connect anyway?"

There's a checkbox that reads:

"Don't ask me again for connections to this computer"

If we check that, it writes the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\LocalDevices]
"MachineIP or Name"=dword:00000004

I'm trying to bypass this warning by writing this registry values before I run the RDP. The problem is that the dword value varies. I found that in one machine (Win7), it was 4, but in another machine (XP), the value was 72 decimal. Does it vary depending on your OS, or is it by the RDP client version?

Other info:

  1. Signing all my RDP files is NOT an option.
  2. Checking the checkbox is NOT an option as we are trying to automate some stuff with a C# tool.

Thank you

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This is a bitflags value. We usually set this to 0x0000006F

share|improve this answer
1  
That value seems to work with XP and Vista. Is there any documentation somewhere on that key? –  Butcher Apr 9 '10 at 18:15
    
@Butcher were you able to find any documentation? –  Michael Steele Nov 26 '12 at 22:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.