How to Allow or Prevent User to Change Password in Windows 10

information   Information
Windows includes a feature that allows you the administrator to prevent a user from being able to change their account password, but still allows you the to change, reset, or remove the password. This can be handy for guest or child accounts you don't want them to be able to change the password of.

This tutorial will show you how to allow or prevent a user from being able to change their password on a Windows 10 PC.

Note   Note
You must be signed in as an administrator to allow or prevent a user to change their password.

You will only be able to apply this to standard user accounts, and not to administrator accounts.

You can apply this to local accounts and Microsoft accounts, but Microsoft accounts will still be able to change their password online at Microsoft.


CONTENTS:
  • Option One: To Allow or Prevent User to Change Password using Local Users and Groups
  • Option Two: To Allow or Prevent User to Change Password using Command Prompt


EXAMPLE: Change password grayed out in Settings when prevented
Allow or Prevent User to Change Password in Windows 10-prevent_change_password_settings.jpg






OPTION ONE

To Allow or Prevent User to Change Password using Local Users and Groups


Note   Note
Local Users and Groups is only available in the Windows 10 Pro, Enterprise, and Education editions.

All editions can use Option Two below.


1. Press the Win+R keys to open Run, type lusrmgr.msc into Run, and click/tap on OK to open Local Users and Groups.

2. Click/tap on Users in the left pane of Local Users and Groups. (see screenshot below step 3)

3. Right click or press and hold on the name (ex: "Brink2") of the user account you want, and click/tap on Properties. (see screenshot below)

Allow or Prevent User to Change Password in Windows 10-user_cannot_change_password-1.jpg

4. Check or uncheck (default) the User cannot change password box for what you want to do, and click/tap on OK. (see screenshot below)

Allow or Prevent User to Change Password in Windows 10-user_cannot_change_password-2.png

5. When finished, you can close Local Users and Groups if you like.





OPTION TWO

To Allow or Prevent User to Change Password using Command Prompt


1. Open an elevated command prompt.

2. Enter the command below you want into the elevated command prompt, and press Enter. (see screenshots below)

(allow user to change password - Default)
net user "user name" /PasswordChg:Yes

OR

(Prevent user to change password)
net user "user name" /PasswordChg:No

Note   Note
Substitute user name in the commands above with the actual user name of the account you want to allow or prevent them to change their password.


3. When finished, you can close the elevated command prompt if you like.

Allow or Prevent User to Change Password in Windows 10-allow_user_to_change_password_command.png
Allow or Prevent User to Change Password in Windows 10-prevent_user_to_change_password_command.png



That's it,
Shawn