Key Points
- Confirm the Problem First – Ensure it’s a locked account (not disabled or incorrect password) before proceeding with recovery steps.
- Alternative Recovery Options – Check if the local account is linked to a Microsoft Account for easier online password reset.
- Method 1: Use Another Administrator Account – Reset or remove the password via Control Panel when another admin account is available.
- Method 2: Safe Mode Access – Boot into Safe Mode with Command Prompt to troubleshoot and reset the locked account.
- Method 3: Command Prompt Commands – Use net user [username] /active:yes and net user [username] [new password] to unlock or reset.
- Method 4: Password Reset Disk – Insert a previously created password reset disk to securely reset credentials without admin rights.
- Method 5: Enable Built-in Administrator – Activate Windows 10’s hidden admin account to regain access, then deactivate it for security.
- Troubleshooting Locked Accounts – Apply fixes such as checking Windows updates, rebooting, verifying password requirements, restoring from a System Restore point, or contacting Microsoft Support.
- Prevent Future Lockouts – Create password hints, link accounts to Microsoft, enable reset disks, set up a backup administrator account, and use a password manager for secure credential storage.
In this guide, we discuss the necessary steps to unlock a local account in Windows 10. A local account can become locked due to forgotten passwords, multiple failed login attempts, or restrictions set by an administrator.
You cannot access your Windows 10 profile when your account is locked, which can be highly distressing, especially if you need to access files for work or personal use. Thankfully, this guide can help.
Knowing how to unlock a local account in Windows 10 can save you time and frustration, help you regain access, avoid unnecessary downtime, and restore productivity quickly.
Monitor, control, and support your Windows endpoints with a proven RMM tool.
If you prefer watching over reading, watch Complete Guide: How to Unlock a Local Account in Windows 10.
Step-by-step guide for Windows 10 account recovery
First, perform the following checks:
- Confirm the issue: Double-check that the problem is indeed a locked account, which usually displays a specific error message, rather than an incorrect password or disabled account.
- Check for a Microsoft Account link: Some local accounts may be linked to a Microsoft account. This may offer alternative recovery options, such as resetting the password online.
- Verify administrative privileges: Accessing another administrator account on the same device can greatly simplify the unlocking process. Don’t worry, though, if you don’t have admin access. We offer alternative solutions.
Now, you’re ready to unlock your account.
💡Note: If you prefer a visual walkthrough of these steps, watch How to Unlock a Local Account in Windows 10.
Option 1: Using another administrator account.
- Log in to the administrator account.
- Open the Control Panel by typing “Control Panel” in the search bar.
- Navigate to User Accounts > Manage Another Account.
- Select the locked account and choose Change the Password or Remove the Password.
- Set a new password or remove the existing one, then log in to the previously locked account.
Option 2: Using Safe mode
Safe Mode allows you to troubleshoot and resolve account issues with minimal system functionality. Here’s how to access it:
- From the sign-in screen or Start Menu, hold Shift and select Restart to access the Windows Recovery Environment.
- Select Troubleshoot > Advanced Options > Startup Settings, then click Restart.
- After restarting, select Safe Mode with Command Prompt.
- Once in Safe Mode, use the Command Prompt (discussed below) to reset the password or unlock the account.
Option 3: Using Command Prompt
- Open Command Prompt with administrator privileges.
- Type the following commands:
- To view all user accounts: net user
- To unlock an account: net user [username] /active:yes
- To reset the password: net user [username] [new password]
- Replace [username] with the locked account’s username and [newpassword] with the new password of your choice.
Option 4: Resetting by using a password reset disk
If you had previously created a password reset disk, this option is straightforward and doesn’t require administrator privileges. We discuss how to create a Windows password reset disk here.
- Insert the password reset disk into the computer.
- On the login screen, enter an incorrect password. When prompted, click Reset Password.
- Follow the wizard’s instructions to create a new password and regain access to your account.
Option 5: Enabling the built-in administrator account
Windows 10 includes a hidden built-in Administrator account that can be activated to regain access.
- Boot into Safe Mode with Command Prompt (as described in Option 2).
- In Command Prompt, type: net user administrator /active: yes
- Restart your computer and log in using the Administrator account. By default, this account is disabled.
- Once logged in, reset the password or unlock the locked account by following the steps in Option 1.
- Deactivate the built-in Administrator account for security by typing: net user administrator /active:no
Troubleshooting locked local accounts in Windows 10
If you’re still unable to fix a locked local account, consider these troubleshooting steps.
- Check for system updates: Ensure you have updated your Windows 10 system to the latest version. Sometimes, system updates can resolve account-related issues.
- Restart the computer: Restart your computer to refresh the system. A simple reboot can sometimes resolve temporary issues.
- Verify password requirements: Ensure your new password meets the system’s complexity requirements (e.g., minimum length, use of numbers, or special characters).
- Reset Windows 10 password via Microsoft Account: If your local account is linked to a Microsoft account, go to Microsoft’s password reset page and follow the steps to reset your password.
- Use a system restore point: If you have created restore points, use them to roll back your system to a time before the account was locked. Access System Restore through Advanced Startup Options.
We’ve written a more in-depth guide on how to restore previous versions of files, folders, and drives in Windows 10 here. - Seek professional support: If all else fails, contact Microsoft Support.
Preventive measures for future account lockouts
To prevent local account troubleshooting, here are some tips to consider:
- Set up password hints or recovery options: Use a password hint to remind you of your password or link your account to a Microsoft account for easier recovery.
- Enable password reset disks: Create a password reset disk using a USB drive. This tool allows you to reset your password without additional help.
- Create a secondary administrator account: A backup admin account ensures you can regain access if your primary account is locked.
- Practice secure credential management by using strong, unique passwords for each account. If you need help remembering all your passwords, consider storing them in a password manager.
Quick-Start Guide
NinjaOne scripts that can help with unlocking a local account in Windows 10:
1. Reset an Account Password: This script specifically designed to reset a user’s password. The documentation notes that this will reset a local account if not run on a domain controller.
2. Modify Users Group Membership: This script allows adding or removing a user to a group in Active Directory or the local computer.
These scripts provide several methods to help unlock or manage a local account in Windows 10.
Unlock a Windows account
With the right tools and techniques, unlocking a local account is straightforward. From using another administrator account to employing Safe Mode, Command Prompt, or password reset disks, many options exist when restoring access. We recommend adopting secure password practices and setting up recovery options to prevent future lockouts. Using a backup solution like NinjaOne is also highly recommended.
How to start Safe Mode with Windows Command Prompt – watch the full guide.
