search
HomeSystem TutorialWindows SeriesReset Windows 10 Local Admin Password with Command Prompt

Command Prompt is one of effective ways to reset Windows 10 local admin password. It's a good solution whether you forgot the password or just want to change the old password. Now this page will show you how to reset Windows 10 local admin password with Command Prompt in the two cases: when you are signed in & when you cannot sign in.

Case 1: When you're signed into Windows 10

When you are already signed in Windows 10, you can simply run Command Prompt as administrator and then reset password for the local admin account with the following commands. Replace with the name of your admin account and replace with the new password you want.

net user

Reset Windows 10 Local Admin Password with Command Prompt

Case 2: When you cannot sign in Windows 10

Forgot Windows 10 local admin password and therefore cannot log on to your computer? Take it easy! In this case, you can still reset the local admin password using Command Prompt and then regain access to your computer, but you need the help of a Windows 10 installation disk (or startup disk). Here are the detailed steps. Rest assured that they won’t cause you to lose any data.

Step 1: Prepare a Windows 10 installation disk.

If you don't have any available Windows 10 installation disk on hand, you can instantly create one by burning a Windows 10 ISO file to a USB or CD-ROM flash drive with the help of another accessible computer. Alternatively, you can create a Windows 10 installation media by referring to this page.

Step 2: Boot locked computer from the installation disk.

Insert the Windows 10 installation disk (USB or CD flash drive) to your computer where you need to reset Windows local admin password and then make the computer boot from the disk.

  • How to Boot Computer from USB Flash Drive
  • How to Boot Computer from CD/DVD Flash Drive

Step 3: Replace Utility Manager with Command Prompt.

1. After the computer boots up, Windows Setup screen will appear. On the Windows Setup screen, press Shift + F10 keyboard shortcut and a Command Prompt window will open.

2. In the Command Prompt window, run the following two lines of commands, which will replace the Utility Manager on Windows 10 sign-in screen with Command Prompt. Note: Replace the c letter with your operating system drive letter and press Enter key after typing each command.

move c:windowssystem32utilman.exe c:
copy c:windowssystem32cmd.exe c:windowssystem32utilman.exe

Reset Windows 10 Local Admin Password with Command Prompt

3. After the two commands are executed successfully, remove the Windows 10 installation disk and restart the computer. You can restart the computer using the command "wpeutil reboot" or by shutting down the computer and then turning it on again.

Step 4: Reset Windows 10 local admin password with Command Prompt.

1. After computer restarts and comes to Windows 10 sign-in screen, click on the Ease of Access icon in the lower-right corner. This will bring up a Command Prompt window if the previous three steps went right.

2. In the Command Prompt window, type the password reset command: net user > and hit Enter to set a new password for your Windows 10 local admin account. Once password reset is complete, close the Command Prompt and then you can sign into the admin account with the new password.

Reset Windows 10 Local Admin Password with Command Prompt

Alternatively, you can add a new local admin account by the following commands and then use this new admin account to sign into Windows 10.

net user /add
net localgroup administrators /add

Reset Windows 10 Local Admin Password with Command Prompt

Step 5: Put back the Utility Manager.

For your system safety, you'd better put back the Utility Manager after you finish resetting password for Windows 10 local admin account. If not, others who click on the Ease of Access icon will open the Command Prompt window and might change your password or make other changes to your system. In order to put back the Utility Manager, just need the steps as below:

1. Reboot your computer from the Windows 10 installation disk again.

2. When you reach the Windows Setup screen, press Shift + F10 to bring up Command Prompt window.

3. Run the command: copy c:utilman.exe c:windowssystem32utilman.exe. When the message "Overwrite c:windowssystem32utilman.exe? (Yes/No/All)" appears on the screen, type Yes and press Enter. That's it. Remove the Windows 10 installation disk, restart computer and everything is OK now.

Reset Windows 10 Local Admin Password with Command Prompt

Tips: Above are the steps you can take to reset local admin password using Command Prompt when you've forgotten the password and been locked out of Windows 10. They may not be so easy for non-technical people especially computer novices. If you are looking for an easier way to reset Windows 10 local admin password than Command Prompt, iSumsoft Windows Password Refixer is recommended.

The above is the detailed content of Reset Windows 10 Local Admin Password with Command Prompt. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
The Framework Desktop Might Be The Coolest Tiny PC I've SeenThe Framework Desktop Might Be The Coolest Tiny PC I've SeenMar 01, 2025 am 03:04 AM

Framework Desktop: The Good, the Bad, and the Unexpected The Framework Desktop, a compact PC emphasizing upgradability, largely delivers on its promise. iFixit's teardown reveals a design prioritizing standard components, making future upgrades sign

PowerToys Is the Ultimate Work From Home Companion AppPowerToys Is the Ultimate Work From Home Companion AppMar 03, 2025 am 10:07 AM

PowerToys: Supercharge Your Windows Work-From-Home Experience Working from home presents unique productivity challenges. Distractions abound, demanding a focused workspace. PowerToys helps optimize your home office, whether it's a dedicated space or

How to Find the Product Key for Windows 10How to Find the Product Key for Windows 10Mar 04, 2025 am 01:46 AM

Retrieve lost Windows 10 product key: Two ways Have you lost your product key after installing genuine Windows 10? Don't worry, this article will introduce two ways to retrieve your keys so that you can reinstall the system in the future. Case 1: Windows 10 is installed but the key is lost Even if you get Windows 10 through a free upgrade or genuine installation, you can easily find the product key using the iSumsoft Product Key Finder as long as your computer works properly. Method 1: Use iSumsoft Product Key Finder Download and install: Download and install iSumsoft Product Key Finder to your computer. Find the product key: Start

How to Install Windows 11 23H2 on Unsupported PCHow to Install Windows 11 23H2 on Unsupported PCMar 03, 2025 pm 12:55 PM

In the second half of 2023, Microsoft released the Windows 11 23H2 system. Many users can't wait to upgrade their computer to the latest version, but some users encountered the error message "This computer does not meet the minimum requirements..." when trying to install Windows 11 23H2 on an unsupported computer. don’t worry! This article will provide a step-by-step guide to how to install Windows 11 23H2 on an unsupported computer. Let's get started! Note: Microsoft said, "Installing Windows 11 on unsupported computers is not recommended. If you choose to install Windows 11 on hardware that does not qualify, you should risk compatibility issues." allow

Top 3 Windows 11 Gaming Features That Outshine Windows 10Top 3 Windows 11 Gaming Features That Outshine Windows 10Mar 16, 2025 am 12:17 AM

Upgrade to Windows 11: Enhance Your PC Gaming Experience Windows 11 offers exciting new gaming features that significantly improve your PC gaming experience. This upgrade is worth considering for any PC gamer moving from Windows 10. Auto HDR: Eleva

ASUS Zenbook S 14 (2024) Review: Iterative Refinement of a Premium UltraportableASUS Zenbook S 14 (2024) Review: Iterative Refinement of a Premium UltraportableMar 01, 2025 am 06:01 AM

The 2024 ASUS Zenbook S 14: A Top-Tier MacBook Air Competitor The ASUS Zenbook S 14 (2024) emerges as a leading Windows alternative to Apple's MacBook Air, boasting significant upgrades. This refined ultraportable retains its lightweight design and

The Best Ergonomic Keyboards of 2025The Best Ergonomic Keyboards of 2025Mar 03, 2025 am 10:02 AM

Recommended Best Ergonomic Keyboards in 2025 Ergonomic keyboards function the same as regular keyboards, but add support to reduce stress on wrists, hands and fingers. These keyboards are designed to keep your hands and wrists in a more natural position, helping to minimize muscle strain and prevent potential damage from prolonged typing. There are a wide variety of ergonomic keyboards available on the market, so be sure to consider which features are most important to you before purchasing. From layout to design, each type offers unique benefits based on your preferences and needs. Most ergonomic keyboards fall into two categories. The first category is the split keyboard, which, as the name suggests, divides the key layout into two parts for a more natural wrist posture. There are two types of split keyboards:

How to Change the Font and Layout of PowerShell WindowHow to Change the Font and Layout of PowerShell WindowMar 03, 2025 pm 01:03 PM

Enhance your Windows 10 PowerShell experience with these simple customization steps! This guide shows you how to adjust PowerShell fonts and enable automatic text wrapping for improved readability and optimal window fitting. Let's get started: Step 1

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools