NT4 commands

Pagina: 1
Acties:

  • Mamphiz
  • Registratie: Maart 2001
  • Laatst online: 18-06 21:03
He mensen,

ik moet een nt4 server script maken om gebruikers toe te voegen. Ik heb verschillende regels geprobeerd maar krijgt telkens dezelfde fout:

An illigal time range has been suplied.

Dan kan ik kijken wat de fout is: net helpmsg 3769 en daar staat in dat ik mijn /times commando niet goed gebruik! Maar als ik in de help van nt commands kijk, staat het dat ik WEL het goede commando gebruik!

Dit is mijn commando:

net user JosF /add /domain /time:M-F,07:00-21:00

ik heb zelfs een voorbeeld van de help nt commands proberen uit te voeren, maar dat wil ook niet!

Heb echt alles doorgelezen (zelfs mijn schoolboeken ;)) en het forum hier doorzocht maar niks gevonden...

kan iemand mij helpen?

Groeten Sander

  • Mamphiz
  • Registratie: Maart 2001
  • Laatst online: 18-06 21:03
Oplossing gevonden

"NET USER /TIMES" Command Does Not Work in Year 2000
The information in this article applies to:
Microsoft Windows NT Server 4.0 Terminal Server Edition
Microsoft Windows NT Workstation 3.51
Microsoft Windows NT Workstation 4.0
Microsoft Windows NT Server 3.51
Microsoft Windows NT Server 4.0
Microsoft Windows NT Server, Enterprise Edition 4.0

This article was previously published under Q240195
SYMPTOMS
In the year 2000, the /times switch does not work correctly with the net user command. Any day and time range yields one of the following error messages:

An illegal day range has been supplied.
More help is available by typing NET HELPMSG 3768.
An illegal time range has been supplied.
More help is available by typing NET HELPMSG 3769.
CAUSE
The time interval for the /times parameter is passed in local time. However, the information about logon hours in the account database is stored in Universal Time Coordinate (UTC) time format. Therefore, Net.exe must take the current date into account for the daylight savings offset. The current algorithm does not handle the year 2000 (or later) correctly.
RESOLUTION
Windows NT 4.0
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:

http://www.microsoft.com/windows/servicepacks/ -or-


152734 how to obtain the latest windows nt 4.0 service pack
For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web: