System restore command windows

How to Perform a System Restore from Command Prompt Windows 10/7? [Clone Disk]

By Ariel | Follow | Last Updated November 19, 2019

Summary :

Do you know how to start a system restore from command prompt? If you are trying to figure it out, come to this post. MiniTool will walk you through a full guide to perform a system restore from command prompt on Windows 10 and Windows 7.

Quick Navigation :

As you know, the system restore feature can help you restore operating system to an earlier working state. Besides, you can use this feature when some ransomware attacks your computer and damage the system files.

So, when you encounter the ransomware attacks, you may need to restore system. However, performing a system restore is not an easy operation. This is because, as you know, the fake antivirus programs and ransomware infections may block the Safe Mode of your operating system.

At this time, you have to run system restore from command prompt. Now, let’s see how to perform sys restore command on Windows 10 and Windows 7.

How to Perform a System Restore from Command Prompt Windows 7

Step 1. Press the Power button to turn on your PC. During the start process, press F8 key to open the Advanced Boot Options screen.

Step 2. Select the Safe Mode with Command Prompt by pressing the arrow keys. After that, press Enter.

Step 3. In the command prompt, type cd restore command ad hit Enter.

Step 4. Then type rstrui.exe command and hit Enter

Step 5. Now, a System Restore window pops up. Click Next to continue.

Step 6. In the list of restore points, select a restore point that you want to restore and click Next.

Step 7. Then you will receive a confirmation message: Once started, System Restore cannot be interrupted. Do you want to continue? Just click Yes.

Now, your system should be restored to an earlier working state. Next. Let’s see how to perform a Windows 10 system restore from command prompt.

How to Perform System Restore from Command Prompt Windows 10

This process is similar to do on Windows 7. Before you do, you can read this post to boot your Windows 10 PC from Safe Mode. After that, you can follow the steps below to perform the Windows 10 system restore from command prompt.

Step 1. Press Win + R keys to open the Run dialog box, and then type cmd in it and press Ctrl + Shift + Enter keys to open the elevated command prompt that will grant you an administrator privilege.

Step 2. In the pop-up window, type rstrui.exe command and hit Enter.

Step 3. The system restores window will pop up immediately, click Next to continue.

Step 4. In the list of all system restore points, select the Restore point that you prefer to and click the Next button.

Читайте также:  Install mac os on mac pro

Step 5. Then confirm your restore point by clicking the Finish button. After that, your computer should be restored to an earlier state and fix this issue.

Now, I believe you already have known how to perform a system restore from command prompt Windows 10/7.

Tips & Tricks for the Problems When Performing System Restore from Command Prompt

In addition to the above question, many users encounter new problems when running system restore from command prompt. For example, a user received the error message “not enough memory resources are available to process this command”. For this problem, you can try freeing up your PC’s storage space.

There are some users complained that their PC won’t boot and cannot access the Safe Mode. Don’t be alarmed. You can read this post, in which we provide detailed steps for entering Safe Mode when your PC won’t boot.

ABOUT THE AUTHOR

Position: Columnist

Ariel is an enthusiastic IT columnist focusing on partition management, data recovery, and Windows issues. She has helped users troubleshot various problems like PS4 corrupted disk, unexpected store exception error, the green screen of death error, etc. If you are searching for methods to optimize your storage device and restore lost data from different storage devices, then Ariel can provide reliable solutions for these issues.

How to Run System Restore via Command Prompt in Windows 10?

This article will introduce how to launch System Restore via command prompt and run system restore in Windows 10 from command prompt to repair your computer.

By AOMEI / Last Updated March 9, 2021

Content of this article:

How do I run System Restore from command prompt in Windows 10?

System Restore in Windows 10 command prompt is a useful tool to restore system to previous state if anything bad happens to system. Sometimes, a problem is so bad that your computer cannot start properly, that is to say, you cannot run system restore from inside Windows 10. Luckily, you still can start your computer in safe mode or using installation disc.

But sometimes it’s difficult for you to perform system restore in safe mode, because modern fake antivirus program and ransomware is able to block the safe mode or safe mode with networking. At this time, you can only use command promptВ in safe mode to make it. Also, installation disc is another way to access command prompt. And I’ll introduce both ways in details below.

Method 1: Run Windows 10 system restore in safe mode using command prompt

As above mentioned, if you are unable to access your Windows session normally, due to some error (driver installation, Windows update) or virus infection. You can try to restore your system settings to an earlier date.

Please note that the restore operation cannot be undone if you perfom system restore in safe mode. If you want to undo changes made by this oeperation, you could choose to use installation disc that comes along with your computer.
If you don’t have any kind of this disc, it’s a wise choice to create Windows 10 recovery driveВ or installation disc on another working computer with the same hardware of this computer.

Next, you will learn how to launch the System Restore tool from Safe Mode using the Command Prompt and run system restore in Windows 10. Also, it still works in previous version of Windows, such as, Windows XP/Vista/7/8/8.1.В

1. Press and hold theВ ShiftВ key while you selectВ PowerВ >В RestartВ from theВ Start menu.

Читайте также:  Windows 10 rus nnm

2. After your PC restarts to theВ Choose an optionВ screen, selectВ TroubleshootВ >В Advanced optionsВ >В Startup SettingsВ >В Restart.

Note: If your computer can boot normally, press Win + R and type cmd in the Run box.

3. Select Enable Safe Mode with Command Prompt via number key 6 or function key F6.

3. Sign in using an administrator account if needed. Once the command prompt is showing, type the command: rstrui.exe, then press Enter.

