Go Back   PCMech Forums > Windows Support > Windows OS Support (Vista/7/8)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-17-2010, 09:43 PM   #1
Member (11 bit)
 
inflames988's Avatar
 
Join Date: Aug 2003
Location: Silicon Valley
Posts: 1,512
Windows 7 - automatic lock after 5 minute idle

I've been googling for about 30 minutes and can't come up with much. I need a way to ensure that my workstation locks after 5 minutes of sitting idle (no mouse/keyboard input).

What I am looking for:
I want windows 7 (ultimate) to lock automatically after 5 minutes without sleeping, hibernating, or bringing up a screensaver.

What I have gotten so far:
A task in task manager that executes rundll32.exe with arguments: "user32.dll, LockWorkStation"; the task DOES successfully lock it, but even with scheduling it to run after 5 minutes of idle, it does not work.

I found out that the task scheduler only polls for idle status after about 15-30 minutes, so this is not sufficient. It needs to get locked within 5 minutes of idle.

Anyone have thoughts on this?
__________________

Desktop:
Intel Core i7 930 @ 4.0 GHz | Sapphire HD 6850 | Asus P6X58D Premium | Vertex 2 120GB | 12GB OCZ DDR3 |
Notebook: 13" Macbook Pro | 2.26GHz C2D | 4GB Mushkin DDR3 | Nvidia 9400M | 500GB Scorpio Blue | OS X Lion |
File Server: Intel Atom N330 | Zotac ION G-E | 4GB Corsair XMS2 | 3 x 2TB Caviar Green |
inflames988 is offline   Reply With Quote
Old 08-18-2010, 02:03 AM   #2
Member (11 bit)
 
rwest's Avatar
 
Join Date: Mar 2006
Location: Columbus, OH
Posts: 1,390
Not as technical as your wanting, but this may work for you:

First go to 'control panel' then 'power options' click on 'High Performance' then go to 'change plan settings' set the options to 'never' and save your changes.

Then under the screen saver options you should have the option for a blank screen saver. Set the scrensaver to wait 5 minutes. You will be using the screen saver funtion, but all that will come up is a blank screen.

Check the box for 'On resume display logon screen'.

Set a password for all users. This will not officially lock the pc, but will deter most people from using the pc untill the lock funtions you asigned take place.
__________________
Gigabyte 880GA-ud3h / 3.1 Phenom II x2 550 BE Callisto(4 cores and OC to 3.4) / Corsair Vengence 2x4gb DDR3 1600 / 640gb WD Black 2ea./HIS 6870/ 650 EarthWatts / Win 7 64bit
rwest is offline   Reply With Quote
Old 08-18-2010, 04:14 AM   #3
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
Quote:
(no mouse/keyboard input)
What method do you plan to use to unlock it if you can't use the mouse or keyboard?
EzyStvy is offline   Reply With Quote
Old 08-18-2010, 04:46 PM   #4
Member (11 bit)
 
inflames988's Avatar
 
Join Date: Aug 2003
Location: Silicon Valley
Posts: 1,512
Quote:
Originally Posted by EzyStvy View Post
What method do you plan to use to unlock it if you can't use the mouse or keyboard?
Sorry for the confusion - i was referring to my definition of "idle" - I want to computer to lock itself after 5 minutes of having had no mouse or keyboard interaction from me. It does have a mouse and keyboard to unlock it
inflames988 is offline   Reply With Quote
Old 08-20-2010, 04:44 AM   #5
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
OK...Makes more sense now.

Why are you wanting to reinvent the wheel? Screen saver with password should work like a charm.
EzyStvy is offline   Reply With Quote
Old 08-27-2010, 06:25 PM   #6
Member (11 bit)
 
inflames988's Avatar
 
Join Date: Aug 2003
Location: Silicon Valley
Posts: 1,512
Quote:
Originally Posted by EzyStvy View Post
OK...Makes more sense now.

Why are you wanting to reinvent the wheel? Screen saver with password should work like a charm.
screensavers just kinda drive me nuts...but i suppose you're right - in this case it's the easiest way
inflames988 is offline   Reply With Quote
Old 08-28-2010, 01:08 AM   #7
Moderator
Staff
Premium Member
 
thefultonhow's Avatar
 
Join Date: May 2004
Location: Baltimore, MD
Posts: 2,918
Send a message via AIM to thefultonhow
Quote:
Originally Posted by inflames988 View Post
screensavers just kinda drive me nuts...but i suppose you're right - in this case it's the easiest way
As noted, there is a "blank" option.
__________________
Computer: Intel Core i5-750 2.66 GHz quad-core processor @ 3.71 GHz | Asus P7P55D-E motherboard | Crucial 4 GB DDR3-1333 RAM | nVidia GeForce 8600GT | 2x WD Caviar Black WD1501FASS 1.5TB hard drives in RAID 1 | Antec Sonata III case with Antec EarthWatts 500-watt PSU | Dual Dell UltraSharp 2408WFP 24" widescreens | Windows 7 Ultimate 64-bit

Other: 2005 Subaru Legacy 2.5GT sedan 5MT | Samsung Epic 4G Smartphone | Mamiya M645 1000S medium-format SLR with 55mm f/2.8, 70mm f/2.8, 210mm f/4, teleconverter, 120 and 220 film backs | Olympus E-PL1 Micro-4/3s DSLR with 14-42mm and 40-150mm lenses
thefultonhow is online now   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:25 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2