Unsolved
This post is more than 5 years old
1 Rookie
•
90 Posts
0
414
January 17th, 2011 14:00
AutoReconnect question
Hi,
I use a script to connect my 'Thin Clients' running Windows 7 to our Published Desktops running Terminal Services....
I need to disable the 'Reconnect if the Connection is dropped' feature but I'm not sure how.
Using the 'set m_oClient = CreateObject("PNLLM.Client")' object
m_oClient.AutoReconnect = False
or
m_oClient.AutoReconnect = 0
doesn't work.
Any ideas?
No Events found!
DELL-Terry L
29 Posts
0
February 18th, 2011 20:00
While your code should be setting the client side, the connection is probably being controlled by the RDP server-side within the vdi machine or TS. The MSKB at http://support.microsoft.com/kb/323258 describes several ways to implement this RDP server-side setting. I usually set it with local policy and also with domain policy but the article provides the registry key that affects the setting:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\fDisableAutoReconnect = 1 REG_DWORD