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: Need to log in automatically x minutes after logoff

21 Sep 2011   #1

Windows 7 Professional 32-bit
Need to log in automatically x minutes after logoff

I have some workstations set up to log in automatically on startup. Users of these workstations might also want to log in using their own domain credentials.

I want users to be able to log off and log in using their own credentials. I would also like for the system to log in automatically after a set period of time following a logoff.

Is there some option in Windows that can set the system to log in automatically after a period of inactivity at the logon screen?

My System SpecsSystem Spec
21 Sep 2011   #2
Sub Styler

Windows 7 Ultimate x64

AFAIK there is no such feature built in! It would be a security risk, autologon is only possible at boot up.

Only way I can think of is to use AutoHotKey or similar to create an .exe that would perform the logon you desire from the logon screen (wont be able to test yet though) then rename this to a .scr then enable the welcome screen - screen saver (see here) and set your logon macro as the screen saver....

Havent tried it but I think I will now
My System SpecsSystem Spec
21 Sep 2011   #3
Sub Styler

Windows 7 Ultimate x64

Ok gave that a try and it was a total FAIL!

Made my script (extremely basic, probably too basic), saved it as a screen saver, got it to run at the logon screen but instead of just sending the keys to the logon screen it loads a blank screen. I can then get an AutoHotKey script UI (which is blank) to pop up if I hit Esc or return to the welcome screen by hitting ctrl alt del.

Send {Right}{Right}{Enter}
SendInput {password}
Send {Enter}
My System SpecsSystem Spec

21 Sep 2011   #4
Sub Styler

Windows 7 Ultimate x64

This would probably be easier to achive with traditional style Ctrl+alt+del logon screen as it has a readable window title to instruct AutoHotKey to work in.

But i'm going to bed now....
My System SpecsSystem Spec
23 Sep 2011   #5

Windows 7 Professional 32-bit

I don't think sending keystrokes or trying to log in is going to work.

I think a better option is trying to get the system to restart after a period of inactivity.
My System SpecsSystem Spec

 Need to log in automatically x minutes after logoff

Thread Tools

Similar help and support threads
Thread Forum
Folder automatically closes after 5-10 minutes
This has been so frustrating. When I open a folder (usually a desktop folder) after maybe 5-10 minutes the desktop flashs (icons reload) and the folder closes without warning. Very annoying having to reopen time after time while I'm working with the contents in the folder. I have tried virus scans,...
General Discussion
Logoff causes restart
Wheneven I logoff of the system it does a restart. I have tried it with no programs loaded and all services turned off but the same thing happens. The only indication I get from the event log is "The computer has rebooted from a bugcheck. The bugcheck was: 0x0000003b (0x00000000c0000005,...
BSOD Help and Support
how to start a service automatically on windows 7 Logoff then Logon
Hi all, I have created a service for my application, which is running on Windows7 and windows xp. Problem:- When ever I logoff my system and Logon again the service is automatic starting in windows XP but it is not automatically start on windows 7.What it's root cause.I am not getting...
Need to logoff from IE8 (Sometimes) to unfreeze.
On many occasions, after I close IE8, seems like iexplorer.exe freezes. I can open Task Manager via Ctrl+Alt+Del but it does not respond to any mouse/cursor action. Therefore I can't "End Process" since the window does not respond. I can see two iexplorer.exe processes still running but I cant...
Browsers & Mail
Reverse all changes at logoff
Is it possible to have all changes reversed when a user logsoff? (Without Guest Account)
General Discussion
Windows 7 Logoff
Why does my Windows 7 logoff every time I try to enter it again!
General Discussion

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 18:12.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App