Use this program to override your computer's workstation lock either to prevent the workstation from locking or to force it to lock after a set number of minutes. You can also choose the hours of the day that it will perform this task. ModLockWorkstation is useful when you have Group Policies that prevent you from modifying the workstation lock parameters.
- --? Display help file
- --Dx number of minutes to wait between checks to force or prevent a lock (x=number of minutes)
- example: --D5 would wait for 5 minutes between checks
- --Lx number of minutes of inactivity before the workstation is locked (x=number of minutes)
- example: --L3 would lock the workstation after 3 minutes of inactivity
- example: --L0 would force the workstation to never lock
- --Sx hour to start performing checks (x=single or two digit hour in military time)
- example: --S08 would start the checks at 8:00 am.
- --Ex hour to end checks (x=single or two digit hour in military time)
- example: --E17 would stop the checks at 5:59 pm.
- --H hidden mode: No tray icon
- --I install mode: Copies exe to Program Files folder and makes entry in HKLM to run it. Include all the command line parameters you want the registry to run it with when using --I
ModLockWorkstation.exe --D2 --L3 --S7 --E18
This would check every 2 minutes (
--D2) between the hours of 7:00 am (
--S7) and 6:59 pm (
--E18) to see if there has been any mouse or keyboard activity. If the workstation has been found to be idle for at least 3 minutes (
--L3) it would issue a command to lock the workstation.
ModLockWorkstation.exe --D4 --L0 --S0 --E23
This would check every 4 minutes (
--D4) all day long, 0:00 am (
--S0) to 23:59 (
--E23), to see if there has been any mouse or keyboard activity. If the workstation has been found to be idle for at least 30 seconds, the
--L0 argument would cause the mouse to move in a tiny circle which would reset the Windows inactivity delay and cause the workstation to not lock.