Question Locked

how to change local admin password multiple computer remotely in network

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
how to change local admin password multiple computer remotely in network

6 replies

by Member 25348569

You need to loop through this setting the strComputer string for each system you want to access.

Set objUser = GetObject("WinNT://" & strComputer & "/Administrator, user")
objUser.SetPassword strNewPassword
objUser.SetInfo

by 93961

In the Active Directory Management Console you can manage a computer remotely by right clicking on the computer name of the particular computer. You can open the Computer Management console of the remote computer and then you can change everything except the disk management part. You should be logged in as the Domain admin in the DC.

by Member 29208172

Hi!

You can do this by downloading PsTools (MS Technet) and using psexec which is found in that package + net user command like this:
psexec \\computername -u localadminusername -p localadminpassword net user localusername newpasswordforlocalusername

I don't know how secure this is, but have tested it and it seems to work fine. In the event log you can see it has started and stopped the psexec service on the remote computer.

This discussion is closed to new replies.