Re: setting logon time limits
From: Bryce (bryceATmiltonDOTcom)
Date: 05/24/02
- Next message: Debra Earle: "Re: Joke Program"
- Previous message: Jeff Nye: "802.1x in windowsXP"
- In reply to: Rob: "Re: setting logon time limits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Bryce" <bryceATmiltonDOTcom> Date: Fri, 24 May 2002 14:43:25 -0700
Hmm, the web page indicated that the ability to logout the user isn't
built in (which you've now worked around successfully), but I got the
impression that specifying valid\invalid logon hours was functional in a
standalone machine... Did you try the page's instructions and issue the
commands to set valid logon hours for your children's accounts? That should
prevent them from simply logging back in when it's not their turn. If it
doesn't work, you could modify your scheduled task to also do the following:
SHUTDOWN -l -f -t 30
NET USER %intransigent_offspring#1's_account_name% /active:no
NET USER %intransigent_offspring#2's_account_name% /active:yes
The /active:no switch disables a logon and /active:yes enables it. So in
the end, you'd have two or more CMD files scheduled to run in the evenings:
The first would logoff kid1, disable his\her account, and enable kid2's
account. And the second CMD file would do the opposite resulting in
domestic harmony until they start squabbling over whose turn it is to play
with the XBox ;-)
-Bryce
"Rob" <rpayne1@cogeco.ca> wrote in message
news:OPjmO$0ACHA.992@tkmsftngp02...
> Wonderful Brice that works like a charm. This will save any argument. as
> ling as they don't figure out that they can just log back in. Thanks a lot
> Bryce you are a god send.
> Rob
>
> "Bryce" <bryceATmiltonDOTcom> wrote in message
> news:#dn2EFvACHA.2196@tkmsftngp04...
> > Since shutdown is in the path, you should be able to paste that
> command
> > directly into the Task Scheduler wizard. You could also paste it into
> > notepad and save as a .BAT or CMD file.
> >
> > -Bryce
- Next message: Debra Earle: "Re: Joke Program"
- Previous message: Jeff Nye: "802.1x in windowsXP"
- In reply to: Rob: "Re: setting logon time limits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|