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
feenst

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.

Code:
Send {Right}{Right}{Enter}
SendInput {password}
Send {Enter}
Return
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
feenst

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
Reply

 Need to log in automatically x minutes after logoff




Thread Tools




Similar help and support threads
Thread Forum
2 minutes to boot to desktop and minutes more fot hard drive activity
ever since I got the laptop it takes almost 2 minutes to boot to the desktop. It then continues to show hard drive read activity without blinking for 6+ minutes. What tests can I run to find out the cause? this happened since the first boot times and even after factory resets. ...
Performance & Maintenance
My pc open file automatically, then automatically shut down
My pc open file automatically, then automatically shut down when I running my pc, it create pop up sound then open file automatically then pc get shut down. watching any video file, this create more problem. when i scan all of my hard drives but any virus or virus activity didnt appear....
General Discussion
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
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...
Software
Reverse all changes at logoff
Is it possible to have all changes reversed when a user logsoff? (Without Guest Account)
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 09:12.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App