Hide the previous logon username in WinNT4

TechRepublic

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:
  1. Open the Registry Editor (Regedt32).
  2. Select the HKEY_LOCAL_MACHINE key.
  3. Navigate to the subkey \Software\Microsoft\WindowsNT\ CurrentVersion\Winlogon.
  4. Go to Edit | New | String Value.
  5. Enter DontDisplayLastUserName for the string's name.
  6. Double-click the new string to edit the value.
  7. Change the value to 1, and click OK.
  8. 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.

Advertisement

Talkback 0 comments

Sponsored content

Power Centre - Content from our premier sponsors

Blogs

  • Suzanne Tindal Sick of broken tender sites
    Some of the state governments desperately need to invest in more user-friendly tender sites so that looking for information on government tenders doesn't have to be a game of blind man's bluff.
  • Array Cyberwar: What is it good for?
    In this week's episode, Cyberwar. What is Australia's place in the world of digital warfare? What are the implications for the NBN?
  • Array Is wholesale-only backhaul just a pipedream?
    The potential acquisition of Pipe Networks by SP Telemedia has raised the question about whether vertically integrated backhaul providers will mean higher wholesale prices for ISP customers.
  • More blogs »

Tags

Back to top

Featured