How to Unlock Computer Without Password on Windows 10 via Command Prompt

Hi, I need help with my Windows 10 computer. I haven't used my PC for a long time, and I tried to turn it on today only to find out there's a password required to be input! Unfortunately, I don't remember what the password is, and I don't know how to reset or bypass it. Can someone help me with this issue? Appreciate your help!

Best Answered by

Oliver· Answered on Apr 18, 2024

You need to access Safe Mode with Command Prompt first to unlock your computer using cmd.

To unlock a computer via cmd, you should boot into Safe Mode first so that you can apply Command Prompt and reset the forgotten password. However, it might be a little complex for users who are unfamiliar with command lines. So, make sure you follow the guide below step by step to avoid unexpected problems.

Step 1. Hold the "Shift" key and click "Restart" on the login screen.

Step 2. Go to "Troubleshoot" > "Advanced Options" > "Startup Settings."

Step 3. Press "6/F6" to enter Safe Mode with Command Prompt.

Step 4. The Command Prompt window will show up. Input net user and hit "Enter." Then, take note of the target account name.

Step 5. Type in net user username 12345 and hit "Enter." (Replace "username" and "12345" with your own account name and password you want)

If this method is too hard for you to follow, you can also look for help from a third-party tool like EaseUS Partition Master Professional.

Free Download 

Windows 11/10/8/7100% Secure

It has a Password Reset feature that allows you to bypass the Windows password with a bootable USB easily. You can check the article below for more details and information.

Further reading: How to Unlock Computer Without Password | 2023 Top Ways

People Also Ask

Can I Reset My Windows 10 Password Without Logging in?

If you are bothered by the question: can I reset my Windows 10 password without logging in? Follow this post to learn the available solution and step-by-step guide.

Roxanne

Apr 18, 2024

Password Is Incorrect After Updating, How to Fix?

It's a rare case that your password is incorrect after updating Windows. If you don't know how to fix this, don't worry. Here, on this page, you will get a quick way to reset the password.

Oliver

Mar 03, 2024

Can I Login to Windows 10 Without Password?

What can you do if you can't recall the Windows 10 password? Continue reading this post, and we will provide a step-by-step guide for you to login to Windows 10 without password.

Oliver

Apr 18, 2024

I Need Help: How to View the User Password in Windows 10

Are you struggling to recall a forgotten Windows 10 user password and want to know how to view the user password in Windows 10? This post will give you the 2023 newest and most comprehensive answer.

Roxanne

Apr 18, 2024

Is There Any Way to Remove Login Password From Windows 10 When Locked Out

If you're tired of entering a password every time you open the computer, you can read this guide to learn how to remove login password from Windows 10 when locked out.

Roxanne

Apr 18, 2024

I Want to Reset Windows 10 Password Using Command Prompt Without Disk

Do you want to reset your Windows 10 password using Command Prompt without a disk? Then, you are coming to the right place. This post will teach you how to introduce an easier alternative tool.

Roxanne

Apr 18, 2024