Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows 7 machine currently. I am writing a script which will always be running. Basically, it checks to make sure a program is open, and if it's not, it opens it.

However, when my computer reboots when I'm not around, let's say due to windows updates. My computer turns back on, but idles at the login screen.

I would like my Windows 7 machine to automatically log into a specific account upon initial system boot up, but still keep a password on the account, so once the machine is booted up and logged in, can later be password protected still from switching user accounts or locking the computer.

How can I accomplish that?

share|improve this question

marked as duplicate by Karan, Dave M, Brad Patton, Scott, Ƭᴇcʜιᴇ007 Apr 13 '13 at 16:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
1  
Also seems similar to this question: superuser.com/questions/352616/… –  William Saunders Apr 12 '13 at 21:15

2 Answers 2

There is also the Sysinternals tool that does the same thing as Simon's suggestion (And "encrypts" the password.

http://technet.microsoft.com/en-us/sysinternals/bb963905.aspx

share|improve this answer
  1. Press the Windows key + R on your keyboard to launch the “Run” dialog box.
  2. Type regedit and hit enter to open the Registry Editor
  3. Then browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\
  4. Set AutoAdminLogon = 1 (create it if doesn't exist its a string variable)
  5. Set DefaultUserName = your username (create it if doesn't exist its a string variable)
  6. Set DefaultPassword = your password (create it if doesn't exist its a string variable)

I don't recommend such a solution as someone could simply force the computer to shut down by pressing the power button and start it again and would be logged in with your account!

share|improve this answer
    
(-1) use the way from AthomSfere. In your case the data are not encrypted. –  magicandre1981 Apr 13 '13 at 5:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.