How to do a system restore using command prompt?

How to perform a System Restore using Command Prompt? (ransomware or virus is blocking Safe Mode)

The System Restore function restores operating system files to an earlier point in time. System Restore is useful when malicious software infiltrates a computer and damages the system files. Moreover, this function important when dealing with variants of ransomware infections that block computer screens. This tutorial describes the process of performing a System Restore using Command Prompt. In some cases, especially when dealing with ransomware infections, performing a System Restore is a complicated task, since modern fake antivirus programs and ransomware infections are capable of blocking an operating system's Safe Mode and Safe Mode with networking. This leaves one solution: performing a System Restore using Command Prompt.

To perform a System Restore using Command Prompt:

1. Start your computer in Safe Mode with Command Prompt. During the computer start process, press F8 key on your keyboard multiple times until the Windows Advanced Options menu appears, then select Safe mode with Command Prompt from the list and press ENTER.

Boot your computer in Safe Mode with Command Prompt

2. When Command Prompt Mode loads, enter the following line: cd restore and press ENTER.

system restore using command prompt type cd restore

3. Next, type this line: rstrui.exe and press ENTER.

system restore using command prompt rstrui.exe

4. In the opened window, click 'Next'.

restore system files and settings

5. Select one of the available restore points and click 'Next' (this will restore your computer system to an earlier time and date).

select a restore point

6. In the opened window, click 'Yes'.

run system restore

7. If you are dealing with a ransomware infection, download and scan your PC with recommended malware removal software after restoring your computer to a previous date.

Note that in some cases, System Restore does not eliminate security infections - malicious programs can hide within restore points. After performing a System Restore, scan your computer with legitimate anti-spyware software.

Prince Airamen Alucad

Same problem, have you fixed this already?

Hyperactive Insomniac

My laptop was freezing during start up. Couldn't get recovery to work in safe mode (opened settings, clicked backup and recovery... Nada...) Followed these steps and it's currently restoring to the last automatic backup. (So glad it does an automatic one, I never remember to do those.. :sweatdrop: :oops: )

James Orial

Anyone out there who can help me?

Kristina Lewis

I need someone to help i have tried everything to get back into my computer my ex changed my administrative password and I cannot get into anything he has me locked out and even has child control on or parental control somebody help me bypass this so I can get back into my computer plz

Yuki Kagami

Thank you so much

Balozi Temu

It is working but when it reach the point to select partition to restore the next button become inactive,,,

Please any one can help to fix the problem


I install dual boot but it show an error invalid arch independent magic
grub rescue>
I tried ls command still same error

Ineza Iwacu

it is working normal


Heather, did you ever get this figured out? I am having this EXACT issue with my laptop currently and am hoping I can find a remedy.

francis Bixx

I dit all of the above and it works, But i want to put in my own date one previous than given in the system restore window. reason being i know a date that works. there must be an other command to get to the window in which you can put your own date??

Katie Hassell

the freaking ad keeps kicking me to the bottom of the page!

nanayawgyasi donkor

what computer or windows are you using


I can't even do a restore in safe mode command prompt. My computer reboots and i get a message saying stop code:CRITICAL PROCESS DIED

Petar Delaš

Use DOS from CD

Elrobertosuperio Gaming

just restart the pc and dont press any thing on your pc and it will repair your hard drive and your pc will start normally

Harsha Vardhana

u r the man.bless u ... bless u bless u ...bless u..bless u...bless u


thanks , easy and working ...... thanks thanks thanks...........................................