Hello,
im having an issue with my batch script im not sure what im doing wrong.. when i run it i get the error from psexec saying : unknown username or bad password
for /f %%F in (C:\pclist.txt) do (
pstools\psexec.exe \\%%F -u Admin -p Pass net user Admin NewPass
)
pause
its weird because if i do not include the "-p Pass" then it will ofcourse ask me for a password.. i put the password in and it SOMETIMES works. lol
basically im trying to change the local admin account password of all the computers on my work network.. some are on domain some are not. this technically SHOULD work...
Please Advise,
Thank you,
Arotin