Bypass RDP Client Warning

Posted by Butcher on Server Fault See other posts from Server Fault or by Butcher
Published on 2010-04-09T15:20:20Z Indexed on 2010/04/09 15:23 UTC
Read the original article Hit count: 765

Filed under:
|
|
|
|

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 rights 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

© Server Fault or respective owner

Related posts about rdp

Related posts about registry