Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing an Admin password

Status
Not open for further replies.

stuhooper

IS-IT--Management
Oct 27, 2007
1
AU
Hi,
I'm pretty new to VBScripting, but I'm attempting to write a script that will change the password for a specified user on multiple local servers.

So far, I've managed to get the script to use a .txt file for the server list, to ask the user for the UserID, old password and new password, and to change the password on the local machine.

What I need to get my head around is the ability to change the password on a remote server that is not part of a domain.

I figure that the script I've written so far will do the job, just as soon as I find out how to run a line of code using a different User ID and Password. (I don't think that Runas will do it for me though)

Any help would be really appreciated. This is giving me a real bad headache :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top