+ Post New Thread
Page 1 of 4 1234 LastLast
Results 1 to 15 of 57
Network and Classroom Management Thread, Solution to stop people disconnecting network cables (Testers wanted please) in Technical; Note: This is in test currently, Not for live deployment! Hey, As from the amount of posts in the scripts ...
  1. #1

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,697
    Thank Post
    335
    Thanked 515 Times in 483 Posts
    Rep Power
    179

    Solution to stop people disconnecting network cables (Testers wanted please)

    Note: This is in test currently, Not for live deployment!

    Hey,

    As from the amount of posts in the scripts forum about getting help with disabling a computer once someone disconnects the network cable, I decided to go about writing a little free program designed to easily do this.

    The main idea of the program being able to totally lock the student out of the computer while it's disconnected from the network. Thus stopping any issues with GPOs not applying, games not being blocked, etc etc.

    Hopefully few people wouldn't mind testing it for any holes/bugs, I might have missed

    How's it look:

    The program "should" run unseeable during normal use, and like this during lock (aka disconnected network):

    edulock.jpg

    Program Exe:

    EduLockv2.zip

    Features:
    • Locks the computer screen on a disconnection from network.
    • Relocks the screen if a teacher unlocks the program while it's still disconnected from network.
    • Checks the network connection on program load, so even if it's already disconnected it will lock.
    • Unlockable through simple password on lock screen.
    • Records time of lock.
    • Records attempted bypasses, and password entries. (In debug only currently)


    Status:
    • Windows XP: FN-GM Tested (Didn't work, but think it's due to not having .NET framwork installed)
    • Windows Vista: Tested (But would like more tests if possible)
    • Windows 7: FN-GM Tested (But would like more tests if possible_


    • Wireless: Not Tested
    • Wired: Tested (But would like more tests if possible)



    Known Issues:
    • If you have any secondary network connections, e.g. hamachi it still classifies this as a network connection, so won't lock. As "officially" you're not disconnected :P (Trying to fix this, but I assume most school computers don't use multiple connections anyway, at least not that I've worked with) (If you're not getting locked, good idea to check this, and disable 2nd connection while testing program)
    • Bypass attempts don't update during graphics update (but looking to sort this)
    • Very dark/hard to see colours. Due to it being totally random in choosing colours currently, it will sometimes pick stupid colours. This will be sorted shortly!


    FAQ:
    Q: What can disable this?
    A: Obviously items like taskmanager, and/or WMI scripts "can" kill the program, but this shouldn't be available to students anyway.

    Q: Red Buttons on program?
    A: Aren't shown in proper release, just there for debugging. Kill switch (Incase i/you break something major and can't get out :P) and Force Redraw just for testing.

    Q: What's the password?!?!?!?!?
    A: test


    Any and all testing on it would be appreciated, Would be nice to get a final live version up and sorted :P If you have ANY suggestions, feedback etc would all be greatly welcomed.

    (Also I've only tested this on a computer with Visual Studios on, so would be nice to know if it requests any installs to work)

    Many thanks,
    Steve


    Change log:
    v2 - Added secondary admin login, and enabled auto-unlock
    v1 - Original
    Last edited by Steve21; 16th April 2011 at 05:23 PM.

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,023
    Thank Post
    887
    Thanked 1,720 Times in 1,486 Posts
    Blog Entries
    12
    Rep Power
    452
    On Windows XP the program wont run at all i get the attached.

    Tested on Windows 7 32 bit seems ok.

    The fact it locks itself very soon after you have put the password in is a little annoying because if there is another problem like the wireless disconnecting it cant be fixed. If that can be stopped?

    Also would be good if the screen unlocked itself after the cable has been reconnected.

    Also how do you recommend the program is run from?

    One other comment i would say is improve the UI.

    Thanks
    Attached Images Attached Images
    Last edited by FN-GM; 16th April 2011 at 04:52 PM.

  3. Thanks to FN-GM from:

    Steve21 (16th April 2011)

  4. #3

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,697
    Thank Post
    335
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Quote Originally Posted by FN-GM View Post
    On Windows XP the program wont run at all i get the attached.

    Tested on Windows 7 32 bit seems ok.

    The fact it locks itself very soon after you have put the password in is a little annoying. If that can be stopped?

    Thanks
    Err, That was sort of supposed to be like that :P It relocks itself if a teacher unlocks it while network cable isn't plugged in. aka so they need to put cable in before it unlocks

    Or do you mean with it plugged in?


    Edit - NM saw your edit :P
    Steve

  5. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,023
    Thank Post
    887
    Thanked 1,720 Times in 1,486 Posts
    Blog Entries
    12
    Rep Power
    452
    I have made some edits to the above post.

  6. Thanks to FN-GM from:

    Steve21 (16th April 2011)

  7. #5

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,697
    Thank Post
    335
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Quote Originally Posted by FN-GM View Post
    On Windows XP the program wont run at all i get the attached.
    Do you have the .NET framework installed on that pc? (That error usually means you don't)

    Tested on Windows 7 32 bit seems ok.
    Good to know, Thanks

    The fact it locks itself very soon after you have put the password in is a little annoying because if there is another problem like the wireless disconnecting it cant be fined. If that can be stopped?
    Certainly can do, Two options I guess, make it longer but then how long is the issue, or simply don't relock it. But then random teachers who just type password in without checking cable, will allow access to games etc :P

    Also would be good if the screen unlocked after the cable has been reconnected.
    Could put it in as an option, as a few said in the scripts forum they wanted it locked until someone opens it :P

    Also how do you recommend the program is run from?
    As in? :P I'm assuming easiest way is copying it over to the computers, and doing it as a startup. Bearing in mind if they disconnect network it wouldn't be able to pull it from the servers etc.

    One other comment i would say is improve the UI.
    Aye, Only set for debugging currently :P Guess it needs an adminy side UI. What else would you like on it? Just config settings or?

    Out of curiosity, did you try on wireless or wired?

    Thanks Steve
    Last edited by Steve21; 16th April 2011 at 04:55 PM.

  8. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,023
    Thank Post
    887
    Thanked 1,720 Times in 1,486 Posts
    Blog Entries
    12
    Rep Power
    452
    Certainly can do, Two options I guess, make it longer but then how long is the issue, or simply don't relock it. But then random teachers who just type password in without checking cable, will allow access to games etc :P
    Personally i wouldn't give teachers the password. If it automatically unlocks the screen after the cable is connected again there is no need for them to have it.

    I tried in a virtual machine.
    Last edited by FN-GM; 16th April 2011 at 05:01 PM.

  9. Thanks to FN-GM from:

    Steve21 (16th April 2011)

  10. #7

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,671
    Thank Post
    860
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    What about 2 types of passwords:

    an admin password that disables the program
    a teacher password that temporarily disables and re-locks if the network cable is still disconnected after say 5 mins

    Will test it out next week

  11. Thanks to Gatt from:

    Steve21 (16th April 2011)

  12. #8

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,697
    Thank Post
    335
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Aye both great ideas :P If in config there's 2 settings. One requires password on every unlock, then teacher has one, admin has one.

    Other option has auto unlock, and then an admin override.

    Many thanks,
    Steve

  13. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,023
    Thank Post
    887
    Thanked 1,720 Times in 1,486 Posts
    Blog Entries
    12
    Rep Power
    452
    if you you have the auto unlock, if a student unplugs the cable during logon. Onces its done the screen will lock. If you have the auto unlock on they could then just connect back up and get access to the full machine. If you did a auto gpupdate once the cable is back in it should stop that.

  14. Thanks to FN-GM from:

    Steve21 (16th April 2011)

  15. #10

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,671
    Thank Post
    860
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    @FN-GM an auto-reboot would be better as it might not have applied any computer policies...

  16. Thanks to Gatt from:

    Steve21 (16th April 2011)

  17. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,023
    Thank Post
    887
    Thanked 1,720 Times in 1,486 Posts
    Blog Entries
    12
    Rep Power
    452
    @Gatt You would have to get the app to somehow know that the group polices have not been applied. Not sure if that can be done

  18. Thanks to FN-GM from:

    Steve21 (16th April 2011)

  19. #12
    cpjitservices's Avatar
    Join Date
    Jul 2010
    Location
    Hessle
    Posts
    2,490
    Thank Post
    517
    Thanked 290 Times in 266 Posts
    Rep Power
    82
    Could of done with this when I was running an old CC2 network, some of the kids figured out that if the cable was pulled during logon it wouldn't pull down any scripts/GP Settings so they'd get a bit more freedom on the machines, I'm going to test this next week on VM.

  20. Thanks to cpjitservices from:

    Steve21 (16th April 2011)

  21. #13

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,671
    Thank Post
    860
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    Doesn't it generate an event log if it cannot run a GPO

  22. Thanks to Gatt from:

    Steve21 (16th April 2011)

  23. #14

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,023
    Thank Post
    887
    Thanked 1,720 Times in 1,486 Posts
    Blog Entries
    12
    Rep Power
    452
    @Gatt I'm not sure to be honest. I will mess about later on and see.

  24. Thanks to FN-GM from:

    Steve21 (16th April 2011)

  25. #15

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,697
    Thank Post
    335
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Ok,

    Added a second password login, So if an admin logs in (currently test2) it'll unlock the computer, and disable the relock timer.

    Also added auto-unlock on putting the cable back in. However as discussed above, this could cause issues with GPOs, so will need to look into this, or just don't allow auto unlock

    New version should be up in a minute :P

    Also FN-GM what bit of UI were you referring to? Know its pretty basic currently, but not sure what bit you actually mean :P Is it admin side? whole thing? or what

    Steve

SHARE:
+ Post New Thread
Page 1 of 4 1234 LastLast

Similar Threads

  1. how to stop students pulling out network cables before policy loads
    By ict_support in forum Network and Classroom Management
    Replies: 10
    Last Post: 22nd April 2010, 04:31 PM
  2. Beta Testers Wanted
    By russdev in forum General Chat
    Replies: 12
    Last Post: 7th May 2008, 08:10 PM
  3. Beta Testers Wanted
    By ICTNUT in forum Group Project
    Replies: 6
    Last Post: 18th February 2007, 09:16 PM
  4. BETA Testers Wanted
    By russdev in forum General EduGeek News/Announcements
    Replies: 2
    Last Post: 7th April 2006, 09:46 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
  •