Copyright © 2003-2004 Mark Russinovich
Last Updated: May 19, 2004 Version 1.21

Introduction

Systems administrators that manage local administrative accounts on multiple computers regularly need to change the account password as part of standard security practices. PsPasswd is a tool that lets you change an account password on the local or remote systems, enabling administrators to create batch files that run PsPasswd against the computers they manage in order to perform a mass change of the administrator password.

Installation

Just copy PsPasswd onto your executable path, and type "pspasswd" with the command-line syntax shown below..

PsPasswd works on Windows NT and higher.

Usage

You can use PsPasswd to change the password of a local or domain account on the local or a remote computer.

usage: pspasswd [[\\computer[,computer[,..] | @file [-u user [-p psswd]]] Username [NewPassword]
computer Perform the command on the remote computer or computers specified. If you omit the computer name the command runs on the local system, and if you specify a wildcard (\\*), the command runs on all computers in the current domain.
@file Run the command on each computer listed in the text file specified.
-uSpecifies optional user name for login to remote computer.
-pSpecifies optional password for user name. If you omit this you will be prompted to enter a hidden password.
UsernameSpecifies name of account for password change.
NewPasswordNew password. If ommitted a NULL password is applied.

PsTools

PsPasswd is part of a growing kit of Sysinternals command-line tools that aid in the adminstration of local and remote Windows NT/2K systems named PsTools.

Download PsPasswd (23 KB)

Download PsTools Suite



Back to Top