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
How to Change Default View in File Explorer (Windows 11)How to Change Default View in File Explorer (Windows 11)May 09, 2025 pm 02:02 PM

Customize Your Windows 11 File Explorer: A Guide to Setting and Saving Your Preferred View Tired of File Explorer's default view? This guide shows you how to easily change and permanently save your preferred folder view in Windows 11, whether it's l

Fedora 42 Joins the Windows Subsystem for LinuxFedora 42 Joins the Windows Subsystem for LinuxMay 09, 2025 am 03:01 AM

Pushing the boundaries of Linux: exploring unusual applications. Purely for fun, of course. Posts 7 Technically, you can create a WSL image for any compatible Linux distribution. However, officially supported images offer a significantly smoother e

How to Move a Window When You Can't Click on the Title BarHow to Move a Window When You Can't Click on the Title BarMay 09, 2025 am 01:03 AM

When applications unexpectedly extend beyond your screen's edges, accessing their title bars becomes impossible. This is especially common with dual monitors but can occur on single displays as well. This guide offers solutions for regaining control

This Limited-Edition 'Skeleton” HDD Shows You How It Writes BytesThis Limited-Edition 'Skeleton” HDD Shows You How It Writes BytesMay 08, 2025 pm 09:04 PM

The HD-SKL, a limited-edition hard drive, is a modern take on Buffalo's 1998 Skeleton Hard Disk. The original, a 4.3GB drive with a clear acrylic case, was produced in a limited run of 500 units. While Buffalo cites its 1978 Melco 3533 turntable as

The New Surface Pro Doesn't Feel ProThe New Surface Pro Doesn't Feel ProMay 08, 2025 am 06:01 AM

The new Surface Pro: A step back? Microsoft's latest Surface Pro offers connectivity via two USB-C ports, supporting charging, USB 3.2 data transfer, and DisplayPort 1.4a (up to two 4K monitors at 60Hz). However, the device ships without a power ad

Microsoft Challenges the MacBook Air With New Surface LaptopMicrosoft Challenges the MacBook Air With New Surface LaptopMay 08, 2025 am 03:02 AM

Microsoft's latest Surface Laptop aims to rival the MacBook Air, but with some notable compromises. The absence of a Surface Connect port marks a significant departure from previous models, reflecting the growing prevalence of Thunderbolt and USB do

Solve the problem that the svn plugin in eclipse always prompts for password inputSolve the problem that the svn plugin in eclipse always prompts for password inputMay 07, 2025 pm 05:03 PM

1. Background Recently, when using the svn plug-in to manage remote warehouse code in eclipse, prompts to enter passwords are always prompted to enter passwords, which is particularly annoying. After hard work, I finally solved the problem and shared it with you~ 2. Analysis of the password mechanism of the svn plug-in and the cause of the problem. When we use the svn plug-in for the first time and enter the password, a file that saves the password will be generated, and then the svn plug-in will read the username and password information by default every time. When eclipse is started, the configuration information will be automatically read into the program cache. After the password of svn is modified, it is impossible to log in again, and there is no prompt to re-enter the password. At this time, we can delete the relevant configuration files and let the svn plugin prompt us to re-enter the password. However, ec

How to restore the win8 system details stepsHow to restore the win8 system details stepsMay 07, 2025 pm 05:00 PM

The steps to start system restore in Windows 8 are: 1. Press the Windows key X to open the shortcut menu; 2. Select "Control Panel", enter "System and Security", and click "System"; 3. Select "System Protection", and click "System Restore"; 4. Enter the administrator password and select the restore point. When selecting the appropriate restore point, it is recommended to select the restore point before the problem occurs, or remember a specific date when the system is running well. During the system restore process, if you encounter "The system restore cannot be completed", you can try another restore point or use the "sfc/scannow" command to repair the system files. After restoring, you need to check the system operation status, reinstall or configure the software, and re-back up the data, and create new restore points regularly.

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software