How to Reset Computer Password: Quick Guide for Windows, Mac, and Linux Users

Locked out of your computer? It happens to everyone. Whether you forgot your password, inherited a used device, or need to help someone regain access, resetting a computer password is easier than you think.

This guide walks you through proven methods to reset passwords on Windows, Mac, and Linux systems. You’ll learn official recovery options, built-in tools, and safe workarounds that work in 2026.

Computer Password Types

Before you start, know what kind of password blocks your access:

Local account password: Stored only on your computer. Common on older Windows versions and standalone Macs.

Microsoft account password: Tied to your email. Used on Windows 10 and 11 for cloud sync and Microsoft services.

Apple ID password: Required for newer Macs with FileVault encryption or iCloud features.

Linux user password: Controls access to your Linux distribution and sudo privileges.

The reset method depends on your account type. Check which one you have before proceeding.

How to Reset Windows Password

Reset Computer Password

Method 1: Reset Microsoft Account Password Online

If you use a Microsoft account to sign in, this is your fastest option.

Step 1: Go to another device (phone, tablet, or friend’s computer)

Step 2: Visit account.microsoft.com/password/reset

Step 3: Enter your Microsoft email address

Step 4: Choose how to receive your security code (email, phone, or authenticator app)

Step 5: Enter the code and create a new password

Step 6: Return to your locked computer and sign in with the new password

This works immediately. No restart needed. Microsoft syncs the new password across all devices within minutes.

Method 2: Use Windows Password Reset Disk

If you created a password reset disk before getting locked out, you’re in luck.

On the login screen:

  1. Enter any wrong password
  2. Click “Reset password” link that appears
  3. Insert your password reset disk (USB drive)
  4. Follow the Password Reset Wizard
  5. Create a new password
  6. Sign in immediately

Most people don’t create these disks in advance. If you haven’t, this method won’t work. Move to the next option.

Method 3: Reset Local Account Through Another Admin Account

Windows allows multiple user accounts. If another account has administrator rights, use it to reset your password.

See also  Best AI Assistant for Acrobat: Top Tools to Transform Your PDF Workflow in 2026

Steps:

  1. Sign in to the other administrator account
  2. Press Windows + X and select “Computer Management”
  3. Expand “Local Users and Groups”
  4. Click “Users”
  5. Right-click your locked account
  6. Select “Set Password”
  7. Enter a new password twice
  8. Click OK

Warning: This method erases saved passwords in browsers, encrypted files, and email certificates tied to your old password. Use it only when other options fail.

Method 4: Use Windows Installation Media

No other admin account? Boot from Windows installation media to access recovery tools.

What you need: A USB drive with Windows installation files. Create one on another computer using Microsoft’s Media Creation Tool from microsoft.com/software-download.

Process:

  1. Insert the USB drive and restart your computer
  2. Press the boot menu key (usually F12, F2, or Del) during startup
  3. Select the USB drive to boot from
  4. Choose your language and click “Next”
  5. Click “Repair your computer” instead of Install
  6. Select “Troubleshoot” > “Advanced options” > “Command Prompt”
  7. Type these commands exactly:
diskpart
list volume
exit

Note which volume contains Windows (usually C:)

move c:\windows\system32\utilman.exe c:\windows\system32\utilman.exe.backup
copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe
  1. Remove the USB drive and restart
  2. At the login screen, click the Ease of Access icon (bottom right)
  3. Command Prompt opens. Type:
net user [username] [newpassword]

Replace [username] with your account name and [newpassword] with your new password.

  1. Close Command Prompt and sign in

Important: Reverse the changes after logging in by booting back into the installation media and running:

copy c:\windows\system32\utilman.exe.backup c:\windows\system32\utilman.exe

This prevents security vulnerabilities.

How to Reset Mac Password

Method 1: Reset Using Apple ID

Modern Macs running macOS Catalina or later let you reset passwords with your Apple ID.

At the login screen:

  1. Enter any wrong password three times
  2. A message appears: “If you forgot your password, you can reset it using your Apple ID”
  3. Click the arrow button
  4. Enter your Apple ID and password
  5. Follow prompts to create a new password
  6. Sign in with the new password

This method only works if you enabled this feature during setup. If the option doesn’t appear, try the next method.

Method 2: Use Recovery Mode

Recovery Mode provides built-in password reset tools.

Steps:

For Intel Macs:

  1. Restart and immediately hold Command + R
  2. Release when you see the Apple logo or spinning globe

For Apple Silicon Macs (M1, M2, M3):

  1. Shut down completely
  2. Press and hold the power button until “Loading startup options” appears
  3. Click “Options”

Once in Recovery Mode:

  1. Click “Utilities” in the menu bar
  2. Select “Terminal”
  3. Type resetpassword and press Enter
  4. The Reset Password window opens
  5. Select your startup disk
  6. Choose your user account
  7. Enter a new password twice
  8. Add a password hint
  9. Click “Next” then restart

Your Mac restarts normally. Sign in with the new password.

Method 3: Reset FileVault Password

If FileVault encryption is enabled, your options change.

See also  How to Install Network Adapter Driver in Windows 11: Complete Guide in 2026

During startup:

  1. When you see the FileVault login screen
  2. Enter any password three times
  3. Click “If you forgot your password, click here to reset it”
  4. Use your recovery key (a 24-character code given during FileVault setup)
  5. Or use your iCloud account if you allowed it to unlock your disk

Without the recovery key or iCloud access, you cannot decrypt the drive. Your data remains locked permanently. This is by design for security.

How to Reset Linux Password

Method 1: Use GRUB Boot Menu

Most Linux distributions use GRUB bootloader, which provides emergency mode access.

Ubuntu, Debian, and derivatives:

  1. Restart your computer
  2. Hold Shift (or Esc on some systems) during boot
  3. GRUB menu appears
  4. Highlight your default boot entry
  5. Press E to edit
  6. Find the line starting with linux or linux16
  7. Go to the end of that line
  8. Remove quiet splash
  9. Add init=/bin/bash
  10. Press Ctrl + X or F10 to boot

You boot into a root shell without needing a password.

  1. Type mount -o remount,rw /
  2. Type passwd yourusername (replace with your actual username)
  3. Enter new password twice
  4. Type sync
  5. Type reboot -f

Your computer restarts. Sign in with the new password.

Fedora, CentOS, RHEL:

The process is similar, but instead of init=/bin/bash, add rd.break to the kernel line.

Once at the emergency prompt:

  1. Type mount -o remount,rw /sysroot
  2. Type chroot /sysroot
  3. Type passwd username
  4. Enter new password twice
  5. Type touch /.autorelabel
  6. Type exit
  7. Type reboot

Method 2: Use Live USB

Any Linux live USB gives you tools to reset passwords.

Steps:

  1. Create a live USB on another computer
  2. Boot from the USB (press F12, F2, or Del during startup)
  3. Select “Try Linux” without installing
  4. Open a terminal
  5. Type sudo fdisk -l to list your hard drives
  6. Identify your Linux partition (usually /dev/sda1 or /dev/nvme0n1p2)
  7. Mount it: sudo mount /dev/sda1 /mnt (replace sda1 with your partition)
  8. Change root: sudo chroot /mnt
  9. Reset password: passwd username
  10. Type new password twice
  11. Type exit
  12. Restart and remove the USB

Sign in normally with your new password.

Password Reset Best Practices

TaskWhy It Matters
Create a password reset disk immediatelyOne-time setup saves hours of frustration later
Enable biometric loginFingerprint or face recognition bypasses password problems
Link accounts to recovery emailsMicrosoft and Apple accounts need verified recovery options
Store passwords in a password managerTools like Bitwarden or 1Password prevent lockouts
Document your recovery keyFileVault and BitLocker keys unlock encrypted drives
Test your recovery methodVerify your reset process works before you need it urgently

What to Do After Resetting Your Password

Update saved passwords: Change passwords in your browser, email client, and apps that auto-logged in with your old credentials.

Check security settings: Verify no unauthorized changes were made during the reset process.

Passkey Explained: The Future of Passwordless Authentication in 2026 Enable two-factor authentication: Add an extra security layer to prevent unauthorized password resets.

See also  TimerResolution.exe: What It Is, How It Works, and Should You Use It in 2026

Create a new password reset disk: Windows users should make a fresh reset disk with the new password.

Update password manager: If you use one, update the stored password for your computer login.

Preventing Future Password Problems

Use a memorable pattern: Create passwords from phrases you remember. “I love hiking every Saturday” becomes “iLh3S!”

Write it down securely: Keep a physical note in a locked drawer. Digital notes on the same device don’t help if you’re locked out.

Set up PIN login: Windows and Mac both support 4-6 digit PINs that are easier to remember than complex passwords.

Enable automatic login: On personal devices in secure locations, automatic login eliminates password entry. Only do this if physical security is guaranteed.

Use biometric authentication: Fingerprint or facial recognition works even if you forget passwords completely.

Troubleshooting Common Reset Issues

“The password is incorrect” after resetting

Wait 5 minutes. Some systems cache old passwords briefly. Restart if the problem persists.

Reset option doesn’t appear

Your account might be managed by an organization. Contact your IT administrator for enterprise devices.

Recovery key doesn’t work

Make sure you’re entering the full key correctly. Keys are case-sensitive and include hyphens in specific positions.

Can’t boot from USB

Check BIOS/UEFI settings. Disable Secure Boot temporarily and enable USB boot priority.

Linux system doesn’t show GRUB

Hold Shift or Esc earlier during boot. Some systems hide GRUB unless you interrupt the boot process.

Frequently Asked Questions

Can I reset a password without losing data?

Yes. All methods in this guide preserve your files and folders. Only the password changes. However, some encrypted files tied to your old password may become inaccessible.

How long does password reset take?

Online resets through Microsoft or Apple ID take 2-5 minutes. Local resets using installation media or recovery mode take 15-30 minutes. The actual password change is instant; setup and access take time.

Will antivirus software block password reset attempts?

No. Password reset happens at a lower system level than antivirus software operates. Antivirus programs cannot interfere with legitimate reset procedures.

What if I forgot both my password and recovery information?

Windows: Use installation media method with command prompt access. Mac: Without Apple ID or recovery key, you cannot access a FileVault-encrypted drive. Reinstall the operating system as a last resort (this erases everything). Linux: Live USB method always works.

Is it legal to reset someone else’s computer password?

Only reset passwords on computers you own or have explicit permission to access. Unauthorized access to someone else’s device violates computer fraud laws in most countries.

Conclusion

Resetting a computer password doesn’t require technical expertise. Windows users have Microsoft account recovery, password reset disks, and installation media options. Mac users can leverage Apple ID, Recovery Mode, or FileVault recovery keys. Linux users benefit from GRUB emergency mode and live USB tools.

The fastest method depends on your preparation. Online account recovery takes minutes. Installation media methods take longer but work when other options fail.

Prevent future lockouts by enabling biometric login, creating password reset disks, and storing recovery information securely. Update your passwords in a password manager and test your recovery process before you need it urgently.

Every method in this guide works on current operating systems. Choose the approach that matches your account type and available resources. Your computer access returns quickly when you follow the right steps for your situation.

MK Usmaan