Solved

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

Posted on 2013-11-03
5
445 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
  • 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 54

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 54

Expert Comment

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

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

On Beyond Tools A conversation I recently had with the DevOps manager of a major online retailer really made me think about DevOps monitoring tools (https://www.onpage.com/devops-incident-management-tool/). The manager and I discussed how sever…
How do we balance the user experience (UX) with reasonable security measures? It can be done, if you keep these fundamentals in mind.
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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