Some time you want to change the administrator password of a pc in your network you know the current password and want to renew that password with out going to that pc or which out taking net meeting the following batch file will help you for same. just copy below code & paste in notepad
title password chenger
echo network administrator password renewer.
echo creator Anish M
set /p ip=ENTER IP ADDRESS :
set /p user=ENTER USER NAME :
set /p pass=ENTER CURRENT PASSWORD :
ECHO PROVIDE NEW PASSWORD DETAILS
set /p pwd=ENTER NEW PASSWORD:
ECHO YOUR NEW PASSWORD FOR %IP% COMPUTER %user% IS %PWD%
ECHO NOTE :PASSWORD WILL CHANGE FOR THE IP ADDRESS YOU PROVIDED.
ECHO ARE YOU WANT TO PROSEED
SET /P Y= TYPE Y or N:
msg * “YOUR NEW PASSWORD FOR %IP% COMPUTER %user% IS %PWD%”
wmic /node:%ip% /user:%user% /password:%pass% process call create “net user %user% %pwd%”
save this notepad as “Network password reseter.bat” without quotes.
- double click that batch file.
- Enter ip address press enter.
- Enter user name that you want to change password.
- Enter old (current password) of that user id.
- Enter new password.
- Confirm the new password.
Done the password will renew .