Windows

How to Prevent Users from Changing Passwords in Windows 11

Richard
Written by
Richard
Feb 26, 2023 Updated Apr 16, 2026 3 min read

This guide explains how to control whether standard users can change their own passwords on a Windows 11 computer.

Why do this? Sometimes you want to ensure a user account remains secure or keeps a specific password for administrative reasons. What happens when done? The user will no longer be able to update their password through the standard Windows settings menu.

By default, all users on a Windows machine can change their own passwords as often as they like. A Windows administrator can change any account password, but a standard user can only change their own.

Note: This only works for a standard standard account. If a user is part of the administrator group, they can easily remove these restrictions.

Method 1: Using Local Users and Groups

This method uses a built-in Windows tool to manage account settings.

Requirement: You must have administrator privileges to perform these steps.

  1. Press the Windows key + R on your keyboard to open the Run box.
  2. Type the following command and press Enter: lusrmgr.msc
Windows run command box to launch local users and group

  1. In the window that opens, click the Users folder on the left side.
  2. Find the user account on the right side, right-click it, and select Properties.
Windows local users and group console

  1. In the window that appears, find the box labeled User cannot change password. Check this box to prevent the password change, or uncheck it to allow it.
  2. Click OK to save your settings.
Windows user can not change password

Method 2: Using the Command Line

You can also use Windows Terminal with the Command Prompt to change this setting quickly. First, open Windows Terminal as administrator.

Requirement: You must run the command prompt as an administrator.

To let a user change their password, use this command:

net user "username" /PasswordChg:Yes

To stop a user from changing their password, use this command:

net user "username" /PasswordChg:No

Summary

You can restrict password changes for standard users in Windows 11 using the Local Users and Groups console or the Command Prompt. These steps help maintain control over account security, though remember that users with administrative rights can bypass these changes.

How can I prevent users from changing their passwords in Windows 11?

You can prevent users from changing their passwords by using the Local Users and Groups console. Open it by typing 'lusrmgr.msc' in the Run command, select the user account, and check the 'User cannot change password' option.

Can I allow a user to change their password using the command line?

Yes, you can allow a user to change their password using the Command Prompt. Run the command 'net user "user name" /PasswordChg:Yes' in an elevated Windows Terminal to enable password changes.

What happens if I prevent a standard user from changing their password?

If you prevent a standard user from changing their password, they will not be able to modify their password until the restriction is lifted. This ensures that only administrators can manage password changes for that user account.

Is it possible for an administrator to override password restrictions?

Yes, users who belong to the administrator's group can override any password restrictions set by another administrator. They have full control over their account settings, including password changes.

What is the command to disallow a user from changing their password?

To disallow a user from changing their password, you can use the command 'net user "user name" /PasswordChg:No' in an elevated Command Prompt. This will restrict the specified user from changing their password.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version