Steven L Umbanch.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
Archived from groups: microsoft.public.win2000.group_policy (More info?)

Can you understand what the problem is here? Is this the
problem on only my win2k pro or yours too?
There are no viruses, coz i tried this on many 2k pro. You
are better. I am Ok with computers, I have read your
replies everywhere. seems you can help me.
Any suggestion?
-Poonam.
MCSE 2k.


Semicolon wont even let me complete command successfully.
gives error and says invalid date specified.
I typed this.
net user user /times:monday-sunday;8am-5pm

and hit enter. It says invalid day range has been
supplied. I changed the ; with a commma and it says
command completed successfully. I type net user user and
it would give all details saying times allowed monday to
sunday, 8 am to 5 pm, ALL FINE. But user will still be
able to log in at 5:05 on system clock. He will be able to
log in and log off til 5:29 PM. Once its 5:31 PM on system
clock, he wont be able to log in.
I am using win 2k pro with SP 4 and machine is updated.
>-----Original Message-----
>On Thu, 1 Jul 2004 12:59:40 -0700, "Poonam Desai"
><anonymous@discussions.microsoft.com> wrote:
>
>>win2k Pro.
>>I want to have user "user" be able to log on locally on
a
>>stand alone PC at home at specified times.
>>monday-Sunday,8am-5😛m
>>
>>I used the net user command this way.
>>net user user /times:monday-sunday,8am-5pm
>>
>>After user logged off at 5, he was still able to log in
at
>>5:5 pm. Why so? I dont have a domain, its a stand alone
>>single machine.

semicolon, not comma

net user user /times:monday-sunday;8am-5pm

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Archived from groups: microsoft.public.win2000.group_policy (More info?)

Here is the official KB link on how to restrict user access based on time.

http://support.microsoft.com/default.aspx?scid=kb;en-us;318714

I have never tested how it works to the exact minute. I doubt you have any virus
if this behavior happens on many computers, but it may just be a peculiarity to
that command. I would try using 08:00am-5:00pm to see if it makes a
fference. --- Steve



"Poonam Desai" <anonymous@discussions.microsoft.com> wrote in message
news:2939901c46472$0a3d37d0$a301280a@phx.gbl...
> Can you understand what the problem is here? Is this the
> problem on only my win2k pro or yours too?
> There are no viruses, coz i tried this on many 2k pro. You
> are better. I am Ok with computers, I have read your
> replies everywhere. seems you can help me.
> Any suggestion?
> -Poonam.
> MCSE 2k.
>
>
> Semicolon wont even let me complete command successfully.
> gives error and says invalid date specified.
> I typed this.
> net user user /times:monday-sunday;8am-5pm
>
> and hit enter. It says invalid day range has been
> supplied. I changed the ; with a commma and it says
> command completed successfully. I type net user user and
> it would give all details saying times allowed monday to
> sunday, 8 am to 5 pm, ALL FINE. But user will still be
> able to log in at 5:05 on system clock. He will be able to
> log in and log off til 5:29 PM. Once its 5:31 PM on system
> clock, he wont be able to log in.
> I am using win 2k pro with SP 4 and machine is updated.
> >-----Original Message-----
> >On Thu, 1 Jul 2004 12:59:40 -0700, "Poonam Desai"
> ><anonymous@discussions.microsoft.com> wrote:
> >
> >>win2k Pro.
> >>I want to have user "user" be able to log on locally on
> a
> >>stand alone PC at home at specified times.
> >>monday-Sunday,8am-5😛m
> >>
> >>I used the net user command this way.
> >>net user user /times:monday-sunday,8am-5pm
> >>
> >>After user logged off at 5, he was still able to log in
> at
> >>5:5 pm. Why so? I dont have a domain, its a stand alone
> >>single machine.
>
> semicolon, not comma
>
> net user user /times:monday-sunday;8am-5pm
>
> Jerold Schulman
> Windows: General MVP
> JSI, Inc.
> http://www.jsiinc.com
>