Reset Password Batch
Copyright (C) 2010 by Afan Tim.
URL: http://www.hainsoft.com/


Introduction

In some scenarios LAN administrators require periodically changing user password. LanHelper provides Reset Password action for resetting passwords of users to one same password or regular ones. If one want to specify customize passwords, LanHelper would not help more. So we developed this free command line tool for all LanHelper users to change user password in a different way.

Usage

Parameters:
   /f=password_file [/expire] [/macro] [/log=log_file]
   /gui

Example:
   /f=Template.txt /expire /macro /log=log.txt

/f=password_file
Specify the file containing computer name, user name and new password. The detailed file formats are shown below.

/expire
User must change password at next logon.

/macro
Enable macro %username% for generating new password. The macro %username% typed into the password column will be replaced with the actual user name at run. For example, for the input %username%abc, The actual password will be user1abc for user1 user.

/log=log_file
Save the operation results in a log file.

/gui
Display the GUI interface.

Password file formats

Formats:
Computer name;user name;new password

Examples:
127.0.0.1;guest0;new password 123 @#$
localhost;user1;%username%abc
;user2


The content of the file should have at least three columns, and use semicolon to separate each two columns. The password will be set to a blank one if it's skipped. If the computer name is skipped, it'll be regarded as local host.
กก




กก