TechBuzzPro

How to Reset a Laptop Password (Windows & Mac)

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you're locked out of your laptop, you can reset the password using a few different methods depending on your operating system and whether you're using a Microsoft account, a local account, or a Mac. The quickest way is often to use the “I forgot my password” link on the login screen, which lets you reset via email or security questions. If that doesn't work, you can use another admin account, a password reset disk (Windows), or recovery mode (Mac). This guide covers the most reliable methods for both Windows and macOS, plus what to do if nothing seems to work.

What You'll Need

  • Access to the email or phone number linked to your Microsoft account (if using Windows with a Microsoft account).
  • Another administrator account on the laptop (if you have one).
  • A password reset disk (only if you created one beforehand on Windows).
  • For Mac: access to another Mac or an Apple ID (if you have FileVault enabled, you'll need your recovery key).
  • Patience and a few minutes of time.

Step-by-Step

For Windows 10/11 with a Microsoft Account

  1. On the login screen, click “I forgot my password” (or “Reset password”) below the password field.
  2. You'll be redirected to Microsoft's online password reset page in your browser. Follow the prompts to verify your identity via email, phone, or the Microsoft Authenticator app.
  3. Create a new password. Make sure it's at least 8 characters and includes a mix of letters, numbers, and symbols.
  4. After resetting, go back to the login screen and enter your new password. You may need to sign in to your Microsoft account on the device again.

For Windows 10/11 with a Local Account

  1. If you see a password hint on the login screen, try to recall it. If you have a password reset disk (a USB drive you created earlier), insert it and click “Reset password” to launch the wizard.
  2. If you have another account on the laptop with administrator rights, sign in with that account.
  3. Open the Start menu, type “Control Panel” and open it. Go to “User Accounts” > “Manage another account”.
  4. Select the locked account, then click “Change the password”. You can set a new password (or leave the new password fields blank to remove it).
  5. Sign out and sign back in with the new password.

For Windows 7/8 (Local Account Only)

  1. If you have a password reset disk, use it as described above.
  2. Otherwise, boot into Safe Mode by restarting and pressing F8 (or Shift+F8) before Windows loads. In Safe Mode, the built-in “Administrator” account often appears without a password. Log in with that account.
  3. Go to Control Panel > User Accounts, select your account, and change or remove the password.

For macOS (Big Sur and later)

  1. Restart your Mac and hold down Command+R to enter Recovery Mode.
  2. If you have FileVault enabled, you'll be asked to unlock the disk with your recovery key. If you don't have it, you may need to use your Apple ID to reset the password.
  3. In Recovery Mode, click “Utilities” in the top menu, then select “Terminal”.
  4. Type resetpassword and press Enter. A password reset window will appear.
  5. Choose “I forgot my password”, then follow the prompts. You may need to enter your Apple ID if you're using one.
  6. Set a new password, then restart your Mac and log in with it.

For macOS (If you have another admin account)

  1. Log in with the other admin account.
  2. Open System Settings (or System Preferences) > Users & Groups.
  3. Click the lock icon and enter the admin password.
  4. Select the locked user, click “Reset Password”, and enter a new one.

Common Mistakes

  • Using the wrong Microsoft account email – make sure you're using the exact email associated with the laptop.
  • Forgetting that the password reset disk only works for local accounts, not Microsoft accounts.
  • Typing the new password incorrectly – Windows and Mac both have a “show password” checkbox; use it to avoid typos.
  • On Mac, trying to use the “resetpassword” command without being in Recovery Mode – it won't work from the normal login screen.
  • Assuming that a Microsoft account password reset will immediately work offline – you need an internet connection for the online method.

Tips

  • Always create a password reset disk for local accounts on Windows – it's a one-time setup that saves you later.
  • Use a password manager to store your passwords securely, so you don't get locked out.
  • Set up security questions or a PIN as an alternative sign-in method on Windows – they can be easier to reset.
  • On Mac, make sure your Apple ID is linked to your user account – it can be used to reset the password if you forget it.
  • If you have FileVault enabled on Mac, store your recovery key in a safe place – it's essential for password resets.

Troubleshooting

If the above steps don't work, try these in order:

  1. Restart your laptop and try again – sometimes the reset process just needs a fresh start.
  2. Check your internet connection – for Microsoft account resets, you need to be online. Try connecting via Ethernet if Wi-Fi is unreliable.
  3. If you're using a Microsoft account and don't have access to the recovery email/phone, you may need to fill out Microsoft's account recovery form. It can take up to 24 hours for a response.
  4. For Windows local accounts, if you don't have a reset disk or another admin account, you may need to perform a factory reset (which erases all your files) or use third-party recovery tools (which are not officially supported and may be risky).
  5. For Mac, if you can't reset via Recovery Mode and don't have another admin, you may need to reinstall macOS (which preserves your files if you choose the right option) or contact Apple Support.
  6. If nothing works, consider taking your laptop to a professional repair service – they may be able to help, but be aware that they might need to wipe the drive.

Frequently Asked Questions

Can I reset my laptop password without losing my files?

Yes, in most cases. Resetting a password via Microsoft account, another admin account, or Mac Recovery Mode does not delete your files. A factory reset is the only method that erases everything, and that's a last resort.

What if I don't have another admin account on Windows?

If you only have one account and it's a local account, you'll need a password reset disk (if you made one) or you'll have to use the Microsoft account method if you linked it. Otherwise, a factory reset is the only official option.

Can I use a Windows installation USB to reset the password?

Not directly. A Windows installation USB can be used to access the command prompt and potentially enable the hidden Administrator account, but this is not officially supported and can be complicated. It's safer to use the methods above.

Does resetting a Microsoft account password affect my laptop's local files?

No, it only changes the password. Your files remain intact. However, if you have BitLocker encryption enabled, you may need your recovery key to unlock the drive after the reset.

On Mac, what is a recovery key and how do I find it?

A recovery key is a long string of characters that you were given when you enabled FileVault. It's stored in your iCloud account or you may have printed it. You can find it by logging into iCloud.com and looking under Security > FileVault.

Is it possible to reset a laptop password using the command prompt?

On Windows, you can sometimes use the command prompt from a recovery environment to enable the hidden Administrator account, but this is not officially supported and may not work on all systems. It's better to try the standard methods first.