In the case of malware damage to the system files or a virus attacking your computer, in order to effectively solve such problems, you can use the Command Prompt to perform factory reset. This article will show you how to do factory reset Command Prompt.

Introduction of Factory Reset

The computer factory reset essentially means going back to the original system state. It will restore the existing operating system to the original one, and will also delete all the data on the system related partition. Factory reset usually used to fix operating system problems.

Factory reset can quickly and easily remove the problematic data or applications; in addition, if there is no way to solve the problem of the computer or the computer is running too slow, factory reset is the most suitable way.

Factory Reset Command Prompt

Setting the computer to the factory settings can easily solve problems related to the operating system. So you can make your computer recover as early as possible by executing the factory reset Command Prompt. Then how to perform factory reset Command Prompt? Here are the steps of factory reset Command Prompt.

Note: You can use MiniTool software to back up important files before doing system restore Command Prompt. You can also use third-party recovery software to do data recovery after resetting computer.

You should make sure that you have created a restore point before so that you can do factory reset Command Prompt. And there are two methods to do factory reset Command Prompt.

Option 1:

Step 1: Type cmd in the search box and click Command Prompt to continue.

enter cmd to choose Command Prompt

Step 2: Enter rstrui.exe at first in the Command Prompt window and then press Enter to continue.

type rstrui.exe in the Command Prompt window

Step 3: Click Next to choose an available restore point at first and then click Next. Then click Finish and Yes to perform factory reset Command Prompt.

confirm your restore point to perform factory reset Command Prompt

You need to wait for the computer to do factory reset for a period of time. After the process is completed successfully, then you can use your computer normally.

Option 2:

You can also type systemreset –factoryreset in the Command Prompt window and press the Enter. Then you can make a choice of how to do factory reset.

Note: If Windows 10 cannot load normally, then you need to boot into WinRE and choose Command Prompt to continue.

make a choice of how to do factory reset

Other Ways to Factory Reset

So in addition to using Command Prompt for factory reset, what other methods can you use to reset your computer? You can also use the features that come with Windows – Reset this PC and refresh Windows with Windows ISO file. Next, I will use Windows 10 as an example to show how to use these two methods to perform factory reset.

Reset This PC

The Reset this PC feature that comes with Windows 10 can help you reset the computer, and if you choose Keep my files before resetting the computer, it will not lead to data loss.

Here are the steps of how to reset this PC:

Step 1: Click Update & Security on the Settings page to continue.

Step 2: Click Recovery and click Get Started under Reset this PC to continue.

click Get Started to reset your PC

Step 3: Make a choice of how to reset this PC.

options of how to reset this PC

Step 4: Read the subsequent messages and click Reset.

After the computer has restarted successfully, you have refreshed Windows 10.

Windows 10 ISO Image File

You can use this way to perform factory reset. And you can choose to keep your files and programs, then you need to download the Windows 10 ISO image file before proceeding (you can jump this step if you have a Windows 10 ISO image file).

Step 1: Find the location of the Windows 10 ISO file, then double-click it to continue.

Step 2: Double-click setup at first in the pop-out window, and then click Yes to continue.

double-click setup to go ahead

Step 3: Choose Download and install updates (recommended) if your computer is connected to the internet, and then click Next to continue.

choose Download and install updates

Step 4: Wait for a short time to check for updates, and then click Accept when you see the License terms to continue.

Step 5: Wait for the computer to check for updates and make sure you are ready to install.

Step 6: At last, when the Ready to install screen appears, you can click Change what to keep to change the things you want to keep. Then click Next and Install.

click Install to begin reinstalling Windows 10

After these operations have been done step by step, then you just need to wait for the computer to restart.

Useful Suggestion

Actually, you can use MiniTool ShadowMaker – a piece of professional and secure backup and restore software to restore your computer. Besides, it backs up disks and partitions and it also supports syncing files to avoid losing your data as much as possible. It can help you to restore the computer to a previous state, too.

I highly recommended you download it and have a try.

MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

If you want to use MiniTool ShadowMaker to restore your computer to factory status, then the premise is you have backed up system using MiniTool ShadowMaker when Windows is pure. Then create bootable media to boot the computer to restore system.

Step 1: Launch MiniTool ShadowMaker at first, then choose Local or Remote to get the main interface by clicking Connect. Then select the operating system you backed up to restore. Click Restore.

restore operating system

Step 2: Click Next at first and then check MBR and Track 0 or else you can’t boot your computer, then click Next.

check MBR and Track 0

Step 3: Choose a disk to restore and click Next.

Step 4: After the operation is completed, click Finish.

restore operating system

After the operation progress has finished, you can refresh Windows 10.

Click to Tweet


This article introduces how to use Command Prompt to perform factory reset. You can finish factory reset through several steps. Besides, if you want to keep your files, then you can make your computer go back to previous version through Reset this PC or Windows ISO file.

If you have some thoughts want to share, please send an email to [email protected]

  • linkedin
  • reddit