If you work in a security-minded environment, you may want to disable the default setting in NT 4.0 that displays the name of the last person who logged on to the system.
It's often far too easy to guess a user's password from his or her username or from the logon environment. We have a registry tip that can disable this setting.
Note
Remember that editing the registry can be risky, so be sure you have a verified backup before you begin.
Follow these steps:
- Open the Registry Editor (Regedt32).
- Select the HKEY_LOCAL_MACHINE key.
- Navigate to the subkey \Software\Microsoft\WindowsNT\ CurrentVersion\Winlogon.
- Go to Edit | New | String Value.
- Enter DontDisplayLastUserName for the string's name.
- Double-click the new string to edit the value.
- Change the value to 1, and click OK.
- Exit the Registry Editor.
Additional tip
You can automatically log on to your NT machine by applying the following registry patch to your system:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="YourLogon"
"DefaultDomainName"="YourDomain"
"AutoAdminLogon"="1"
"DefaultPassword"="YourPassword"
A word of caution: This can be a big security risk, especially if your autologon ID has administrator privileges. In addition, your password is now saved in clear text in the registry. Use this only if you have a good reason (such as the need to autoinstall software on a temporary basis).
This tip was originally published in TechRepublic's Windows NT e-newsletter.
TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to firewalls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.
©2003 TechRepublic, Inc.



2%
4%





