Windows Auto Sign On In Locked Mode

Posted by: Steven Smith, on 04 Sep 2009 | View original | Bookmarked: 0 time(s)

Earlier this week, after enduring yet another windows update, I came up with a feature request for Windows that would make me a much happier user.  Weve all heard about requests for speeding up boot times and there has been some progress on this (and of course there are hardware solutions like SSDs that can help here).  What Im looking for is related, but not quite the same.

 

Background

I had just turned on my computer, after shutting it down at the end of the day and letting it install updates.  That took a few minutes, but not too bad, but then it wanted to finish installing 3 updates as it started up.  Ok, fine, so I went and did something else for a while.  Then I returned to find it was finally ready and I signed in, but of course then I had to wait for windows to come up, and then my usual auto-start programs to come up, and then my non-auto-start-but-I-manually-start-them-every-time programs to come up, and 10 minutes later my computer was finally at a point where I could compose an email.

Why must I repeatedly wait on my computer when what I really want is to be able to sign in as needed and immediately have the system in the state where Im productive with it?

A gentle note to commenters: Please dont tell me to just leave my system on and use Sleep/Hibernate to avoid this issue.  I do that.  Unfortunately, that isnt an option when Windows Updates are involved, as my scenario above makes clear.  Thank you.

 

Request: Automatically Sign In (with Locked Screen)

I would love it if, when I turned on my computer, it automatically logged me into my account, auto-started all my startup programs, etc., but did so in the background behind the login screen (which in this case could be the Locked screen).  What I want is a boot-to-locked-account mode.  I want to go into an account and say Automatically boot into this account (locked) as a checkbox.  With this, I could let my computer start up and I can be doing other things and when I come back to it, its actually ready for me to use it, not just at another roadblock that requires my intervention and results in my having to wait again.

Microsoft of late has done a great job at removing needless UI intervention in various installers and combining installers into one (the Web Platform Installer is awesome this way, for example).  Ive also suggested in the past they provide a way to automate installation of multiple applications from MSDN.  This would be another area in which they could make the task of starting up the computer less painful by requiring less user intervention.

 

Hacking It

There is a way you can do this today, but its not easy, is a hack, and introduces some security holes into your system.  Having been so warned that these instructions might cause your computer to explode or kill your kittens, the responsibility for your actions should you choose to follow them rests solely on your shoulders.

If you want automatic logon, you can follow these instructions which should fork for XP/Vista/7.  That gets you a system that logs into a particular user account automatically, but of course then anyone walking up to it can start using it.  If you want it to be locked, you can follow these instructions for locking windows from the command prompt and then run these from a .bat file in your Startup folder.  The Win2000 instructions should work fine on Win7.  Thats it.

Thanks to Brian Keller for the tip on how to get this to work currently.

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Security | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1245 | Hits: 307

Similar Posts

  • Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 17 more
  • Spec Explorer: A Model-Based Testing tool more
  • How to create a DropDownList with ASP.NET MVC more
  • Building Advanced Layouts With RadSplitContainer more
  • An Overview of Partial Classes and Partial Methods more
  • Just say no to 'Poor Mans Dependency Injection. more
  • Telerik Introduces Free Web Testing Framework for ASP.NET AJAX and Silverlight more
  • ASP.NET AJAX Release History : Q2 2009 BETA (version 2009.2.616) more
  • Transactions are bad for REST more
  • Binding in ASP.NET MVC more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD