+ Post New Thread
Results 1 to 14 of 14
Windows Thread, auto lock computer after set time in Technical; Heya all does anyone know a way that computers can lock them selves as staff are leaving the computers unlocked ...
  1. #1
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,976
    Thank Post
    287
    Thanked 268 Times in 192 Posts
    Rep Power
    115

    auto lock computer after set time

    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

  2. #2
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32

    Re: auto lock computer after set time

    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.

  3. #3

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,229
    Thank Post
    54
    Thanked 278 Times in 186 Posts
    Rep Power
    134

    Re: auto lock computer after set time

    Password protected screensaver??

  4. #4
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,976
    Thank Post
    287
    Thanked 268 Times in 192 Posts
    Rep Power
    115

    Re: auto lock computer after set time

    ahh right, i dont suppose you know the code for it all do you?

  5. #5
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32

    Re: auto lock computer after set time

    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.

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: auto lock computer after set time

    Simple enough, don't apply the policy to machines with whiteboards.

  7. #7
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32

    Re: auto lock computer after set time

    Quote Originally Posted by Geoff
    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.
    Attached Files Attached Files

  8. #8
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,976
    Thank Post
    287
    Thanked 268 Times in 192 Posts
    Rep Power
    115

    Re: auto lock computer after set time

    ive found how to lock computer after a set time (http://news.persianforum.net/default...rticle&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

  9. #9

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498

    Re: auto lock computer after set time

    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

  10. #10
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,976
    Thank Post
    287
    Thanked 268 Times in 192 Posts
    Rep Power
    115

    Re: auto lock computer after set time

    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..

    Code:
    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)

  11. #11

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740

    Re: auto lock computer after set time

    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 ]

  12. #12
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,976
    Thank Post
    287
    Thanked 268 Times in 192 Posts
    Rep Power
    115

    Re: auto lock computer after set time

    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..

  13. #13

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740

    Re: auto lock computer after set time

    I want mine to log off, not lock the computer - any info on processes would help.

  14. #14

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,641
    Thank Post
    894
    Thanked 1,314 Times in 798 Posts
    Blog Entries
    1
    Rep Power
    441

    Re: auto lock computer after set time

    What about kicking people off that leave there pc locked for AGES?

SHARE:
+ Post New Thread

Similar Threads

  1. Firefox lock down
    By stu in forum How do you do....it?
    Replies: 9
    Last Post: 21st November 2007, 12:25 PM
  2. PDA - lock it down - how to?
    By Paid_Peanuts in forum How do you do....it?
    Replies: 7
    Last Post: 6th November 2007, 04:25 PM
  3. Desktop lock down
    By CESIL in forum Windows
    Replies: 4
    Last Post: 21st May 2007, 12:47 PM
  4. Computer clock - time problem
    By speckytecky in forum Hardware
    Replies: 5
    Last Post: 2nd February 2007, 02:23 PM
  5. Lock workstations
    By dezt in forum How do you do....it?
    Replies: 14
    Last Post: 19th October 2006, 08:19 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •