Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Can I Set a User to Auto Login After X Seconds?

02 Jul 2013   #1

Windows 7 Professional x64
Can I Set a User to Auto Login After X Seconds?

For my HTPC I would like to have 2 user options at startup. If no user is selected within 7 seconds I would like the system to automatically log into one of the two user accounts. I have seen this feature used in Linux Mint, but have no idea how to set it up in Win7. Neither of the two accounts have passwords, so this would not be any more of a security issue.

My System SpecsSystem Spec
02 Jul 2013   #2
Sub Styler

Windows 7 Ultimate x64

AFAIK you can either set it to auto log-on to one account or none.

The other option would be having 2 choices in the bootloader, as there is no NTOS Kernel switch to define this it would mean having 2 OS's, boot timeout set to 7, autologon for the default or manual selection for the other (which could also auto-logon if you wished) a very tiedious means of achiving your goal, and would hinder user switching greatly.
My System SpecsSystem Spec
05 Jul 2013   #3


Windows does not have this functionality built in. However, it can of course be solved by some trickery. Basically you would have to launch a service a startup, that can interact with the desktop (and session that the user is performing login from). So what you need is something that start in session 0 at the desktop Service-0x0-3e7$\default, and can interact with session X where the Logon UI exist (also known as winsta0\Winlogon).

For a proof of concept, check out something I made called RunAtWinlogon; RunAtWinlogon - This tool serves you a LocalSystem cmd if a certain hotkey is pressed. Of course it could be modified to do more (like ScreenCap2Gui at the end of the post), or simply what OP is requesting. So since source is provided, use it for whatever..

Have fun!
My System SpecsSystem Spec


 Can I Set a User to Auto Login After X Seconds?

Thread Tools

Similar help and support threads
Thread Forum
"Warning, Connection Problem, Auto disconnect in 25 Seconds) in dota 2
i always get this error about > "Warning, Connection Problem, Auto disconnect in 25 Seconds) < every 3 sec .. how do i fix it ? i really want to play dota 2 right now =(
Seeing IRQL_NOT_LESS_OR_EQUAL BSOD seconds after login
I have a Dell Windows 7 Home Premium 64-bit laptop. I have been seeing an IRQL_NOT_LESS_OR_EQUAL BSOD seconds after I log in to my laptop and after the desktop initializes. Occurs every single time. Have been seeing the issue since last Wed. BTW, I am also unable to connect to the Internet -...
BSOD Help and Support
BSOD few seconds after boot/login
Hello guys! I'm experiencing a devastating :cry: BSOD on my system right a few seconds after windows boots. I am an IT expert and have some kernel knowledge but I am unable to pinpoint the exact problem. Windbg minidump output as follows: Microsoft (R) Windows Debugger Version 6.11.0001.404...
BSOD Help and Support
Multiple user accounts, 1 auto login , how to login to another account
Hi I have a unit i want to have 4 user accounts on and one of them should auto login. How do i change to one of my other 3 accounts? Change user doesnt work, just auto login. Im running Windows embedded standard 7 Best regards
General Discussion
auto login to User account
How do I set up my PC to automatically boot into a certain user account? I have two separate user logins and one has no password on the account and the other has a password. I want to be able to start up my pc and it will go and log into the one with no password without me having to click the...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:43.
Twitter Facebook Google+