VBScript program to reset the password for an Active Directory user. The program also enables the account, in case the account is disabled, and expires the password, so the user must change their password the next time they logon.

This program could be used by help desk personnel to reset user passwords. The program accepts two parameters. The first is the NT logon name of the user. This is the pre-Windows 2000 logon name, sometimes called the sAMAccountName. The second parameter is the new password.

This program should work on any 32-bit Windows client that can log onto the domain. Windows NT and Windows 98/95 clients should have DSClient installed. If DSClient is not installed, they need WSH and ADSI installed.

In order to set passwords, the client must be able to encrypt using a Secure Sockets Layer (SSL) connection. This means that Internet Explorer should be upgraded to use 128-bit encryption.

ResetPassword.txt <<-- Click here to view or download the program