You sure can and Microsoft has a tool for you! They bought out sysinternals.
Once you grab the app you can script your changes to work with a GPO or any automated system like BAT files.
Here is an example of the syntax used in my script. Keep in mind that this script must be ran from within the directory containing the pspasswd.exe program or else you have to modify the script to change into it’s directory. Of course, if you know batch scripting well, you can add all sorts of stuff to the script, but the basic run command looks like this:
>set /p filename="Please enter name of computer list (ie: computers): "
>pspasswd @%filename%.txt -u firstname.lastname@example.org -p password
administrator newpassword >> %filename%-results.txt
You’ll notice that I added an output to a text file so I could create a log of which workstations the password was changed on, and which ones it wasn’t. That is a good idea so you can keep whittling away at it until the change has been completed on all workstations. Also, you’ll notice that I added the -u and -p switches. You don’t need that if you are already running the script from an account that has permissions to change local passwords. There are many other little changes you can do as well. I used the set command because I had different lists for different offices. You could just put the computer names in one list and not use the set command.
This topic was covered in depth here as well. How can I change the password on lots of windows machines.