How To Automatically Login in Windows 7 for limited number of Times: Whenever you boot your Windows 7 operating system, you are asked to fill your username and password. This is obviously done for security purpose so that any unauthorized person cannot login in your system. However there may be occasions when you want to let your computer boot multiple number of times without asking the username and password.
When Would You Want Your Computer To Not Ask Username & Password
There may be a good number of reasons when you don’t want your Windows 7 Operating system to ask you username and password when your PC boots.
Security Reasons: You do not want to enter username and password every time your computer boots but you would like to make sure that nobody is accessing your PC behind your back ( A very common scenario when you have siblings). You can thus limit automatic username & password entry to 5 times ( or any number for instance). Thus, when your PC boots for 6th time, the intruder would be stuck.
Installing Software’s Or Deploying System Image: If you are installing some system software’s or any updates or deploying a system image which require your computer to restart multiple no. of times and you want to enjoy your coffee in front of your television rather than sitting in front of your PC for long time to enter username & password, this technique could be very useful.
So, lets quickly jump to the solution part to our problem.
Method 1: Manual Registry Key Entry
The first method require you to manually enter a registry key value. A key called “AutoLogonCount” specify the number of times your PC should boot using AutoLogon registry setting values.
1. Open regedit ( Press Start button and type regedit) and browse to the following path
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
2. Create a new DWORD with value AutoLogonCount and type the no. of times you want to Reboot without manually entering password.
Method 2: Use Limit Automatic Login Software for Windows 7
If you are scared of manually doing the registry tweak then you would be delighted to know that there is a small App to do this task for you.
1. Install Limit Automatic Login Software.
2. Open the Application and select “ Enable Automatic Login”. Enter username and password for your account and the limit which you want your PC to boot up without asking password.
Using any of the above method, you could explicitly control the number of times your PC would boot Windows 7 without asking username and password for the specified account.

This is a very scary thing to do! The most obvious problem I see in doing this is that while you are able to set the amount of time that Windows will be allowed to log you in without you having to provide a password, you yourself can’t necessarily guarantee that you will turn on/off the computer that amount of time. For example, what if I set the amount to 5 log in. I might turn off/on the computer for 4 times but what if I went out and someone else (family member?) decides to use turn on the computer? They will have direct access to my user account.
The neat thing is I’ve never heard of this registry setting nor configuration. I always knew that Windows can allow you to bypass the logon screen even if you have a password but I never knew you could configure it to bypass it for a configured amount of time! This is a very funny prank to play on someone if I can somehow get access to their computer! Imagine the surprise when they turn on their computer and it immediately bypasses the log on prompt!
It was never meant for security purpose. As you clearly stated that you never know in advance how many times you are going to log in. Its prime purpose was to let some applications install stuff in your PC which require reboot multiple time without the need of password ever time it restarts PC.
I never thought of using it as a Prank
, worth a try.