+ Post New Thread
Results 1 to 7 of 7
Windows 7 Thread, Automating a log in in Technical; Hi, We have a SEN child in our school which has a laptop that we want to choose when he ...
  1. #1

    Join Date
    Nov 2011
    Location
    Plymouth
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Automating a log in

    Hi,

    We have a SEN child in our school which has a laptop that we want to choose when he uses it but not physically have to stop him. I have created a script that the teacher runs that shuts the computer he is on down. But then as there is no password on the pupils accounts, he can just wait and log back in. Obviously putting a password on the account would solve this but he is very smart and will watch it and eventually get it.

    My ideal situation is to have a password on his account, one that is only in the script (no one nows it) that automates a log on with a script from a remote computer then use the current remote log off/shutdown script we have to end his time on the computer.

    I have a command line app called 'Logon.exe' which is supposed to do the job but it appears that it doesnt work for andything newer than Vista (we use 7) Is there such a script or another way you thing this can realistically work?

    Thanks,

    Paul.

  2. #2


    Join Date
    Jan 2012
    Posts
    2,491
    Thank Post
    891
    Thanked 336 Times in 257 Posts
    Rep Power
    190
    Surely this is a classroom management issue, not a technical issue?

    Lock the laptop in a cupboard when he's not supposed to be using it? Presumably if he's an SEN child he'll have a TA with him? Give them the key?

    If you absolutely, positively need a script, an AD script that disables/enables the account should do the trick. The kid can find out the password all he likes - if the account's disabled, he can't log in (depending on if you can embed and encrypt credentials, the shutdown script could also work as the disabler, but you've got security to consider there). I'd have no clue about writing said script, but I hear a lot of AD can be automated via PowerShell. Might be a good place to start.
    Last edited by Garacesh; 2nd October 2013 at 04:00 PM.

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,773
    Thank Post
    865
    Thanked 1,663 Times in 1,448 Posts
    Blog Entries
    11
    Rep Power
    442
    Do you use something like LanSchool or Netsupport? Maybe you could use that to do the job?

  4. #4

    Join Date
    Nov 2011
    Location
    Plymouth
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Garacesh View Post
    Surely this is a classroom management issue, not a technical issue?

    Lock the laptop in a cupboard when he's not supposed to be using it? Presumably if he's an SEN child he'll have a TA with him? Give them the key?

    If you absolutely, positively need a script, an AD script that disables/enables the account should do the trick. The kid can find out the password all he likes - if the account's disabled, he can't log in (depending on if you can embed and encrypt credentials, the shutdown script could also work as the disabler, but you've got security to consider there). I'd have no clue about writing said script, but I hear a lot of AD can be automated via PowerShell. Might be a good place to start.

    I don't know why I didn't think of that myself!

    Thanks Garacesh!

  5. #5
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    413
    Thank Post
    43
    Thanked 66 Times in 61 Posts
    Rep Power
    18
    Quote Originally Posted by rrafluap View Post
    I don't know why I didn't think of that myself!

    Thanks Garacesh!
    Its 3 lines in vbs. Let me know if you want the code.

  6. #6
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    413
    Thank Post
    43
    Thanked 66 Times in 61 Posts
    Rep Power
    18
    Forgot to mention Impero could handle this... It allows a remote login/log off OR you could just block the student (will lock his screen) and remove the block as needed.

  7. #7

    Join Date
    Mar 2007
    Posts
    1,748
    Thank Post
    79
    Thanked 288 Times in 219 Posts
    Rep Power
    70
    Rohos Featured product
    rohos. It auto logs on when the usb key is put in, give the key to the TA and when he isn't to use the laptop key comes and laptop gets lock automagically.

SHARE:
+ Post New Thread

Similar Threads

  1. Prevent 'Log-in via dial up connection'
    By adamyoung in forum Windows
    Replies: 17
    Last Post: 12th October 2010, 04:02 PM
  2. Log in screen upside down?
    By alexknight in forum How do you do....it?
    Replies: 16
    Last Post: 27th February 2007, 04:14 PM
  3. Slow log in on XP workstations
    By markesmith in forum Wireless Networks
    Replies: 39
    Last Post: 29th September 2006, 07:23 AM
  4. Want software to show me whos currently logged in.
    By MrLudwig in forum Wireless Networks
    Replies: 20
    Last Post: 9th September 2006, 11:09 PM
  5. Replies: 20
    Last Post: 30th March 2006, 02:25 PM

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
  •