
Your Windows Administrator account controls everything from system settings to software installations. Updating this password regularly keeps your computer secure. Passwords can get exposed through data breaches or simply become easier to crack over time, so changing them isn’t just good practice—it’s necessary, especially in 2026.
This guide covers how to change the administrator password on Windows 10, Windows 11, and Windows Server in 2026. You’ll see three methods: CMD, PowerShell, and the Control Panel. Pick whichever feels most comfortable.
Change the Administrator Password Using CMD (Recommended)
| Note Start by logging into your server via RDP (Remote Desktop Protocol). Not sure how? Check out the article on connecting to Windows Server via RDP. |
You’ll need to open the command prompt with admin rights. Hit [Windows] + [R] together. The Run dialog pops up. Type “CMD” and press [Enter].
Now use this net user administrator password command:
net user administrator <newpassword>Swap <newpassword> with whatever you want. Hit [Enter]. Done. No reboot needed.
Change the Administrator Password via Control Panel
- Press [Windows] or click the Start menu icon.
- Search for “Control Panel” and open it.
- Click “User Accounts” twice.
- Select “Manage another account.”
- Pick the “Administrator” account.
- Click “Change the password.”
- Type the current password, then “Next.”
- Enter your new password twice in the fields provided. Make sure it’s strong enough—length and complexity matter here.
- Add a password hint if you want.
- Click “Change password” and then “Finish.”
Change the Local Admin Password with PowerShell
Hit [Windows], type “PowerShell,” right-click it, and choose “Run as administrator.”
Type this command to change the Administrator password:
Set-LocalUser -Name Administrator -Password (Read-Host -AsSecureString "NewPassword")Press [Enter]. Replace “NewPassword” with your actual new password. PowerShell won’t show what you’re typing for security reasons. Type it, press [Enter], and confirm when prompted.
That’s it. The change happens instantly.
You’ve now got three solid ways to change the Windows administrator password. Store your new password somewhere safe, maybe in Bitwarden or another password manager, since losing admin access is a headache you don’t need.
Frequently Asked Questions
There isn’t one. During initial setup, Windows Server makes you create an administrator password that meets complexity rules (8+ characters, uppercase, lowercase, numbers, symbols). If you’ve taken over a server and don’t know the password, you’ll need to reset it using recovery options or one of the methods above.
Easy. Use CMD with this command:
net user <username> <newpassword>
Replace <username> with the account name. Or go through the Control Panel: User Accounts → Manage another account, pick the user, and click “Change the password.”
Sometimes. If you’re logged in as another admin-level account, you can reset the admin password using CMD without the old one. Locked out completely? Boot from Windows installation media and use recovery tools to perform an administrator password reset via the command prompt.
Log in through RDP, then open CMD or PowerShell with admin privileges. Use the net user administrator command or the Set-LocalUser PowerShell command like before. You can also press [Ctrl] + [Alt] + [End] inside your RDP session (works like Ctrl+Alt+Del remotely) to change your Windows password from the lock screen.
Windows has default complexity rules for the administrator account password. A strong PC administrator password should be:
• At least 8 characters (but 12+ is better)
• A mix of uppercase and lowercase letters
• At least one number
• At least one special character (!, @, #, $, etc.)
• Not a common word, name, or obvious pattern
Password managers like Bitwarden make it simple to create and store a strong, unique administrator password without having to remember it yourself.