Execute System Restore from the Command Line / Safe Boot

Contributor Icon Contributed by davak Date Icon November 29, 2004  
Tag Icon Tagged: Windows

System restore not working well for you. You’ll have much better success running it from the command line.


Running System Restore from the command line is often the only way to get a system back up and running. I’ll describe it from the initial boot.

    1. Restart your system
    2. When the system first boots, type F8 to bring up the boot menu
    3. Select the Safe Mode with Command Prompt option
    4. Log-on as administrator if needed
    5. At your command prompt type %systemroot%\system32\restore\rstrui.exe
    6. Hit Enter
    6. This will open the system restore wizard…
Previous recipe | Next recipe |
 
  • jimmA
    I tried this and absolutely nothing happend, just returned to a c: prompt. XP pro SP2. Any help appreciated. xflag@socal.rr.com
  • Rob
    Try

    c:\windows\system32\restore\rstrui.exe

    That sould work on most systems.
  • jimmA
    I found that by typing it twice (type then enter, then type again) the System Restore window opens but it is blank, no options to do anything. Apparently my System Restore is not working either, nor is "Go back to the last good configuration (when system worked). Obviously, Microsoft has a great business: they put in features that don't work and we keep buying them. Can you imagine a bread baker who sells you bread but you can't eat the loaf, staying business?
  • Kinney
    Thanks for this tip. I bungled the installation of a new video card and my screen was blank after the post screen, which I could see. Restoring to yesterday got me back up and running.

    This tip was a lifesaver for me. Sorry about the 2 folks for whom it didn't work.
  • Anonymous
    <ul id="quote">
    jimmA wrote:
    I found that by typing it twice (type then enter, then type again) the System Restore window opens but it is blank, no options to do anything. Apparently my System Restore is not working either, nor is "Go back to the last good configuration (when system worked). Obviously, Microsoft has a great business: they put in features that don't work and we keep buying them. </ul> ok well I have had the same problem. This sucks Im losing money because iertutil.dll deleted its self. need help asap! Home Business at risk!
  • Alexandra
    It helped but the problem i that my system restore doesnt even show up! =( Any advice?
  • Bill
    Very useful information. It help me to restore my computer to a prioe time for fixing a system issue.


    Thanks
  • gp
    Tried this, rstrui.exe wont execute!
  • Jeremy
    I had a virus that was locking my computer down today. And if it weren't for this helpful tip from this site, I would have had issues. Just follow what I did below. I didn't use the cmd.exe (command prompt) function.

    Shut down your computer, and then wait a couple minutes.

    Start up your computer, and press f8 until the black screen with options pops up.

    Choose Safe Mode. You don't need the command prompt.

    And then a pop up will come up asking you a Yes or No question. It should say "Click No if you want to skip to System Restore."

    Click No. And then the System Restore program starts up, and then revert back to a date where you KNOW your computer was working and/or didn't have a virus. I hope this helps any of you.
  • donmars
    Only problem is, if you really had a virus before then you still have a virus now!!!
  • kwaifa
    thanks, it ok
  • Roland
    What if XP won't boot?
    I'm managing to boot to Command prompt from XP CD, Repair, However I cannot start rstrui.exe there.
  • dvsdave01
    What if nothing comes up even when Safe Mode w/ Command Prompt option is selected? I get a black screen with Safe Mode all around but no icons or menu bars, nothing. Is there another way to access the command prompt?

    I really need help fast...Thanks
  • gaara438125
    I think a system restore will work for me; my problem is windows xp sp2 was installed on my computer clumsy me, I already had it installed now whenever I turn my computer on it goes to windows xp setup, then a light blue screen the restarts, I did the F8 method and tried; safe mode, safe mode with cmd, safe mode with networking, last known good settings, and disable auto restart on system failure, but when safe mode starts loading it says a quick pop up that I THINK says (operation was unsuccessful) then restarts when I do last known good settings and the disable restart it just goes to the windows xp light blue screen then retarts, if I try repairing it by booting with cd it says 39 mins left, the. At 23 mins it tell me it cannot get a file name (mndsh.dl) <--something like that. What can I do now?
  • wharbin12323422
    when you enter rstrui.exe in the command prompt then hit enter go to your task manager and click on the tab that says processes once you have done that locate rstrui.exe and right click and select open or open location depending on what system you have the wait once open start your system restore.
blog comments powered by Disqus