Note: The rstrui.exe is located in C:\Windows\System32 folder by default. Thus, if you findВ your computer has more than one rstrui.exe file or the file name is not exactly the same, for example, rstrul.exe, restrui.exe or rstri.exe, please treat it with caution. These willВ happen if the computer has a virus.

4. Here you will come to System Restore wizard. You can either use recommended restore point or choose a restore point. Then click Next. Follow the instruction to complete system restore.

Method 2: Run system restore in Windows 10 using installation disc

1. Create an installation disc with media creation tool for Windows 10В if you don’t have. Also, if you don’t have any CD/DVD,В you can choose to create a recovery disk in Windows 10 with built-in tool Recovery Drive.

2. Insert the installation disc into your computer, start your computer and press the specific key to access BIOS, such as, ESC, F2, etc. Then, go to Boot menu and move the CD-ROM Drive to first option via “+”, then press F10 or Enter to exit this window.

3. Click Next > Repair your computer > Troubleshoot > Advanced options > Command Prompt, then type rstrui.exe and hit Enter to start the System Restore Wizard. After that, you just need to follow the on-screen instructions to restore your computer to previous date.

However, this method can be tricky sometimes. You may get error message, such as, System Restore did not complete successfully, Windows cannot find a system image on this computer, etc. Besides, you may find that there is no system restore point when you open this wizard. So, you’d better run a guaranteed software to restore your system.

Run system restore in Windows 10 using command prompt with AOMEI.exe

IfВ system restore not working in safe mode or using installation disc, there is still another way to start system restore from command prompt in Windows 10: use a third party software.

AOMEI Backupper ProfessionalВ is one of the best backup and restore software. With it, you can restore system, partition, hard drive to previous date. With its Universal Restore feature, you can even restore system to a dissimilar hardware.

Before running system restore using command prompt in Windows 10, you need to do some preparations.
в‘ First of all, you should have aВ system backupВ created by AOMEI Backupper. Because the restore operationВ is only based on backup image created by AOMEI Backupper. If you don’t haveВ a system backup with AOMEI Backupper, you can create one now based on another system working properly.
в‘Ў Next, If you cannot boot computer,В create a bootable mediaВ with AOMEI Backupper. Boot machine from bootable media and it will bring you to the main interface of AOMEI Backupper. Open command line under Tools tab.
в‘ў At last, to make sure the restore process is smooth, you can use Check Image utilities to check if system image backup is intact and without error.

Читайте также:  Windows powershell script commands

Now, let’s see how to run Windows 10 system restore using command prompt with AOMEI Backupper. Please download AOMEI Backupper Professional at first and prepare the aforementioned system image and bootable media.

1.В Insert the drive containing image into your computer and make sure it can be recoginzed.В

2. Type the following command and go to AOMEI Backupper installation directory. For example: cd C:\Program Files (x86)\AOMEI Backupper.

Notes:
вќ¤ The pathВ cd C:\Program Files (x86)\AOMEI Backupper is just an example, please check the installation directory of this software and replace it with your own.
вќ¤ If you run this command under Windows PE environment, the drive letters might change.

3. Run the following command toВ restore image on the current computer: AMBackup /r /t [backup type] /s «[backup location path]» /d [destination location]

For example: To restore the system backup saved in J:\systembackup1 to disk 1. You should type the command:

AMBackup /r /t system /s “J:\system backup\systembackup1.adi” /d 1

If you need to restore to another computer, AOMEI Backupper Universal Restore feature can make this very easy. For example: Run system restore in the image named «systembackup1.adi» to the partition 0 on disk 0 and perform a universal restore.

AMBackup /r /t system /s «D:\system backup\systembackup1.adi» /d 0:0 /x

Note: there are some required parameters in AOMEI Backupper.
: restore the backup of system, disk, partition or dynamic volume.
: specify restore type.
: specify the path of the image file.
[/x]: specify universal restore to restore system to dissimilar hardware. It has to be used with «/t system» and «/t disk».

Easier way to restore system with AOMEI Backupper

If you are not fond of using Windows 10 system restore command line, you can also choose to restore easily from AOMEI GUI in the main interface of AOMEI Backupper. It only takes you 4 steps.

1. Connect the device containing system image backup to your computer and start it via bootable media.

2. In the main interface of AOMEI Backupper, click Restore and Select Image File to choose a system image backup from the connected device.

3. Tick Restore this system backup and click Next.

4. Choose a destination disk if you tick Restore system to other locationВ and click Next. Then, confirm the operation summary and click Start Restore if there is no problem.

Note: If the computer you restore has different hardware, please remember to tick «Universal Restore». This feature can ensure secure boot after restoration.

Besides backup and restore, AOMEI Backupper is also an excellent disk clone software. With it, you canВ make an exact copy of hard drive. If you need to keep OS on SSD, you can use this software to clone OS to SSD. Besides Windows 10, this tool can be used in Windows 7/8/8.1/XP/Visa.

Conclusion

To make a conclusion, system restore Windows 10 with command prompt may be helpful to revert your system to a good state, but System Restore is not as almighty as you think. For example: system restore does not restore your personal files and remove virus.

If you have a system backup created by AOMEI Backupper, you can run system restore in Windows 10 using command prompt. Also, you can choose to restore from AOMEI GUI.

If you want to protect unlimited computers within your company, you can pickВ AOMEI Backupper Technician. With the inbuilt AOMEI Image Deploy tool, you are also allowed to deploy/restore system image file on server-side computer to multiple client-side computers over network.

Оцените статью