What a CPU password actually is and why you might need to reset it
A CPU password is not a real thing — you likely mean your computer's administrator password, which is the master password that controls who can install software, change system settings, and access certain files on your machine. If you have forgotten this password, you cannot log in to your computer at all, or you can log in to a regular user account but cannot make changes that require administrator permission.
The method to reset this password depends on whether you are on a Windows machine or a Mac, and whether you set up a recovery email or phone number when you created the account. Both operating systems have built-in recovery paths, but they work very differently.
Key Takeaways
- Windows computers let you reset a forgotten password through a recovery email or phone number you set up during account creation, or through a local account recovery option if you did not use a Microsoft account.
- Mac computers require you to use your Apple ID password to reset your administrator password, or to use Recovery Mode if you do not remember your Apple ID password.
- If you set up a password hint when you created your account, Windows will show it to you on the login screen — check there first before attempting a reset.
- Both systems require you to verify your identity before resetting, usually through an email or phone number you provided earlier.
Resetting a Windows administrator password through your Microsoft account
If you created your Windows account using a Microsoft email address (Outlook, Hotmail, Gmail, or another email), you can reset your password from the login screen itself. On the login screen, click "I forgot my password" below the password field. Windows will ask you to enter a code sent to the recovery email address or phone number associated with your account.
Check the email inbox (or text messages) for a code from Microsoft. Enter that code on the Windows screen, then create a new password. Make sure your new password is at least eight characters long and includes uppercase letters, lowercase letters, numbers, and symbols — Windows will reject it otherwise. Once you have entered and confirmed your new password, you can log in to your computer.
This method works only if you remember the email address you used to create the account and still have access to that email inbox or phone number. If you no longer have access to the recovery email or phone, move to the local account recovery section below.
Resetting a Windows local account password without a Microsoft account
If you created a local account (one that does not use a Microsoft email), the password reset process is more limited. Windows does not offer a built-in recovery path for local accounts through the login screen. Your options are to use a password reset disk if you created one before you forgot the password, or to reset Windows entirely.
A password reset disk is a USB drive you would have created in advance by going to Settings > Accounts > Sign-in options > Password > Create a password reset disk. If you have that disk, insert it into your computer, click "Reset password" on the login screen, and follow the wizard to create a new password.
If you do not have a password reset disk and cannot remember your password, you will need to reset Windows using installation media. This erases your files and settings but lets you create a new administrator account. You can create Windows installation media on another computer using the Windows Media Creation Tool (available free from Microsoft's website), then boot your locked computer from that media and choose "Repair your computer" to access reset options.
Resetting a Mac administrator password using your Apple ID
On a Mac, restart your computer and hold down Command + Q when you see the login screen. This opens the login window options. Click the question mark icon next to the password field, or look for a "Reset Password" button. Mac will ask you to enter your Apple ID password — this is the password you use for the App Store, iCloud, or other Apple services, not your computer password.
Enter your Apple ID password and email address. If your Apple ID is protected by two-factor authentication, you will need to approve the reset on another Apple device (iPhone, iPad, or another Mac) or use a recovery code you saved when you set up two-factor authentication. Once verified, you can create a new administrator password for your Mac.
If you do not remember your Apple ID password, you will need to reset that first at iforgot.apple.com before you can reset your Mac password. That process requires you to verify your identity through a trusted phone number or recovery email associated with your Apple ID.
Resetting a Mac password using Recovery Mode
If you cannot use your Apple ID to reset your Mac password, restart your Mac and hold Command + R when ready after you hear the startup sound. This boots your Mac into Recovery Mode. From the Utilities menu, select "Reset Password." Choose your user account from the dropdown, then create a new password.
Recovery Mode does not require your Apple ID, but it does require you to have set up FileVault (Mac's disk encryption) with a recovery key. If you set up FileVault and saved your recovery key, you can use it here. If you did not set up FileVault or do not have your recovery key, Recovery Mode cannot help you — you will need to erase your Mac and reinstall the operating system, which erases all your files.
What to do if you cannot remember your recovery email or Apple ID
If you have forgotten both your computer password and the recovery email or Apple ID associated with it, you have reached the point where you must prove you own the computer. On Windows, contact Microsoft Support with proof of purchase (receipt, order confirmation, or device serial number). On Mac, contact Apple Support with the same information.
Both companies can verify your identity and help you regain access, but the process takes time and may require you to provide documentation. In the meantime, you cannot use your computer. This is why setting up a recovery email or phone number when you first create your account, and storing that information somewhere safe, prevents this situation.
How to prevent this from happening again
Once you have reset your password and logged back in, take these steps when ready. On Windows, go to Settings > Accounts > Security options and make sure a recovery email and phone number are listed. On Mac, go to System Settings > General > Login Items and verify your Apple ID is connected to your account.
Write down your recovery email and phone number and store them somewhere find — a password manager, a notebook in a safe place, or a trusted family member. Do not store them in a file on your computer, because if you lock yourself out, you cannot access that file. If you use a local Windows account, create a password reset disk and store it in a safe place as well.
Frequently Asked Questions
Can I reset my password if I do not have access to my recovery email?
On Windows, if your recovery email is no longer active, you can still use a recovery phone number if you set one up. If you have neither, you will need to contact Microsoft Support with proof of purchase. On Mac, you must have access to your Apple ID or a FileVault recovery key — there is no other path.
Will resetting my password erase my files?
No. Resetting your password through your recovery email, phone, or Apple ID does not erase anything. Only a full Windows reset or Mac reinstall erases files, and you would only do that if you cannot access any recovery method.
How long does it take to reset a password?
If you have your recovery email or phone, a few minutes. If you need to contact Microsoft or Apple Support, it can take several days. If you need to reinstall your operating system, plan for an hour or more depending on your internet speed.
What if I see a password hint on the Windows login screen?
A password hint is a clue you created when you set up your account — it is not the password itself. If the hint helps you remember your password, use it. If not, proceed with the password reset process.
Can someone else reset my computer password without my permission?
Only if they have access to your recovery email inbox or your Apple ID password. This is why protecting your email account and Apple ID with a strong password and two-factor authentication is critical.