Discussion:
Disable remote desktop connection security warning
(too old to reply)
Guy Yardeni
2007-07-12 22:32:03 UTC
Permalink
Hi,
I'm deploying a TS solution and automatic client machines so that they auto
login and then launch the RDP client and connect to the TS farm. On first
connection, they get the security warning because the client drives are
redirected to the server. There is a checkbox on the warning to never warn
you again for this server, I'd like to pre-deploy this to all client machines
- it is stores in a registry key or another place that can be accessed with a
script?
My servers are Windows 2003 and clients are Windows 2000, XP and XPe.

Thanks,
Guy
Vera Noest [MVP]
2007-07-13 10:07:55 UTC
Permalink
You can prevent the security prompt by adding the following registry
key:

HKCU\Software\Microsoft\Terminal Server Client\Local Devices

For each server name, create a REG_DWORD with a value of 1.
So if the server is called myserver.mydomain, create
"myserver.mydomain"=REG_DWORD:00000001.

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?R3V5IFlhcmRlbmk=?=
Post by Guy Yardeni
Hi,
I'm deploying a TS solution and automatic client machines so
that they auto
login and then launch the RDP client and connect to the TS farm.
On first connection, they get the security warning because the
client drives are redirected to the server. There is a checkbox
on the warning to never warn you again for this server, I'd like
to pre-deploy this to all client machines - it is stores in a
registry key or another place that can be accessed with a
script? My servers are Windows 2003 and clients are Windows
2000, XP and XPe.
Thanks,
Guy
Helge Klein
2007-07-13 11:57:12 UTC
Permalink
Vera,

do you know the meaning of the possible values of the Registry entries
in "LocalDevices"? On my XP machine I have a value of 13 for each
server, which is obviously a bit mask consisting of the bits 1, 2 and
4 set.

Thanks, Helge
Post by Vera Noest [MVP]
You can prevent the security prompt by adding the following registry
HKCU\Software\Microsoft\Terminal Server Client\Local Devices
For each server name, create a REG_DWORD with a value of 1.
So if the server is called myserver.mydomain, create
"myserver.mydomain"=REG_DWORD:00000001.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
=?Utf-8?B?R3V5IFlhcmRlbmk=?=
Post by Guy Yardeni
Hi,
I'm deploying a TS solution and automatic client machines so that they auto
login and then launch the RDP client and connect to the TS farm.
On first connection, they get the security warning because the
client drives are redirected to the server. There is a checkbox
on the warning to never warn you again for this server, I'd like
to pre-deploy this to all client machines - it is stores in a
registry key or another place that can be accessed with a
script? My servers are Windows 2003 and clients are Windows
2000, XP and XPe.
Thanks,
Guy
Vera Noest [MVP]
2007-07-15 22:19:01 UTC
Permalink
Hi Helge,

I've spend the better part of the weekend searching, but haven't
found any reference other than to value 1.
Guess one could configure different connections and watch the
registry value change with them, but I'll leave that as an exercise
for the reader :-)
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
Post by Helge Klein
Vera,
do you know the meaning of the possible values of the Registry
entries in "LocalDevices"? On my XP machine I have a value of 13
for each server, which is obviously a bit mask consisting of the
bits 1, 2 and 4 set.
Thanks, Helge
Post by Vera Noest [MVP]
You can prevent the security prompt by adding the following
HKCU\Software\Microsoft\Terminal Server Client\Local Devices
For each server name, create a REG_DWORD with a value of 1.
So if the server is called myserver.mydomain, create
"myserver.mydomain"=REG_DWORD:00000001.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
=?Utf-8?B?R3V5IFlhcmRlbmk=?=
Post by Guy Yardeni
Hi,
I'm deploying a TS solution and automatic client machines so that they auto
login and then launch the RDP client and connect to the TS
farm. On first connection, they get the security warning
because the client drives are redirected to the server. There
is a checkbox on the warning to never warn you again for this
server, I'd like to pre-deploy this to all client machines -
it is stores in a registry key or another place that can be
accessed with a script? My servers are Windows 2003 and
clients are Windows 2000, XP and XPe.
Thanks,
Guy
Loading...