Microsoft KB Archive/905199

= The expiration date may be set incorrectly when you use Active Directory Services Interface (ADSI) to set the expiration date of a user account on a Windows XP-based computer =

Article ID: 905199

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-





SYMPTOMS
When you use Active Directory Service Interfaces (ADSI) to set the expiration date of a user account to a date that is not in the current daylight saving time zone on a Microsoft Windows XP-based computer, the expiration date may be set incorrectly. When this problem occurs, the expiration date displays in Active Directory Users and Computers as the day before the expiration date that you set.



CAUSE
This problem occurs because the ADSI AccountExpirationDate property does not value daylight saving time. If the expiration date that you set by using the AccountExpirationDate property is not in the current daylight saving time zone, one hour will be missing. Therefore, the expiration date displays as the day before the expiration date that you set.

Note You can get the value of the AccountExpirationDate property to obtain the correct date.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kbprb KB905199

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.