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 for2: Can I Set a User to Auto Login After X Seconds?
Thread Forum
Solved Multiple user accounts, 1 auto login , how to login to another account General Discussion
Black Screen Flash for 2-3 seconds after initial login (after bootup) BSOD Help and Support
My computer will freeze up/lock up every seconds at login BSOD Help and Support
Remove user login icons from login screen? General Discussion
Black Screen for 5-10 seconds before windows login scre General Discussion
auto login to User account 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 04:34 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App