Solved

How to prevent a computer from locking out despite idle settings?

Posted on 2013-11-03
5
469 Views
Last Modified: 2013-11-11
Hi,
I have a dilemma that i would appreciate any help.
I have a security cam computer, that like all others has a policy to lock itself every 15 min. obviously this computer is in the domain but is pretty much used only as a monitor, there is someone watching it 24\7 and it becomes a problem where there's no activity but it's suppose to stay unlocked.

I want to create a condition using a program\script or any other tool that would mean - As long as program X is running, the computer won't go to idle.

any ideas?
0
Comment
Question by:johnnyjonathan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
Ashok Dewan earned 500 total points
ID: 39619645
To disable Lock:

Under HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies\System, create a new DWORD value named DisableLockWorkstation and set value to 1.

Then restart the computer.
0
 

Author Comment

by:johnnyjonathan
ID: 39619725
Thanks Neil. but that would mean that the unlock will be disabled all together, i'm looking for a way to have it locked only if a specific program isn't running on the computer
0
 
LVL 55

Expert Comment

by:McKnife
ID: 39622098
Hi.

The lock will only happen if the screen saver kicks in. To prevent the screen saver, write a schedule task that runs a batch every 14 minutes that sends a message to localhost every few minutes if the monitoring process (the executable of the software) is active.
Like this:
tasklist |findstr iexplore.exe && msg * ie is active, screen saver stopped

To close the message boxes, simply use a switch for a short displaying time:
tasklist |findstr iexplore.exe && msg /time:1 * ie is active, screen saver stopped.
0
 

Author Closing Comment

by:johnnyjonathan
ID: 39639022
Accepted, works great!
0
 
LVL 55

Expert Comment

by:McKnife
ID: 39639243
Sorry, WHAT works great, mine or his? I suppose you selected the wrong solution :)
0

Featured Post

IoT Devices - Fast, Cheap or Secure…Pick Two

The IoT market is growing at a rapid pace and manufacturers are under pressure to quickly provide new products. Can you be sure that your devices do what they're supposed to do, while still being secure?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Part Two of the two-part Q&A series with MalwareTech.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month6 days, 3 hours left to enroll

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question