Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

October 01, 1995 12:00 AM

Customizing Winlogon

Windows IT Pro
InstantDoc ID #2269
Rating: (0)

Customizing Winlogon
The path name for the Winlogon key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. When you highlight the Winlogon key, you should see a Registry snapshot (see Screen A).

If you are developing, testing, or running an NT system at home, you might want the system to perform an automatic logon each time it boots. This saves time if you crash the system regularly or bring it down and back up as part of a test or debug process. Be aware, however, that this is an easy way to bypass security. Do not implement this process on a production server without carefully considering the implications.

To implement, highlight AutoAdminLogon:REG_SZ:0, and change its value to 1. Be sure that the DefaultDomainName and DefaultUserName values are correct. They should reflect your current operating environment. Normally, the username displayed in the logon dialog is the default for this field. Specify the username for the automatic logon in DefaultUserName (e.g., Casper). Then add DefaultPassword:REG_SZ: <password> to specify the default password (e.g., theghost).

The Winlogon key should look something like this:

AutoAdminLogon:REG_SZ:1

DefaultDomanName:REG_SZ:Backdoor

DefaultUserName:REG_SZ:Casper

DefaultPassword:REG_SZ:theghost

(the values are system-specific). Exit the Registry Editor, and log off. The system should automatically log on using the username and password you specified. To disable this feature, set AutoAdminLogon to 0, and delete the DefaultPassword value.

Another useful modification to the Winlogon key is to add a logon announcement indicating that unauthorized access to your workstation or server is prohibited. To successfully prosecute system break-ins, the courts require that you announce that your system may only be accessed by users with valid accounts. In addition, you cannot say "Welcome" to the system, because the welcome is interpreted by the courts as giving blanket permission to anyone to access your system.

Scan down the Winlogon value list, and locate LegalNoticeCaption and LegalNoticeText. When strings are assigned to these two values, an announcement appears prior to the logon screen; it is displayed until the user specifically clicks on OK. You specify two strings for the announcement box: LegalNoticeCaption for the title bar, and LegalNoticeText for the dialog. For example,

LegalNoticeCaption:REG_SZ:This is the corporate FTP Server

LegalNoticeText:REG_SZ:Unauthorized Access Prohibited

Exit the Registry Editor, and log off. When you log back on, you must acknowledge the announcement before you enter your username and password. Voilà!

You can also add a Shutdown button to the logon screen so anyone can shut down the system before logging on. To make this dangerous modification, change the value in ShutdownWithoutLogon to 1. The next time you go to log on, a Shutdown button will appear on the logon screen.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.