Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-11-03
5
Medium Priority
?
483 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 2000 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 57

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 57

Expert Comment

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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Securing your business data in current era should be your biggest priority. Numerous people are unaware of the fact that insiders commit more than 60 percent of security breaches. You need to figure out the underlying cause and invoke your potential…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
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…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

772 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