Windows Client OS

Configuring Auto Logon

Can I configure Windows 2000/XP/2003 to log me on automatically?

You sure can!

Old but nevertheless good. The auto logon can be accomplished by means of Registry modifying, or by use of 3rd-party tools.

Sponsored Content

What is “Inside Microsoft Teams”?

“Inside Microsoft Teams” is a webcast series, now in Season 4 for IT pros hosted by Microsoft Product Manager, Stephen Rose. Stephen & his guests comprised of customers, partners, and real-world experts share best practices of planning, deploying, adopting, managing, and securing Teams. You can watch any episode at your convenience, find resources, blogs, reviews of accessories certified for Teams, bonus clips, and information regarding upcoming live broadcasts. Our next episode, “Polaris Inc., and Microsoft Teams- Reinventing how we work and play” will be airing on Oct. 28th from 10-11am PST.

To configure auto logon through the Registry follow these steps:

  1. Open Registry Editor.

  2. In Registry Editor, navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  1. Create or modify the following value (REG_SZ):

DefaultUserName

and enter the exact username you’d like to use.

Then, create or modify the following value (REG_SZ):

DefaultPassword

and enter the exact password you’d like to use.

Note: The password is stored in clear text, allowing anyone with access to the registry (either locally or remotely) to see your password. Use with extreme caution!

Next, create or modify the following value (REG_SZ):

AutoAdminLogon

and enter a value of 1.

Finally, create or modify the following value (REG_SZ):

DefaultDomainName

and enter the domain name you wish to logon to.

Note: As always, before making changes to your registry you should always make sure you have a valid backup. In cases where you’re supposed to delete or modify keys or values from the registry it is possible to first export that key or value(s) to a .REG file before performing the changes.

  1. Close Registry Editor and reboot the computer.

Note: As far as I know, this trick will NOT work if the user does not have a password. It will only work once, but for subsequent logons it will stop working.

In order to configure auto logon with a 3rd-party tool I recommend using Tweak UI from the Microsoft PowerToys suit: Free Tweaking Tools

Download TweakUI for Windows XP

Related articles

You might also want to read the following related articles:

Links

Rename or Delete Special Folders

Related Topics:

External Sharing and Guest User Access in Microsoft 365 and Teams

This eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

You will learn:

  • Who should be allowed to be invited as a guest?
  • What type of guests should be able to access files in SharePoint and OneDrive?
  • How should guests be offboarded?
  • How should you determine who has access to sensitive information in your environment?

Sponsored by:

 
Live Webinar: Active Directory Security: What Needs Immediate Priority!Live on Tuesday, October 12th at 1 PM ET

Attacks on Active Directory are at an all-time high. Companies that are not taking heed are being punished, both monetarily and with loss of production.

In this webinar, you will learn:

  • How to prioritize vulnerability management
  • What attackers are leveraging to breach organizations
  • Where Active Directory security needs immediate attention
  • Overall strategy to secure your environment and keep it secured

Sponsored by: