+ Post New Thread
Results 1 to 12 of 12
How do you do....it? Thread, Automatic logoff in Technical; We are looking for a program to logoff users if network cable is unplugged. We thought some thing a long ...
  1. #1
    subjones's Avatar
    Join Date
    Nov 2009
    Location
    northamptonshire
    Posts
    13
    Thank Post
    3
    Thanked 2 Times in 2 Posts
    Rep Power
    10

    Automatic logoff

    We are looking for a program to logoff users if network cable is unplugged. We thought some thing a long the line of pinging the sever IP if no ping response log of user. We have just started using Lanschool and the little darling unplug the network cables to stop Lanschool working.

  2. #2

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    The thing is, what happens if the switch loses connectivity through a power outage etc - then the user is logged off when innocent and any unsaved work is lost.

  3. #3
    subjones's Avatar
    Join Date
    Nov 2009
    Location
    northamptonshire
    Posts
    13
    Thank Post
    3
    Thanked 2 Times in 2 Posts
    Rep Power
    10
    Thanks we did think of that but with a power outage you lose the room anyway.

  4. #4
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    Quote Originally Posted by Hightower View Post
    The thing is, what happens if the switch loses connectivity through a power outage etc - then the user is logged off when innocent and any unsaved work is lost.
    Setup SNMP on one of the switches then and ping it?

    When would this script/tool run? on login or every X minutes?

    No matter what you choose there will always be issues when it comes to unping-iness (such as switches loosing power... dead servers)

  5. #5
    subjones's Avatar
    Join Date
    Nov 2009
    Location
    northamptonshire
    Posts
    13
    Thank Post
    3
    Thanked 2 Times in 2 Posts
    Rep Power
    10
    The script would ping X minutes and have to run on each work station. The problem we have hit is that with Lanschool if contact is lost with the Teachers console the students are no longer blocked from programs. This is OK if internet is blocked but not if programs or key board locked.

  6. #6

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Quote Originally Posted by subjones View Post
    Thanks we did think of that but with a power outage you lose the room anyway.
    Well, what I meant was what if the circuit the switch is on trips but the circuit the computer room is on doesn't.

    Happens here quite regularly.

  7. #7

    Join Date
    Feb 2006
    Location
    Dorset/Hants
    Posts
    87
    Thank Post
    2
    Thanked 13 Times in 10 Posts
    Rep Power
    20
    Quote Originally Posted by p858snake View Post
    No matter what you choose there will always be issues when it comes to unping-iness (such as switches loosing power... dead servers)
    Rather than using Ping, why not ipconfig and check connection status?

    Or whatever system calls (via WMI ?) are available for such checking.

    tim

  8. Thanks to TimH from:

    subjones (26th March 2010)

  9. #8

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    I suppose a lot of this comes down to classroom management though surely?

  10. Thanks to Hightower from:

    subjones (26th March 2010)

  11. #9
    PaulCoram86's Avatar
    Join Date
    Nov 2009
    Location
    Rushden, Northamptonshire
    Posts
    15
    Thank Post
    6
    Thanked 3 Times in 3 Posts
    Rep Power
    10
    Quote Originally Posted by Hightower View Post
    I suppose a lot of this comes down to classroom management though surely?
    I work along side Mr Jones and classroom management is an uphill struggle here . We've found some software but nothing promising.

    We've had a longer thought about this, and what we think we ideally need is a way of stopping the kids unplugging the network cables. I've had a look to see if there's a protective cage for the wall plate (if it exists?) to stop them unplugging the network cables.

    Does anyone know if this is possible.

  12. #10
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    Quote Originally Posted by PaulCoram86 View Post
    We've had a longer thought about this, and what we think we ideally need is a way of stopping the kids unplugging the network cables. I've had a look to see if there's a protective cage for the wall plate (if it exists?) to stop them unplugging the network cables.
    Although that wouldn't stop them unplugging unplugging at the back of the machine.

    I know that clipsal used to sell what you were looking for which suited their range of fittings but they no longer seem to sell it and only have its big brother the 255 which is designed more for powerpoints.

  13. Thanks to p858snake from:

    PaulCoram86 (26th March 2010)

  14. #11
    subjones's Avatar
    Join Date
    Nov 2009
    Location
    northamptonshire
    Posts
    13
    Thank Post
    3
    Thanked 2 Times in 2 Posts
    Rep Power
    10
    Thanks TimH my thoughts were moving along similar lines. I suppose my college and myself will have to put on our thinking cap and do a bit of VB work. Hoped that some one had solved the problem already. We have plenty to do this is just one more to add to the pile. Class management might seem the answer but with 33 kids to watch a teacher cannot be everywhere.

  15. #12

    Join Date
    Feb 2006
    Location
    Dorset/Hants
    Posts
    87
    Thank Post
    2
    Thanked 13 Times in 10 Posts
    Rep Power
    20
    Quote Originally Posted by subjones View Post
    Thanks TimH my thoughts were moving along similar lines. I suppose my college and myself will have to put on our thinking cap and do a bit of VB work.
    (Is posting code snippets frowned upon ?)

    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer)
    Set colItems = objWMIService.InstancesOf("Win32_NetworkAdapter")
    For Each objItem in colItems
    Wscript.Echo objItem.Description
    Wscript.Echo objItem.NetConnectionStatus
    Next

    NetConnectionStatus described here;

    Win32_NetworkAdapter Class (Windows)

    Workarounds needed for Windows older than XP.

    tim

  16. Thanks to TimH from:

    subjones (26th March 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. Logoff Method?
    By dave.81 in forum Windows 7
    Replies: 8
    Last Post: 5th March 2010, 01:23 PM
  2. Forcing a shutdown at logoff?
    By flexyjerkov in forum Windows
    Replies: 5
    Last Post: 16th December 2009, 08:20 AM
  3. Replies: 4
    Last Post: 22nd September 2009, 12:15 PM
  4. automatic Logon/logoff after update
    By TechSupp in forum Windows
    Replies: 1
    Last Post: 20th May 2009, 01:25 PM
  5. Delete Profile on LogOff
    By roland in forum How do you do....it?
    Replies: 11
    Last Post: 20th September 2007, 09:43 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
  •