timbo343 Posted March 28, 2007 Posted March 28, 2007 Heya all does anyone know a way that computers can lock them selves as staff are leaving the computers unlocked with sims open. My boss mentioned something about a bat file looking at the system idle process... just wondered if anyone knows how or is using something simular. T
meastaugh1 Posted March 28, 2007 Posted March 28, 2007 We have something. When we started rolling out SIMS to all classrooms for lesson monitor, SLT asked whether it was possible to reduce the screensaver lock when SIMS was running. One of our now former technician wrote a small C++ app to run in the background constantly checking running processes against it's list of apps. When it senses no keyboard/mouse input after a period (default is 1 minute I think), it locks. When the app(s) are closed, it will just use whatever screensaver lock the user has defined.
timbo343 Posted March 28, 2007 Author Posted March 28, 2007 ahh right, i dont suppose you know the code for it all do you?
meastaugh1 Posted March 28, 2007 Posted March 28, 2007 The only problem with the screensaver is that you'd need to madate it a few minutes, otherwise it's pointless in a classroom environment. This is almost impossible where staff want to project stuff on screen and leave them there for 10-30 mins.
Geoff Posted March 28, 2007 Posted March 28, 2007 Simple enough, don't apply the policy to machines with whiteboards.
meastaugh1 Posted March 28, 2007 Posted March 28, 2007 Simple enough, don't apply the policy to machines with whiteboards. All staff computers in classrooms are connected to projectors and have SIMS Here it is. There are properties in the MSI which match up to the properties mentioned in the readme (eg processes, timeout), so you apply a transform, or edit the MSI to adjust the values. Default is to lock after 45 secs of inactivity whenever pulsar.exe (SIMS) is running.readme.pdfmis_monitor.msi
timbo343 Posted March 29, 2007 Author Posted March 29, 2007 ive found how to lock computer after a set time (http://news.persianforum.net/default.asp?view=plink&t=article&id=1836) but.... another problem has occured... is it possible to add mew tasks to the scheduler in windows via Group Policy, as going round 70 + machines seems to be a nightmare... or even a script that will run, to install the task scheduler? T
Gatt Posted March 29, 2007 Posted March 29, 2007 We tried to implement this hear (autolock after 5 mins) but as already mentioned the IWB's don't affect the timer as its not interpretted as mouse or Keyboard movement.. Cue Irate staff member breaking the door to my office down
timbo343 Posted March 29, 2007 Author Posted March 29, 2007 Been working on something if anyone wants it. It adds a lock computer task to task scheduler and can be done remotely too. This is set to 15 mins at the moment.. and it does work.. schtasks /delete /tn "Lock Computer" /f schtasks /create /ru (Username) /rp (Password) /tn "Lock Computer" /tr "c:\windows\system32\rundll32.exe user32.dll, LockWorkStation" /sc onidle /i 15 /s (remote computer name)
mattx Posted March 29, 2007 Posted March 29, 2007 Timbo, I've been thinking about scripting something along these lines in AutoIT. I don't suppose you know any processes that kick in if the PC is left idle for say 30 mins or so do you ? [ apart from the screen saver ]
timbo343 Posted March 29, 2007 Author Posted March 29, 2007 well in the script that ive done, its a .bat, the /i 15 is how many mins if the machine is left idle, after that it will lock the machine, but will have a look 2morrow to see what i can do..
mattx Posted March 29, 2007 Posted March 29, 2007 I want mine to log off, not lock the computer - any info on processes would help.
ZeroHour Posted March 30, 2007 Posted March 30, 2007 What about kicking people off that leave there pc locked for AGES?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now