Steven L Umbanch.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Poonam Desai (anonymous_at_discussions.microsoft.com)
Date: 07/07/04


Date: Wed, 7 Jul 2004 15:30:43 -0700

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:pm
>>
>>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