JSI Tip 5919. Freeware Expire.exe will expire passwords from a tab delimited file.

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 Name<TAB>User Id

-or-

ComputerName<TAB>User Id  

NOTE: The <TAB> 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:\zipnew\testExpire.txt 1:

Expire V01.00.00cpp Joe Richards ([email protected]) April 2000

Adding to Domain Map: JSIINC
Skipped: JSIINC\TestExpire; 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:\zipnew\testexpire.txt 0:

Expire V01.00.00cpp Joe Richards ([email protected]) April 2000

Adding to Domain Map: JSIINC
Expired: JSIINC\TestExpire; 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



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish