Thank you a lot for this help.

How can I know that ADSI provider installed on my workstation? I think it’s exist because I executed before the OU function which I got from Alix & Bryce on this workstation and it gave me excellent result.

Whoever, I want to know what is missing in the account expiration date code.

In addition, do you know any resource kit, windows system or windows support tool which can find the account expiration date for NT domain?
[Frown]
Thank you.