sodcalculator

10 Tech How-To

Reset Computer Without Password: Full Guide

Guide 10-32675 · Updated · Step by step

Locked out of your computer because you forgot the password? This guide walks you through several proven methods to reset or bypass the login password on Windows and macOS, so you can get back into your system and regain access to your files. No special hardware or advanced hacking skills are required, but you will need either another device, a USB drive, or access to recovery tools.

What You’ll Need

  • Another computer or smartphone with internet access (to download tools or look up steps).
  • A USB flash drive (at least 8GB) if you need to create a Windows reset disk or macOS installer.
  • Your computer’s model number or make (to look up the specific recovery key or menu).
  • Patience and a few minutes of time.

Step-by-Step

For Windows 10/11 (Local Account)

  1. Restart your PC. On the login screen, click the power icon in the bottom-right corner, then hold the Shift key while clicking Restart. This opens the Windows Recovery Environment (WinRE).
  2. Navigate to Advanced Options. In the blue screen, click Troubleshoot → Advanced options → Command Prompt.
  3. Open Command Prompt. You may be asked to choose an account and enter its password. If you have another admin account, use it. If not, click Continue or Skip if available.
  4. Replace the utility manager. In the Command Prompt, type the following commands one by one, pressing Enter after each:
    move c:\windows\system32\utilman.exe c:\windows\system32\utilman.exe.bak
    copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe
    Note: If your Windows is on a different drive (e.g., D:), replace c: with that letter.
  5. Close the Command Prompt and restart. Type exit and press Enter, then click Continue to boot normally.
  6. Open the Command Prompt via Ease of Access. On the login screen, click the Ease of Access icon (the little person with a clock) in the bottom-right corner. A Command Prompt window will open.
  7. Reset the password. In the Command Prompt, type net user and press Enter to see all user accounts. Then type net user YourUsername NewPassword (replace with your actual username and a new password) and press Enter. You should see “The command completed successfully.”
  8. Close the Command Prompt and log in. Type exit and press Enter, then click anywhere on the login screen and enter your new password.

For Windows 10/11 (Microsoft Account)

  1. On the login screen, click “I forgot my password” (or “Reset password”) under the password field.
  2. Follow the on-screen prompts. This will open your browser and take you to Microsoft’s password reset page. You’ll need access to the recovery email or phone number associated with your Microsoft account.
  3. Verify your identity using the code sent to your recovery method, then create a new password.
  4. Return to your PC and log in with the new password.

For macOS (Apple ID or Recovery Mode)

  1. Restart your Mac. Press and hold Command (⌘) + R immediately after the Apple logo appears (or after the startup chime on older Macs) to enter Recovery Mode.
  2. Open Terminal. In the macOS Utilities window, click Utilities in the top menu bar, then select Terminal.
  3. Reset the password using Terminal. Type resetpassword and press Enter. A password reset window will appear.
  4. Follow the on-screen instructions. Choose the disk (usually “Macintosh HD”), select your user account, enter a new password, and click Next. Then restart your Mac.
  5. If that doesn’t work (on newer Macs with Apple Silicon), you may need to use your Apple ID: restart, and on the login screen click the ? icon next to the password field, then follow the prompts to reset using your Apple ID.

Using a Password Reset Disk (Windows)

  1. Create a reset disk on another computer (if you have one) by inserting a USB drive and searching for “Create a password reset disk” in Control Panel. Follow the wizard to create the disk.
  2. On the locked PC, insert the USB drive and click Reset password on the login screen.
  3. Follow the wizard to set a new password.

Common Mistakes

  • Wrong drive letter: In the Command Prompt method, using C: when Windows is on D: will fail. Check with dir c:\windows first.
  • Not holding Shift long enough: If you just click Restart without holding Shift, you won’t get the recovery menu.
  • Typing the username incorrectly: The net user command is case-sensitive for usernames. Use the exact name shown.
  • Forgetting to restore utilman.exe: After resetting, you should restore the original utilman.exe file to avoid security issues. Use the command: move c:\windows\system32\utilman.exe.bak c:\windows\system32\utilman.exe.
  • Using a Microsoft account reset on a local account: If your account is local, the Microsoft password reset won’t work. Check the account type in settings.

Tips

  • Always create a password reset disk for local accounts before you forget your password. It’s the easiest method.
  • Use a memorable password manager to avoid future lockouts.
  • If you have BitLocker enabled (Windows), you may need your BitLocker recovery key to access the drive after a password reset. Keep it in a safe place.
  • For macOS, consider enabling FileVault – you’ll need your recovery key if you forget your password.
  • After resetting, change your password again from within the OS to ensure it’s stored correctly.

Troubleshooting

  • The Command Prompt doesn’t open after replacing utilman.exe: Ensure you copied cmd.exe correctly and that the path is right. Try the copy command again, or use the ren command instead of move to avoid permission issues.
  • “Access is denied” when running net user: You must run the Command Prompt as Administrator. In the recovery environment, you are usually admin, but if not, you may need to use the “Safe Mode with Command Prompt” option.
  • Windows won’t boot after the reset: This is rare, but if it happens, boot into WinRE again and restore utilman.exe from the backup using the reverse commands.
  • macOS Terminal doesn’t open: Make sure you’re in Recovery Mode (hold Command+R). If you see the Utilities menu, Terminal is under it.
  • Apple ID reset fails: Ensure you have internet access and that your Apple ID is connected to the Mac. If not, you may need to use Single User Mode (macOS with Intel) with mount -uw / and passwd commands.
  • No option to reset password on login screen: Some Windows editions (like Home) may not show “I forgot my password” for local accounts. Use the Shift+Restart method instead.

Frequently Asked Questions

Will I lose my files if I reset the password?

No, resetting the password alone does not delete your files. However, if you use a Microsoft account and reset via the web, it may affect encryption, but your files remain. Always back up important data when possible.

Can I reset a password without any other device?

Yes, for Windows using the Shift+Restart method, you don’t need another device. For macOS, you can use Recovery Mode. However, if you have a Microsoft account, you’ll need access to your recovery email/phone.

Is it legal to reset a computer password?

Yes, if you own the computer or have permission from the owner. It’s illegal to access someone else’s computer without consent.

What if I have a work or school computer?

These are often managed by IT departments and may have additional restrictions. Contact your IT support instead of attempting a reset.

How long does it take?

Usually 5-15 minutes, depending on the method and your familiarity with the steps.

Can I use these methods on a tablet or phone?

These methods are for desktop/laptop computers. For mobile devices, you’d need to use manufacturer-specific recovery (e.g., Find My Device for Android, iCloud for iPhone).

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →