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 (905199)



The information in this article 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 savings 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 savings time. If the expiration date that you set by using the AccountExpirationDate property is not in the current daylight savings 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 "Applies to" section.

Modification Type:MajorLast Reviewed:10/13/2005
Keywords:kbtshoot kbprb KB905199 kbAudEndUser