This article was previously published under Q260711
IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
On the Terminal Server, click Start, point to Programs, point to Administrative Tools, and then click Terminal Server Connection Configuration.
Double-click the rdp-tcp connection, and then click Advanced. If you want to modify properties for ICA clients, double-click the ica-rdp connection instead, and then click Properties.
In the AutoLogon section, click to clear the Prompt for Password check box.
Click OK, click OK, and then click Exit on the Connection menu.
Note that security settings on the Terminal Server may prevent automatic logon from working properly. The "DontDisplayLastUserName" registry setting prevents this functionality from working correctly. To remove this setting on the Terminal Server:
Click the DontDisplayLastUserName value, and then click String on the Edit menu.
Type 0 in the String Editor dialog box, and then click OK.
Quit Registry Editor, and then restart the Terminal Server.
Configure the Client
Click Start, point to Programs, point to Terminal Server Client, and then click Client Connection Manager.
If a connection to the server already exists, right-click the connection, and then click Properties. If a connection does not exist, create one in the usual fashion.
On the General tab, click to select the Log on automatically with this information check box, and then type the appropriate user name, password, and domain name.
Click OK, and then quit Client Connection Manager.
On the server, click Start, point to Programs, point to Administrative Tools, and then click Terminal Services Configuration.
Double click the RDP-Tcp connection.
Click the Logon Settings tab, and then click to clear the Always prompt for password check box.
Click OK, and then quit Terminal Services Configuration.
Note that security settings on the Terminal Services-based server may prevent automatic logon from working properly. The "DontDisplayLastUserName" registry setting prevents this functionality from working correctly. To remove this setting on the server:
Click the DontDisplayLastUserName value, and then click String on the Edit menu.
Type 0 in the String Editor dialog box, and then click OK.
Configure the Client
Click Start, point to Programs, point to Terminal Services Client, and then click Client Connection Manager.
If a connection to the server already exists, right-click the connection, and then click Properties. If a connection does not exist, create a connection in the usual fashion.
On the General tab, click to select the Log on automatically with this information check box, and then type the appropriate user name, password, and domain name.
Click OK, and then quit Client Connection Manager.