Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Is it possible tot query AD for accounts that'll expires this month? Or between two set dates?
We want to automatically filter for this so we can send the people who use this account an automatic warning.

blink, sounds like it oughta be a rather simple programming task. All that's required is to open it, read it, and test each entry. Those which expire between 'x' and 'y' get written in a seperate logfile which is then printed, etc.
If 'x' and 'y' are variables, you can choose their values each time the program is run (monthly?).
HTH.
Ed in Texas.

this should work for the account password expiration. is that what you mean by accounts that expire?
Response Number 3 Reply:
Ed in texas:
How would I program this?
tonysathre:
No I mean accounts that expire. When you crack open user props you can enter an account expiration date.
Response Number 4 Reply:
sorry the URL didnt show up for some reason.
try some google queries like this:
filetype:vbs account expiration
filetype:vbs account expiresand so on...
try this script:
Sponsored Link
Hard drive gone, need fre...
Sharing problem ![]()
Post LockedThis post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Windows XP Forum Home
Sponsored links
Ads by Google
Results for: Query AD for Account ExpirationRequest for Account and PasswordSummary: Hi, I would like the system to ask me that during booting for account and password. Currently it simply loads without any question and anybody can enter... Thankyou. Zennon ...
www.computing.net/answers/windows-xp/request-for-account-and-password/143499.html
At Start Up Ad for SpywareSummary: After my computer loads all programs at Start Up, an ad for Micro Trend suddenly appears. I have to X it out. How can I get rid of this? ...
www.computing.net/answers/windows-xp/at-start-up-ad-for-spyware/175078.html
2nd account settings won't saveSummary: A you sure you added her account to the Local Admin Group? Life's more painless for the brainless....
www.computing.net/answers/windows-xp/2nd-account-settings-wont-save/165449.html
![]()