July 26, 2007

Auto-login and then Lock your PC

Posted in Beginner at 7:24 pm by gloriouscomputing

If you are like me, you run a lot of fun programs on start-up. Of course, you shouldn’t just open everything at start-up, but it easily gets to the point where it takes a significant amount of time for your PC to load up all the programs you love so dearly after logging in.

I like to turn on my PC, walk away, eat a 5 course meal, and then come back. Nothing ruins this more than your PC still not being completely ready for use after you return. I don’t have time to login, wait for stuff to load, and only then use my PC.

So, let’s set it up to automatically log in, and then lock. No less or more secure.

  1. Get Tweak UI
    1. Run TweakUI, go to the “Logon” section, and then “Autologon”
    2. Check “Log In Automatically”, with the user name you wish
    3. Click “Set Password” and give it your password
    4. Click OK, and Apply as needed, and then close TweakUI
  2. Download and run this Registry file. You may wish to Right-Click, and do a “Save As”.

That’s all. Now, if you have a problem getting this file for some reason, or you are just paranoid, here’s how you can manually do the same thing the Registry File does:

  1. Press Windows+R to bring up the Run box
  2. Run regedit.exe
  3. Go to [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
  4. Right click, and make a New->String Value
  5. Call it “lock” (or whatnot)
  6. Right click on that, and Modify
  7. Enter the value: rundll32.exe user32.dll,LockWorkStation
  8. Click OK, and you’re done

So yeah, just run the registry file if you don’t want to mess with all that.

Now you have a PC that boots up, logs in, locks, and loads your programs right away.

Advertisements

6 Comments »

  1. Jacke said,

    it is easy to do that by LogonExpert windows autologon
    it can log machine after autologon, schedule, delay etc autologon — i.e. advanced prog recommend it.

  2. gloriouscomputing said,

    That does seem like a nice program, but it’s only slightly less work than just using TeakUI + the Registry file I link to above.

    I’d recommend it if it was freeware, but the $50 dollar price tag is unjustified.

    I’ll stick to to doing 10 seconds more work, and saving myself $50 for now. Thanks for the info though.

  3. dwb said,

    Looks like there are problems with this approach:

    http://blogs.msdn.com/oldnewthing/archive/2004/01/15/58973.aspx

  4. Figo1979 said,

    Great Tip!
    I´ve installed it as you say and it works brilliant!!

    I just have one suggestion:
    As I have frequently friends using my computer I would like to let them sign in as “guest” as usual.

    any suggestions to chosse in between user and guest?

    Saludos from Spain

  5. gloriouscomputing said,

    You could probably just hit Win+L to switch users and Guest should be listed. Even at the Locked screen, there should be such an option.

    I’m using Windows 7 now, so this post doesn’t really apply to Win 7 anyway. It was written for Windows XP.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: