Restore Windows System From Command Line

0 Flares 0 Flares ×

Restore Windows SystemMost of us at some point of time might have affected by computer virus, malware, Trojan etc. Sometimes these viruses block antivirus and recovery tools; in that case restoring Windows system becomes difficult. If your computer is affected with virus it may not load correctly due to corrupted system files. Situation become worst when you are unable to restore to an earlier restore point from the user interface. If you are in the same situation you can try to Restore Windows System from command line. If by any means you can login to your command prompt then there are chances that you could restore your system.

In this article I will explain how you can restore a Windows system from command line in the safe mode. This trick works in all version of MS Windows. 

Steps to Restore Windows System from Command line

1. First of all restart your system and during the boot process press F8 to enter into Windows Safe Mode.

2. Select the Safe Mode With Command Prompt option from the boot menu.

3. If multiple OS are installed then select the OS which is infected and then select your account and enter the password.

4. After successful login you can see a command prompt.

5. For Windows XP type the below command and hit enter:

%systemroot%\\system32\\restore\\rstrui.exe

For Windows-7 type the below command and hit enter:

rstrui.exe

6. Now a system restore UI will open and here select the option “Restore my computer to an earlier time” then click on Next button.

7. Now select the date to which you want to restore your windows system and click next button.

8. Now your system is restored to the desired date. Enjoy!

So this is the process to Restore Windows System from command line. However to enjoy this process you should have enabled windows system restore service earlier.

Guru

+Ayodhyanath Guru holds a B.Tech degree in Electrical Engineering and has worked with various prestigious clients in the IT industry and presently working as a Software Engineer. He is a part time blogger and presently authors the Jafaloo.Com blog. Being a tech enthusiast Guru likes to surf the web and blogs about interesting technical topics like How-To guides, freewares, Tutorials, Software, Gadgets, web applications etc. Apart from blogging he likes coding in Java/J2EE and PHP.

You may also like...

2 Responses

  1. kwerty says:

    Step #5 shows the wrong command line for XP – it won’t work. The correct line is:
    %systemroot%system32restorerstrui.exe

  2. Thanks Kwerty, That was a escaping character issue in the editor. Thanks. Its corrected.

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 0 Flares ×