+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 57
Network and Classroom Management Thread, Solution to stop people disconnecting network cables (Testers wanted please) in Technical; Originally Posted by FN-GM Problem found. As i said before. If i disconnect during logon it will lock the machine. ...
  1. #31

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,700
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by FN-GM View Post
    Problem found.

    As i said before. If i disconnect during logon it will lock the machine. But once i reconnect it auto unlocks. Then the user has full access to a machine without any group policies.

    Also when i log off i get the attached

    Also when i right click the icon in the system tray there are no options the menu is empty


    The GPOs I couldn't think of a way to do it yet, Don't have any GPOs on this machine to test for the errors :P Don't suppose you have any logs from the GPO not applying due to disconnection?

    The icon system tray part, the "empty" is the white login box :P Click on it.

    And logoff part, Will take a look.

    Many thanks,
    Steve

  2. #32
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    you could force a group policy refresh when the cable is plugged back in,

    BOOL RefreshPolicyEx(
    __in BOOL bMachine,
    __in DWORD dwOptions
    );

    might have to roll your interop
    Last edited by oxide54; 17th April 2011 at 12:39 PM.

  3. Thanks to oxide54 from:

    Steve21 (17th April 2011)

  4. #33

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,058
    Thank Post
    888
    Thanked 1,731 Times in 1,494 Posts
    Blog Entries
    12
    Rep Power
    454
    The GPOs I couldn't think of a way to do it yet, Don't have any GPOs on this machine to test for the errors :P Don't suppose you have any logs from the GPO not applying due to disconnection?
    I will have a look.

    The icon system tray part, the "empty" is the white login box :P Click on it.

  5. #34

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,700
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by oxide54 View Post
    you could force a group policy refresh when the cable is plugged back in,
    But wouldn't a gpupdate /force, cause a restart to apply the computer GPOS "even" if it had them applied?

    Steve

  6. #35
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    no don't call the gpupdate.exe (it only reboots if you say yes btw)

    call the API call RefreshPolicyEx

    Userenv.dll

  7. Thanks to oxide54 from:

    Steve21 (17th April 2011)

  8. #36

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,058
    Thank Post
    888
    Thanked 1,731 Times in 1,494 Posts
    Blog Entries
    12
    Rep Power
    454
    run without the force switch it shouldnt need a reboot.

    If you go into the admin area. Then unselect Show NotifyIcon, how do you get back in?

    I get these errors when i unplug the cable
    Attached Images Attached Images
    Last edited by FN-GM; 17th April 2011 at 01:02 PM.

  9. Thanks to FN-GM from:

    Steve21 (17th April 2011)

  10. #37

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,700
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by FN-GM View Post
    If you go into the admin area. Then unselect Show NotifyIcon, how do you get back in?
    The short answer is you don't :P The idea was once an admin has config'd the program (on their computer), they can just send out the exe and it'll run as a student version (aka no access).
    If there were any major changes aka passwords, it'd be changed on every computer so would be easier to resend exe out than manually do it. But guess if you wanted, could set a way to reaccess it?

    This version: EduLockv4.zip
    should fix the logoff problem. I had a function that doesn't allow the program to be closed (aka by a student), but forgot to allow windows to close it

    Will take a look at the GPO side now,

    Thanks all!
    Steve

  11. #38

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,058
    Thank Post
    888
    Thanked 1,731 Times in 1,494 Posts
    Blog Entries
    12
    Rep Power
    454
    Something that would be really nice, to control the program with group policy

  12. Thanks to FN-GM from:

    Steve21 (17th April 2011)

  13. #39

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,700
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by FN-GM View Post
    Something that would be really nice, to control the program with group policy
    That's a cool idea. I guess the only issue (assuming you were referring to the showing of Icon etc), Is if it's defaulted to show, when GPO don't apply they'll see it. If it's default Off, without GPOs you couldn't even config the program for testing etc :P

    Will have to take a look once I fix the GPO not applying part (Although I guess I could cheat, and if EduLockGPO isn't applied, that can be the clause to force update policies? hmmmmmm!)

    Steve

  14. #40

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,058
    Thank Post
    888
    Thanked 1,731 Times in 1,494 Posts
    Blog Entries
    12
    Rep Power
    454
    If its a computer GPO is should be cached.

  15. Thanks to FN-GM from:

    Steve21 (17th April 2011)

  16. #41

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,700
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by FN-GM View Post
    If its a computer GPO is should be cached.
    Ah.

    Would you mind trying this version when you got a few minutes: EduLockv5.zip

    Should force update GPO at unlock. Not sure how fast it'll update them though, (Would help if I had some GPOs here to test lol)

    It's set to do computer and user, shouldn't cause any issues, but we'll see

    Thanks again

    Steve

  17. #42

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,994
    Thank Post
    352
    Thanked 1,301 Times in 891 Posts
    Blog Entries
    4
    Rep Power
    1131
    I would like to trial this, and I really would like to adopt it when all of the wrinkles have been ironed out, but I don't think my network is a good candidate for testing.

    However can I suggest a feature that does not seem to have been covered yet:

    I would like to see the station automatically send an E-Mail to a nominated address [admin@school.county.sch.uk?] when connectivity is re-established stating the username logged on when connectivity was lost, when connectivity was lost and when it was re-established.

    In that way we could try to see a trend for users who try this technique to get around network security.

    This would be very helpful where I work.

    Thanks.

  18. Thanks to DaveP from:

    Steve21 (17th April 2011)

  19. #43

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,700
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by DaveP View Post
    I would like to trial this, and I really would like to adopt it when all of the wrinkles have been ironed out, but I don't think my network is a good candidate for testing.

    However can I suggest a feature that does not seem to have been covered yet:

    I would like to see the station automatically send an E-Mail to a nominated address [admin@school.county.sch.uk?] when connectivity is re-established stating the username logged on when connectivity was lost, when connectivity was lost and when it was re-established.

    In that way we could try to see a trend for users who try this technique to get around network security.

    This would be very helpful where I work.

    Thanks.
    Hey,

    Great to hear, and can certainly look at writing that into it. Or at least so it logs, and uploads it once it reconnects (Depending how fussy it is on sending mail, without inputting all my details etc :P)

    In terms of testing it, it's pretty much testable on a standalone computer. (At least how I'm doing it currently ) Aslong as its got a .NET framework. So any 5minutes playing with it, to iron out bugs would be great :P (For some silly reason can't update first page, but a lot more info on rest of these posts)

    Will get to work on email side too :P Main problem being I can't really use smtp servers, else every copy needs a login. And without access kinda makes it iffy lol

    Thanks Steve
    Last edited by Steve21; 17th April 2011 at 05:15 PM.

  20. #44
    Jamman960's Avatar
    Join Date
    Sep 2007
    Location
    London/Kent
    Posts
    992
    Thank Post
    186
    Thanked 197 Times in 157 Posts
    Rep Power
    47
    Just tested it on windows 7 & wireless - it appears to work as it should, I switched the wireless of via the hardware switch and the message cut in within seconds and dissapeared as soon as the wireles was switched back on

    Will experiment further once I return from annual leave, looking very good so far

    James

  21. Thanks to Jamman960 from:

    Steve21 (17th April 2011)

  22. #45

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,700
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by Jamman960 View Post
    Just tested it on windows 7 & wireless - it appears to work as it should, I switched the wireless of via the hardware switch and the message cut in within seconds and dissapeared as soon as the wireles was switched back on

    Will experiment further once I return from annual leave, looking very good so far

    James
    Awesome thanks, Out of curiosity did you use the copy on front page, or one few posts up? For some reason it won't let me edit first post, so can't update it.

    Steve

SHARE:
+ Post New Thread
Page 3 of 4 FirstFirst 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
  •