Hello everyone, here is a cool trick if you ever need change local user, or admin passwords on a remote network.
You can change all the “Administrator” or other common local user accounts passwords on all the PCs in your network with a simple line of code.
You need to have admin rights over those PCs. Test it with a single test PC before doing it in a grant scale to avoid unwanted results.
|1.||Obtain PSToolsYou can get PSTools from http://technet.microsoft.com/en-us/sysinternals/bb896649|
|2.||Open the Command ConsoleTo open the Command Console
1. Click on Start
2. Click on “Run”
3. Type “CMD” in the “Run” box.
4. Change the prompt to the PSTools folder by typing the full folder path. Example: C:\Blabla\PSTools
|3.||For a single computerInside the Command Console type:pspasswd.exe \\Remote_computer_name -u user_name -p new_password
Obviously you would replaced Remote_computer_name with the name of your remote PC, user_name with the actual username, and new_password with the actual new password for that user.
|4.||For a multiple computers:1. Create a text file named PCs.txt or whatever you want .txt with the names of the PCs to change a given local user’s password. One computer name per line, no spaces or extra lines.2. Save the text file in the PSTools folder for convenience or you’ll have to type the full file path in the command.
3. Inside the Command Console type: