Enforce user logoff when time restrictions apply

Page 1 of 2 12 LastLast

  1. Posts : 44
    Windows 7 Ultimate SP1 x64
       #1

    Enforce user logoff when time restrictions apply


    Hi..

    Due to an ongoing issue with Windows Live Family Safety time limits not working (for many people), I have been using the net user command to set time restrictions for my kids to logon. It works really well except that it doesn't log them off automatically or even prompt them to logoff when their time restrictions come into effect.

    Does anyone know if this is possible to do and if it is, how to do it please?

    Thanks.
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Are they using Windows 7 Pro or higher? If so, then we can look around for a Group Policy solution. Or maybe just a scheduled task using the shutdown -l command.
      My Computer


  3. Posts : 44
    Windows 7 Ultimate SP1 x64
    Thread Starter
       #3

    Thanks for the reply.

    It's Windows 7 Ultimate.

    I found a gp setting for:
    Microsoft network server: Disconnect clients when logon hours expire

    It was already enabled (default).

    Not sure where else to look.

    When the Windows Live Family Safety time limits were working, users would get a popup telling them they would be logged off in x amount of minutes and to save any work before logging users off. If I could get something similar through a built-in control/command that would be excellent.

    I'll look into the scheduled task suggestion but as I set various logon/logoff times depending on whether it's a school day, weekend etc, it may get a little complicated.
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    Bummer, I did not know that the log off switch for the shutdown program does not accept a time delay switch. Now that I've tested, I would suggest just restarting the computer via a scheduled task using the shutdown command with a delay in a batch file:
    Code:
    shutdown /r /t 600
    The current user should see this:
    Enforce user logoff when time restrictions apply-restart-delay.png
    (without the command prompt window)

    This does nothing to prevent the child from cancelling the shutdown (shutdown /a) or from waiting until the computer has restarted and then logging back on again. If you find that they are not following your wishes, then post back and we can take more draconian steps.
      My Computer


  5. Posts : 4,566
    Windows 10 Pro
       #5

    I would like to know why windows live family safety stopped working. What have you tried to fix it?
      My Computer


  6. Posts : 44
    Windows 7 Ultimate SP1 x64
    Thread Starter
       #6

    andrew129260 said:
    I would like to know why windows live family safety stopped working. What have you tried to fix it?
    I've no idea why the time limits feature is no longer working but it's an issue affecting many people.

    MS have acknowledged the problem and have been working on it for a number of months but they haven't provided any indication of when it will be resolved.

    I've tried reinstalling the the Family Safety filter and on one computer where it is installed, I've even performed a fresh installation of Windows 7 but it didn't fix the problem.

    Some users are not affected so it's frustrating for those who are having the problems.
      My Computer


  7. Posts : 44
    Windows 7 Ultimate SP1 x64
    Thread Starter
       #7

    UsernameIssues said:
    Bummer, I did not know that the log off switch for the shutdown program does not accept a time delay switch. Now that I've tested, I would suggest just restarting the computer via a scheduled task using the shutdown command with a delay in a batch file:
    Code:
    shutdown /r /t 600
    The current user should see this:
    Enforce user logoff when time restrictions apply-restart-delay.png
    (without the command prompt window)

    This does nothing to prevent the child from cancelling the shutdown (shutdown /a) or from waiting until the computer has restarted and then logging back on again. If you find that they are not following your wishes, then post back and we can take more draconian steps.
    Thanks for the suggestion.

    It's a shame the /l switch doesn't support time as that would go a long way to resolve things. I may try your suggestion along with a batch file but I've a feeling it could get a little complicated with different times for different days.
      My Computer


  8. Posts : 10,485
    W7 Pro SP1 64bit
       #8

    You would only need one batch file and two scheduled tasks (school night and weekend):

    Enforce user logoff when time restrictions apply-st.png
      My Computer


  9. Posts : 4,566
    Windows 10 Pro
       #9

    Sometimes security software can hamper windows from working correctly. What security software do you use?
      My Computer


  10. Posts : 44
    Windows 7 Ultimate SP1 x64
    Thread Starter
       #10

    andrew129260 said:
    Sometimes security software can hamper windows from working correctly. What security software do you use?
    ESET Smart Security
    Malwarebytes Anti-Malware (run on demand)

    Have tried Safe Mode with Networking to see if the Family Safety time limits work then but unfortunately, they don't.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:14.
Find Us