System Restore is a feature in Windows that creates restore points to automatically revert your computer in case of system failures. A restore point is a snapshot of your computer's state at a specific date and time. When issues arise with your PC, you can use System Restore to roll back system files and settings to an earlier condition. However, System Restore is primarily designed to address issues like corrupted registry keys or driver problems.

It would be foolish not to take advantage of the many useful features that system commands offer. Read on to learn how to use system restore commands on Windows 10/11.

To start System Restore, open Command Prompt in Windows 10 or 11.

What is the System Restore command?

System Restore is a command that allows you to revert the operating system settings and files to a previous point in time before you made changes. The command-line for System Restore is rstrui.

You can use the following commands as part of a system restore process:

    • Restore all files and folders from a backup: rstrui /restore
    • Restore a single file or folder from a backup: rstrui /restore /f:\
    • Restore a single file or folder from a backup on another drive: rstrui /restore /f:\ /r:

System Restore Command

It's important to know how long each command will take, what it does, whether any files might be affected, and how long the recovery process will take when using System Restore.

Command-line options for System Restore

You can perform a system restore using the following command line:

This command will help you to perform a system restore.

Command: "rstrui"

This command will create a restore point.

Command: "rstrui /restorehealth" This command is used to run the System File Checker (SFC) recovery user interface and perform a special scan to repair system files. The "/restorehealth" parameter instructs SFC to restore the system's healthy state by repairing any corrupted or missing system files it finds. This command is typically used in Windows operating systems to address system stability issues or errors.

This command will show you the restore points that have been created on your system.

Command: "rstrui /restorehealth" /v:1

This command will show you the restore points that have been created on your system, and allow you to select one as a backup if needed.

Command: "rstrui /restorehealth" /? This command is used to launch the System File Checker and restore the health of the system using default settings. The "/?" parameter is typically used to display help information for the command, providing detailed usage and options related to the command.

This command displays more detailed information about the options available for creating a restore point.

    • /s: System Restore
  • /r: Resume
    • /l: Logical recovery (requires the /r parameter)

With the /s option, you can specify a point in time and date to restore to. When restoring from the Control Panel, choose System and Security > System Protection > Configure Disk Space > Restore My Files and Settings > System Protection tab > Create a Restore Point.

How do I perform a System Restore in Windows 10 using the Command Prompt?

The best time to perform a System Restore from the Command Prompt is when you can't access your Windows session normally due to a mistake (driver installation, Windows update) or a virus. This allows you to revert system settings to an earlier date.

Please note that using System Restore through Safe Mode will irreversibly restore your operating system to a previous point in time. If you wish to undo this action, it's recommended that you use the installation disc that came with your computer. If you don't have this disc, creating a Windows 10 Recovery Drive or installing the disc on another computer with the same hardware is a good idea.

Now, you will learn how to boot into Safe Mode and run System Restore in Windows 10 using Command Prompt.

  • While holding down the Shift key, select Power > Restart from the Start menu.
  • When your PC restarts and you see the Choose an option screen, select Restart.
    Press the number 6 or the F6 function key to enable Safe Mode with Command Prompt.

Open Startup Settings

    Log in with an administrator account if necessary, and when the Command Prompt appears, type rstrui.exe and press Enter.

Note: The rstrui.exe file is normally located in the C:\Windows\System32 folder. If you find this file in another location or if it has a different name, proceed with caution, as it might be a virus that has infected your computer.

    The System Restore Wizard will appear here. You can use the recommended restore point, or choose a different one, then click on the "Next" button. Follow the on-screen instructions to complete the System Restore.

Confirm performing a system restore

How do I perform a System Restore in Windows 7?

To perform a System Restore in Windows 7, follow these steps:

    When your computer boots up, press F8 to enter Safe Mode. Then, repeatedly press F8 while Windows is starting up. This will open the "Advanced Options" menu. Press Enter to start Safe Mode with Command Prompt. Once the Command Prompt loads, type in cd restore and hit Enter. Next, type rstrui.exe and hit Enter.

Please enter the command line to perform a system restore.

    Click "Next" in the newly opened window. Select an available Restore Point and click "Next." Click "Yes" in the newly opened window.

Complete System Restore

    If you are infected with ransomware, restore your computer to a date prior to the infection, and then download and run a scan with a recommended malware removal tool.

If you are looking for a compatible partner to back up your data, Todo Backup tools would be an ideal choice. This backup utility can help you restore your data in case of unexpected system crashes or virus attacks that lead to data loss.

However, Command Prompt and Todo Backup are useful tools for managing your computer. With Command Prompt, you can easily run various commands to perform tasks like restarting or shutting down your PC, creating shortcuts, or renaming files and folders.

With Todo Backup, you can back up important files on your PC and create a system image to restore your entire computer in case it won't boot.

Ultimate Ruling

System Restore is a powerful command that can quickly revert Windows to any previous state. Restore points are automatically created whenever you make changes to your computer. Additionally, System Restore can minimize downtime caused by hardware/software failures and help you recover from viruses and other security threats.

Frequently Asked Questions (FAQs) About System Restore Using the Command Prompt in UTF-8 Encoding

Is institutional reconstruction a good idea?

Yes, if your computer is having issues, it's a good idea to run a System Restore. This will attempt to fix the problems by returning your computer to an earlier point in time when it was working fine.

**2. Will I lose everything if I do a system restore?**

If there has been any data corruption or deletion of important files on the hard drive since the last restore point, you could lose all your important data.

3. What should I do after a system restore?

After performing a System Restore and (if prompted) restarting your computer, you should verify that all your files are intact and everything is running smoothly.