|
Posted by shocker on July 21, 2007, 4:22 am
Please log in for more thread options Can this accomplish with scripting? I not very familiar with Windows
scripting, but I'm just curious to know if what I want to do is possible on a
local machine.
"Roger Abell [MVP]" wrote:
> > So, specifyig logon hours with net user /time is not applicable?
> >
> net user /time
> controls when an account can log on, it does not kick logged on
> account out
>
> > The user is now restricted from logging on based on the times set in net
> > user, but they are never logged off if they account is already logged on
> > when
> > the time expires.
> >
> The time set in the network security policy you mentioned only
> controls network access and will close off sessions to network
> shares based on the logoff time; it has nothing to do with local
> login sessions.
>
>
> > "Rob (Microsoft)" wrote:
> >
> >> Not without being able to specify logon hours in the account. I believe
> >> that
> >> feature is only in the domain profile.
> >>
> >> "shocker" wrote:
> >>
> >> > I want to force a user to log off when his logon hours expire.
> >> > In the Network Security category (under Group Policy), I enabled the
> >> > Force
> >> > Logoff When Logon Hours Expire policy, but users are never logged off.
> >> >
> >> > I running Windows Server 2003 as a standalone (no domain or AD). the
> >> > server
> >> > is just a rubust workstation, but allow remote users to log in
> >> > simultaneously.
> >> >
> >> > Is it possible to log users off in this case?
>
>
>
|