Err Msg: An Illegal Date Format Has Been Supplied Using NET USER
PSS ID Number: 134341
Article Last Modified on 12/16/2003
The information in this article applies to:
- Microsoft Windows NT Server 3.1
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Workstation 3.1
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Advanced Server 3.1
This article was previously published under Q134341
SYMPTOMS
When you specify the expiration date for a user name by typing the command
"NET USER <USERNAME> <PASSWORD> /EXPIRES:MM,DD,YY" (without the quotation
marks) at the MS-DOS Command Prompt, the following error message appears:
An illegal date format has been supplied.
WORKAROUND
To work around this problem, use the forward slash (/) as a separator for
the date instead of the comma (,).
STATUS
Microsoft has confirmed this to be a problem in Windows NT versions 3.1,
3.5, and 3.51. We are researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: prodnt 3.10 helpmsg 3767
Keywords: KB134341
Technology: kbWinNT310Search kbWinNT350search kbWinNT351search kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS310 kbWinNTS310search kbWinNTS350 kbWinNTS350search kbWinNTS351 kbWinNTS351search kbWinNTsearch kbWinNTSsearch kbWinNTW310 kbWinNTW310Search kbWinNTW350 kbWinNTW350search kbWinNTW351 kbWinNTW351search kbWinNTWsearch