Answers

0

Why do you not just login as a domain admin and open a command window on your admin station and change the users password that way? Then issue a restart to that users computer from the cmd window using shutdown with the /m option

It does not need to run on theirs, It just needs to run on an admins machine in the domain of the user you want to change the pw for. The pw change occurs on the DC not the local machine since you are using the /domain switch. So you can run the script on your admin station and the net user command is passed to the DC. The /m switch in the shut down will redirect the command to that machine