How to Start System Restore From the Command Prompt

Enter rstrui.exe into Command Prompt to start the System Restore utility from the command line

What to Know

  • Open Command Prompt.
  • Type rstrui.exe in the window, and then press Enter.
  • Follow the on-screen instructions to complete the system restore.

This article explains how to start System Restore from the Command Prompt. The System Restore command is the same in all modern versions of Windows. The article also includes information on the dangers of fake rstrui.exe files.

How to Start System Restore From the Command Prompt

As long as you can start your computer in Safe Mode to access Command Prompt, you can still use System Restore by executing a simple command. Even if you're only looking for a quick way to start this utility from the Run dialog box, this knowledge might come in handy.

It'll take you less than a minute to execute the right command, and probably less than 30 minutes for the whole process to complete.

  1. Open Command Prompt, if it's not already open.

    Command Prompt highlighted in the Windows 10 Start menu

    You're more than welcome to use another command line tool, like the Run box. You can open the Run box in any Windows version through WIN + R.

  2. Type the following command:

    rstrui.exe
    

    ...and then press Enter or choose the OK button, depending on where you executed the command from.

    rstrui.exe command in Command Prompt window

    At least in some versions of Windows, you don't need to add the .EXE suffix to the end of the command.

  3. The System Restore wizard will open immediately. Follow the instructions on the screen to complete the restore process.

If you need help, see our How to Use System Restore in Windows tutorial for a complete walkthrough.

Be Cautious of Fake rstrui.exe Files

As we already mentioned, this tool is called rstrui.exe. It's included with a Windows installation and is located in the System32 folder:

C:\Windows\System32\

If you find another file on your computer that's called rstrui.exe, it's more than likely a malicious program that's trying to trick you into thinking it's the utility provided by Windows (unless it's in a subfolder within C:\Windows\WinSxS\). Such a scenario may take place if the computer has a virus.

Do not use any program that's pretending to be System Restore. Even if it looks like the real thing, it's probably going to demand that you pay to restore your files or prompt you with an offer to purchase something else to even open the program.

If you're digging around folders on your computer to find the System Restore program (which you shouldn't have to do), and end up seeing more than one rstrui.exe file, always use the one in the ​System32 location mentioned above.

Also take note of the filename. Fake System Restore programs might use slight misspellings to make you think they're the real thing. One example would be replacing the letter i with a lowercase L, like rstrul.exe, or adding/removing a letter (e.g., restrui.exe or rstri.exe).

Since there shouldn't be random files named rstrui.exe masquerading as the System Restore utility, it'd also be wise to make sure your antivirus software is updated. Also, see these free on-demand virus scanners if you're looking for a quick way to run a scan.

Again, you shouldn't really be peaking around in folders looking for the System Restore utility because you can just open it normally and quickly through the rstrui.exe command, Control Panel, or Start menu, depending on your version of Windows.

Was this page helpful?