Follow
Windows

How to Prevent Users from Changing Passwords in Windows 11

Richard
Written by
Richard
Feb 26, 2023 Updated Apr 30, 2026 3 min read
How to Prevent Users from Changing Passwords in Windows 11

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

Why do this? You may 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. A Windows administrator can change any account password, but a standard user can only change their own. Note: This only works for a local account. If a user is part of the administrator group, they can easily remove these restrictions. This method does not apply to Microsoft Accounts, which are managed online.

Comparison of Methods

MethodBest ForRequirement
Local Users and GroupsVisual usersPro/Enterprise Edition
Command PromptFast changesAdmin access
Group PolicyNetwork controlPro/Enterprise Edition

Method 1: Using Local Users and Groups (Pro/Enterprise Only)

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

  1. Press Windows key + R, type lusrmgr.msc, and press Enter.
Windows run command box to launch local users and group
  1. Click the Users folder on the left.
  2. Right-click the target account and select Properties.
Windows local users and group console
  1. Check the box labeled User cannot change password.
  2. Click OK to save.
Windows user can not change password

Method 2: Using the Command Prompt (All Editions)

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

Open the Start menu, type cmd, right-click it, and select Run as administrator.

To stop a user from changing their password, type this command and press Enter:

💻Code
net user "username" /PasswordChg:No

To allow it again, use:

💻Code
net user "username" /PasswordChg:Yes

Method 3: Using Group Policy Editor (Pro/Enterprise Only)

Requirement: You must have administrator privileges.

For network-wide settings, use gpedit.msc. Navigate to Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy. Here you can set Maximum password age to prevent expiration issues.

Troubleshooting and Reverting Changes

If you get locked out, log in with an administrator account. Use the same steps above to uncheck the restriction or run net user "username" /PasswordChg:Yes to restore access.

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. Always ensure you have an active administrator account before applying these restrictions to avoid being locked out of your own system.” }

Can I prevent an administrator from changing my password?

No, you cannot prevent an administrator from changing your password. Administrators have full control over the local security policy and user accounts on the machine. If a user has administrative rights, they can override any restrictions placed on their account or other standard user accounts at any time.

Why does Windows 11 force me to change my password?

Windows 11 may force a password change if your account is subject to a local security policy that mandates password expiration. This is a security feature designed to ensure users rotate their credentials periodically, reducing the risk of unauthorized access if a password has been compromised over time.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips 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.

📚 Related Tutorials

How to Change Windows 11 Password via Command Prompt
Windows How to Change Windows 11 Password via Command Prompt
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Change Windows Terminal Themes
Windows How to Change Windows Terminal Themes
How to View All User Accounts in Windows 11
Windows How to View All User Accounts in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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