The fastest way depends on what you remember
If you have forgotten your password, you have three realistic paths: use a password reset disk if you created one before, use another administrator account on the same laptop, or perform a factory reset that erases everything and returns the laptop to its original state. The first two preserve your files. The third does not, but it works on any HP laptop regardless of what you set up beforehand.
Which route you take depends on what you prepared in advance and whether you can afford to lose your files. If you have no reset disk and no other admin account, factory reset is your only option without calling HP support or taking the laptop to a technician.
Key Takeaways
- A password reset disk, created before you forgot the password, lets you reset it in minutes while keeping all your files intact.
- If another person has an administrator account on the same laptop, they can reset your password from their account without erasing anything.
- A factory reset removes your password but also deletes all files, programs, and settings — use this only if you have no other option and have backed up what matters.
- On Windows 10 or 11, you can also reset your password through your Microsoft account online if the laptop is connected to the internet.
- HP support and local technicians can reset your laptop, but this costs money and takes longer than doing it yourself.
Using a password reset disk you created earlier
If you made a password reset disk before you forgot your password, this is the fastest and safest method. You need the USB drive or floppy disk you created it on, plus access to the login screen.
At the Windows login screen, click "Reset password" or "I forgot my password" — the exact wording depends on your Windows version. Windows will ask you to insert the reset disk. Insert the USB drive or disk, and Windows will walk you through creating a new password. Your files remain untouched. Once you set a new password, you can log in normally.
If you never created a reset disk, you cannot use this method. You will need to choose one of the other routes.
Resetting the password from another administrator account
If someone else uses the same HP laptop and has an administrator account, they can reset your password without erasing your files. This works on Windows 10 and Windows 11.
Ask the other person to log in with their account. Once they are logged in, they should open Settings, go to Accounts, then select "Other people" or "Family and other users" depending on Windows version. They will see your account listed. They click your account, then click "Reset password." Windows will ask them to create a new password for you. They set the password, and you can then log in with it.
This method only works if the other person has administrator rights. If their account is a standard user account, they will not see the option to reset your password.
Resetting your password through your Microsoft account online
If your HP laptop runs Windows 10 or 11 and is connected to the internet, you can reset your password through Microsoft's website without touching the laptop.
On any other computer or phone, go to account.microsoft.com and click "Sign in." Enter your Microsoft email address. If you do not remember it, look for password reset or account recovery options on that page. Microsoft will ask you to verify your identity — usually by sending a code to a backup email address or phone number you set up earlier. Once you verify, you can create a new password.
After you reset it online, go back to your HP laptop and log in with your new password. This method only works if your Windows account is linked to a Microsoft account. If you set up a local account instead (one that does not use an email address), this route will not work.
Factory reset: erasing everything to remove the password
A factory reset returns your HP laptop to the state it was in when it left the factory. It removes your password, but it also deletes all your files, programs, and personal settings. Use this only if you have no reset disk, no other admin account, and no access to your Microsoft account recovery options.
On the Windows login screen, click "Reset this PC" or look for a "Reset your password" option that mentions factory reset. Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything." The laptop will restart and begin the reset process, which takes 30 minutes to an hour.
When the reset finishes, the laptop will ask you to set up Windows as if it were new. You will create a new password at that point. Your old password is gone, but so are your files, installed programs, and any settings you customized.
Before you start a factory reset, back up anything you need to an external drive or cloud storage if you can. If you cannot log in at all, you may not be able to access your files to back them up — in that case, consider taking the laptop to a technician who can recover the files before resetting.
What to do if none of these methods work
If you have no reset disk, no other admin account, no internet connection, and the factory reset option does not appear on your login screen, you have reached the limit of what you can do without help. HP support can walk you through additional steps, though they may ask you to prove you own the laptop.
A local computer repair shop can also reset your laptop, usually for a fee between $50 and $150. They have tools and access that go beyond what is available to you at the login screen. If your files are important and you are worried about losing them, a technician is safer than attempting a factory reset on your own.
How to prevent this in the future
Create a password reset disk now, while you remember your current password. On Windows 10 or 11, open Settings, go to Accounts, and look for "Create a password reset disk" or "Reset your password." Insert a USB drive and follow the prompts. Store the USB drive somewhere safe — a drawer, a safe, or with a trusted person.
You should also write down your Microsoft account email address and keep it somewhere you can find it. If you ever need to reset your password online, you will need to know which email address is linked to your Windows account.
If you share your laptop with others, make sure at least one other person has an administrator account. That way, if you forget your password, they can reset it for you without erasing your files.
Frequently Asked Questions
Will resetting my password delete my files?
Only if you do a factory reset. Using a password reset disk, another admin account, or your Microsoft account online all preserve your files. A factory reset is the only method that erases everything.
Can I reset my password if the laptop is not connected to the internet?
Yes, if you have a password reset disk or another admin account on the laptop. You cannot use the Microsoft account method without internet. A factory reset works offline, but it erases your files.
What if I do not know my Microsoft account email address?
Check any emails from Microsoft or Windows that you may have received. You can also try common email addresses you have used. If you still cannot find it, use a password reset disk or another admin account instead, or contact Microsoft support with proof of identity.
How long does a factory reset take?
Usually 30 minutes to an hour, depending on how much data is on the laptop and how fast the hard drive is. The laptop will restart several times during the process. Do not turn it off or unplug it while the reset is running.
Can a technician recover my files after a factory reset?
Sometimes, but not always. If you have already done the factory reset, the files may be recoverable by a data recovery service, though this is expensive. It is better to back up your files before you reset, or to have a technician do the reset for you if your files are important.