JSI Tip 5919. Freeware Expire.exe will expire passwords from a tab delimited file.
November 5, 2002
If you need to expire a lot of passwords, download Expire.zip. After extracting Expire.exe to a folder in you path, you can run it using the following syntax:
Expire PathToTabDelimetedFile OK_AGE
where:
PathToTabDelimetedFile is the tab delimited file that contains records in the following format:
NetBios Domain NameUser Id
-or-
ComputerNameUser Id
NOTE: The is a TAB character.
OK_AGE If the password age is less than this parameter, the user's password is NOT expired.
NOTE: If you have a large number of passwords to expire, do it in a staggered time frame so as to mitigate the load on your network and servers.
Sample Output with one entry in the PathToTabDelimetedFile file:
When I ran:
expire d:zipnewtestExpire.txt 1:
Expire V01.00.00cpp Joe Richards ([email protected]) April 2000
Adding to Domain Map: JSIINC
Skipped: JSIINCTestExpire; password age less than minimum. (0)
Freeing dynamic memory allocations.
Statistics:
Total lines : 1
Total lines processed: 1
Total users processed: 1
Total users skipped : 1
Total users already expired : 0
Total users expired : 0
Elapsed Time : 0 seconds
When I ran:
expire D:zipnewtestexpire.txt 0:
Expire V01.00.00cpp Joe Richards ([email protected]) April 2000
Adding to Domain Map: JSIINC
Expired: JSIINCTestExpire; password age: 0
Freeing dynamic memory allocations.
Statistics:
Total lines : 1
Total lines processed: 1
Total users processed: 1
Total users skipped : 0
Total users already expired : 0
Total users expired : 1
Elapsed Time : 0 seconds
About the Author
You May Also Like