This tip was originally published in TechRepublic’s Windows NT e-newsletter.
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.
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.
You can automatically log on to your NT machine by applying the following registry patch to your system:
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).
What do you think of this article format?
Our editors are developing and refining new methods and formats for delivering the solutions you need. Do shorter, step-by-step pieces such as this one better help you overcome the IT problems that keep you up at night? Share your thoughts with our editors, and you could win a free TechRepublic book or CD of your choice.