Clear Password

SOTI MobiControl
Windows

IT admins often need to reset passwords on enrolled Windows devices, whether due to forgotten credentials or employee offboarding. With remote work making direct access difficult, custom scripts offer a practical solution. SOTI MobiControl enables admins to deploy these scripts remotely, ensuring seamless password management.

Important:
  • It is recommended to test the script on a local/ test machine for its purpose and effects. 
  • SOTI MobiControl will not be responsible for any damage/loss to the data/setup based on the behavior of the script.

Clear password for user

1 Set-LocalUser -name "username" -Password ([securestring]::new())

Was this helpful?

Need more help?
Ask Community