lock the computer after 10 minutes, while working

Hello, I need to set a computer to lock user every 10 minutes, while user is working on it, it should not be a logoff, only account lock
OS is Win 7 x64
Robert-ProdigyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Account lock (without logoff) is done through Screen Saver parameters. They will NOT kick in while the user is working, but WILL kick in on idle. Short of some special program, you cannot lock the screen / system while the user is working on the system.
0
Robert-ProdigyAuthor Commented:
Well, I actually need to lock a user, while he is working on computer, maybye, there is a script that can do it?
0
JohnBusiness Consultant (Owner)Commented:
Scripts use the onboard tools for the most part, so that is not likely to work. I have not even heard of a program to lock a computer in use but there may be one.
0
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

EirmanChief Operations ManagerCommented:
Thy this (now discontinued) software
https://romacocanada.ca/timeout/

Or search for Windows 7 Parental Control for other options

Or use the Parental Controls within windows7
http://windows.microsoft.com/en-IE/windows7/products/features/parental-controls
0
web_trackerComputer Service TechnicianCommented:
I am not understanding why you would want to lock the computer while it is in use? For example is someone is typing a word document and is working on it for more then ten minutes and the computer locks, it just does not make any sense to want to do that. It would be very frustrating to the user to have to unlock the computer every ten minutes when they are actively using the computer. If we can have a better understanding of what the issue is maybe we can better help you.
0
Robert-ProdigyAuthor Commented:
We have a user that should not seat more than 10 minutes in a row, because of health issues, and we need to notice that user to take a walk every 10 minutes, while he is working on PC
0
JohnBusiness Consultant (Owner)Commented:
Ask your user to help. Ctrl-Al-Del and Lock (does not log off). This is REALLY easy.
0
McKnifeCommented:
You can write a simple batch that kicks in 10 mins after logon, locks the screen and deactivates the user for 10 mins. Local or domain user?
0
NVITEnd-user supportCommented:
Extending John's suggestion, WindowsKey+L
0
JohnBusiness Consultant (Owner)Commented:
@Robert-Prodigy  - Your user has a human frailty which does not run to a clock by the second. Ask your user to participate in their issue by locking their own workstation.
0
McKnifeCommented:
Sure, someone with health problems should know what he is doing and not play with his health. But John, if I get him right, this is about keeping someone from working more than ten minutes in a row what he would otherwise tend to be doing.

So if a script is helpful, take these 3 lines for a local user "user1":
net user user1 /active:no 

Open in new window

(executed by a task run as system at the following 2 triggers: logon or workstation unlock of user "user1", delay: 10 minutes) and
rundll32.exe user32.dll, LockWorkStation

Open in new window


(executed by a task, executioner: user1, "run only when the user is logged on", 2 triggers: workstation unlock or logon, delay: 10 minutes) and finally
net user user1 /active

Open in new window

(executed by a task run as system at the following trigger: logon by user "user1", delay: 20 minutes)

This does exactly what you want.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Danny ChildIT ManagerCommented:
Psshutdown with the -l switch can force a PC lock.
https://technet.microsoft.com/en-us/sysinternals/bb897541.aspx
however, an easier solution might be a countdown timer...

http://www.online-stopwatch.com/countdown-timer/
0
LeeTutorretiredCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
JohnBusiness Consultant (Owner)Commented:
The answers at http:#a40756971 and http:#a40757400 have addressed this. A normal machine will not lock while working on it, so you need as special script.
0
McKnifeCommented:
http:#a40757400 solves it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.