Windows NT Server 4.0, Terminal Server Edition
Configure the Server
- 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:
- Start Registry Editor (Regedt32.exe).
- Locate and click the following registry key:
HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon
- 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.
Windows 2000 Terminal Services
Configure the Server
- 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:
- Start Registry Editor (Regedt32.exe).
- Locate and click the following registry key:
HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon
- 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.
REFERENCES
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/159969/EN-US/ )
AutoLogon Fails If DontDisplayLastUserName Is Also Enabled
(http://support.microsoft.com/kb/237890/EN-US/ )
After Upgrade to Windows 2000 Last Logged On User Name Displayed
(http://support.microsoft.com/kb/247174/EN-US/ )
Terminal Services Clients Always Prompted for Password
Back to the top | Give Feedback
Properties
Article ID: 260711 – Last Review: March 2, 2007 – Revision: 2.2
APPLIES TO
- Microsoft Windows NT Server 4.0, Terminal Server Edition
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Datacenter Server
Source: How to Configure Automatic Logon to a Terminal Server