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
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
My computer will freeze up/lock up every seconds at login
Help! My computer that I've had since '09 has been freezing up every few seconds at startup, for example, the start button glows on mouse over and when i click the start menu doesn't come up, then if I move my mouse the windows logo is still glowing, same goes for the notifications triangle. Other...
BSOD Help and Support
Black Screen for 5-10 seconds before windows login scre
Hey Guys im only new hear,so im not sure if this question has been asked before,or even if its in the right forum. but i recently just installed a clean install of windows 7(instead of a upgrade from my vista.i got the free upgrade),now everything works fine expect when after the windows 7...
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 14:38.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App