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

Pesceman3

New member
Local time
6:19 AM
Messages
2
Location
NY, USA
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 My Computer

At a glance

Windows 7 Professional x64Intel Core i5 2500k @ 4.5GHz16GB Samsung 1866MHz2x AMD Radeon 6970 Crossfire
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel Core i5 2500k @ 4.5GHz
Motherboard
Asus Sabertooth P67
Memory
16GB Samsung 1866MHz
Graphics Card(s)
2x AMD Radeon 6970 Crossfire
Hard Drives
1x Crucial M4 64GB
2x Western Digital Black 1TB
PSU
Antec High Current Pro 850w
Case
Corsair Obsidian 650D
Cooling
Noctua NH-D14
Keyboard
Ducky Shine Cherry MX Black
Mouse
Logitech G700
Antivirus
Microsoft Security Essentials
Browser
Google Chrome
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 My Computer

At a glance

Windows 7 Ultimate x64Intel Core2 Quad Q8300 2.5GhzKingston HyperX 4x1GB DDR2 1066MhzAsus/Nvidia 9500GT 1GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Build
OS
Windows 7 Ultimate x64
CPU
Intel Core2 Quad Q8300 2.5Ghz
Motherboard
Asus P5QD Turbo
Memory
Kingston HyperX 4x1GB DDR2 1066Mhz
Graphics Card(s)
Asus/Nvidia 9500GT 1GB
Sound Card
On-Board HD
Monitor(s) Displays
22" Widescreen TFT
Screen Resolution
1920x1080
Hard Drives
2x 320Gb Seagate SATAII RAID 0
2x 80Gb Seagate SATAII RAID 0
1x 1tb hybrid (8gb ssd)
PSU
650w
Case
ATX
Cooling
140mm front, 120mm Rear, 80mm Chipset + stock CPU and GPU
Keyboard
Plastic one
Mouse
Plastic one
Internet Speed
4Mbps
Other Info
Laptop: HP Elitebook 2560p
i5 @2.7Ghz 4GB DDR3
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 My Computer

At a glance

ubuntu
OS
ubuntu
Back
Top