Viewing: Q240195.txt

DOCUMENT:Q240195
TITLE   :"NET USER /TIMES" Command Does Not Work in Year 2000
PRODUCT :Windows NT; TSE
PROD/VER:3.51, 4.0
OPER/SYS:WINDOWS NT

-------------------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Windows NT Workstation versions 3.51, 4.0 
 - Microsoft Windows NT Server versions 3.51, 4.0 
 - Microsoft Windows NT Server, Enterprise Edition version 4.0 
 - Microsoft Windows NT Server version 4.0, Terminal Server Edition 
-------------------------------------------------------------------------------

SYMPTOMS
========

In the year 2000, the /times switch does not work correctly with the net user
command. Any day and time range yields the following error message:

   An illegal day range has been supplied.

   More help is available by typing NET HELPMSG 3768.

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

A supported software update that corrects this problem is now available from
Microsoft, but it has not been fully regression tested and should be applied
only to systems experiencing this specific problem. If you are not severely
affected by this specific problem, Microsoft recommends that you wait for the
next Windows NT 4.0 service pack that contains this software update.

To resolve this problem immediately, contact Microsoft Product Support Services
to obtain the software update. 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:

   http://www.microsoft.com/support/supportnet/overview/overview.asp

The English version of this software update should have the following file
attributes or later:

   Date       Time     Size        File name      Platform
   -------------------------------------------------------
   08/25/99  09:11p  142,096       net1.exe       x86
   08/25/99  09:09p  235,792       net1.exe       Alpha

If you are running Windows NT 4.0 Service Pack 5:

This software update has been posted to the following Internet location as
Netfixi.exe (x86) and Netfixa.exe (Alpha):

   ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/NT40/
   hotfixes-postSP5/Y2K/Times-fix/

If you are running Windows NT 4.0 Service Pack 4:

This software update has been posted to the following Internet location as
Netfixi.exe (x86) and Netfixa.exe (Alpha):

   ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/NT40/
   hotfixes-postSP4/Y2K/Times-fix/

If you are running Windows NT 4.0 Service Pack 3:

This software update has been posted to the following Internet location as
Netfixi.exe (x86) and Netfixa.exe (Alpha):

   ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/NT40/
   hotfixes-postSP3/Y2K/Times-fix/

To determine if a localized version of this software update is available, change
"USA" in the URL above to the appropriate localized abbreviation. Click here
(ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/readme.txt) for a list
of these abbreviations.

WINDOWS NT SERVER 4.0, TERMINAL SERVER EDITION

A supported software update that corrects this problem is now available from
Microsoft, but it has not been fully regression tested and should be applied
only to systems experiencing this specific problem. If you are not severely
affected by this specific problem, Microsoft recommends that you wait for the
next Windows NT Server 4.0, Terminal Server Edition service pack that contains
this software update.

To resolve this problem immediately, contact Microsoft Product Support Services
to obtain the software update. 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:

   http://www.microsoft.com/support/supportnet/overview/overview.asp

The English version of this software update should have the following file
attributes or later:

   Date       Time     Size        File name      Platform
   -------------------------------------------------------
   08/25/99  09:11p  142,096       net1.exe       x86
   08/25/99  09:09p  235,792       net1.exe       Alpha

This software update has been posted to the following Internet location as
Netfixi.exe (x86) and Netfixa.exe (Alpha):

   ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/NT40tse/
   hotfixes-postSP4/Y2K/Times-fix/

To determine if a localized version of this software update is available, change
"USA" in the URL above to the appropriate localized abbreviation. Click here
(ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/readme.txt) for a list
of these abbreviations.

WINDOWS NT 3.51

A supported software update that corrects this problem is now available from
Microsoft, but it has not been fully regression tested and should be applied
only to systems experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the
fix. 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:

   http://www.microsoft.com/support/supportnet/overview/overview.asp

The English version of this software update should have the following file
attributes or later:

   Date       Time     Size        File name      Platform
   -------------------------------------------------------
   08/25/99  09:11p  142,096       net1.exe       x86
   08/25/99  09:09p  235,792       net1.exe       Alpha

If you are running Windows NT 3.51 Service Pack 5:

If you are running Windows NT 4.0 Service Pack 5:

This software update has been posted to the following Internet location as
Netfixi.exe (x86) and Netfixa.exe (Alpha):

   ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/NT351/
   hotfixes-postSP5/Y2K/Times-fix/

To determine if a localized version of this software update is available, change
"USA" in the URL above to the appropriate localized abbreviation. Click here
(ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/readme.txt) for a list
of these abbreviations.

STATUS
======

WINDOWS NT 4.0

Microsoft has confirmed this to be a problem in Windows NT 4.0.

WINDOWS NT SERVER 4.0, TERMINAL SERVER EDITION

Microsoft has confirmed this to be a problem in Windows NT Server 4.0, Terminal
Server Edition.

WINDOWS NT 3.51

Microsoft has confirmed this to be a problem in Windows NT 3.51.

MORE INFORMATION
================

For more information about how Microsoft products are affected by year 2000
(Y2K) issues, please see the following Microsoft World Wide Web site:

   http://www.microsoft.com/year2000/

Additional query words: y2k
============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.