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


  1. Posts : 2
    Windows 7 Professional x64
       #1

    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 Computer


  2. Posts : 740
    Windows 7 Ultimate x64
       #2

    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 Computer


  3. Posts : 27
    ubuntu
       #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 - reboot.pro 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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 01:08.
Find Us