Not able to figure out how to change mac pswd using hexnode. Old admin left the job and I am the replacement. He has given me his pswd but I want to put pswd that is easy for me to remember. Need to change the admin pswd in over 150 macs running Big Sur. HELP!!
Change admin passwordSolved
Replies (6)
Try wipe password. I think u can select all 150 devices together and do this.
Hello Amanda,
Thanks for reaching out to us.
Hexnode lets you run remote scripts on macOS 10.11+. You can easily change the password of the admin account by creating a script that has the command:
sysadminctl -adminUser $ADMINACCOUNTNAME -adminPassword $CURRENTPASSWORD -resetPasswordFor $ADMINACCOUNTNAME -newPassword $NEWPASSWORD.
The arguments required are indicated with $ symbol. This command requires 4 arguments. Run this script on all your devices using Hexnode. From the Manage tab, select all the required devices and click Actions > Execute Custom Script. Upload the script file and give the necessary details. Finally, click Execute to confirm your action. Read our help doc on executing scripts to know more.
The action Clear Password can only be performed on iOS and Android devices. It is used to erase the device password.
Cheers!!
Deborah Timothy
Hexnode UEM
Oh Shoot! without wipe password how will I clear password on windows desktops in our office?
Hello Kolton,
Thanks for reaching out to us.
Just like in macOS, you can execute scripts on Windows 10 devices with version 1709 or above. To change the admin account password, use the command:
net user ADMINACCOUNTNAME NEWPASSWORD
Refer to our documentation on executing scripts on windows devices to get the step-wise explanation of the process.
Cheers!!
Deborah Timothy
Hexnode UEM
@deborah not admin password. I want to clear the password of local user. Employees are very forgetful and I am getting bombarded with requests to remove password.
@kolton My bad! To erase the user password, use the command:
net user USERNAME “”
Replace “” with a new password if you wish to apply a new password.
Hope this helps.
Cheers!!
Deborah Timothy
Hexnode UEM