Programmatically restore a Windows to previously created restore point

I have created a system restore point in C++.
My question is, is it possible to programmatically restore the Windows system to a previously created restore point, or we have to use the Windows tool?

I have created a system restore point in C++.
My question is, is it possible to programmatically restore the Windows system to a previously created restore point, or we have to use the Windows tool?
The System Restore application programming interface (API) allows you to save system state information, to change the state,
and to roll back to a previously held consistent state. 
Click here 
Thanks
Rupesh Shukla

Similar Messages

  • Rstrui.exe Create a system restore point on windows server 8 standard

    Hi,
    Before making system changes, I need to create a system restore point on windows server 2008 Standard with SP2 installed.,  I found where to accomplish that via the UI, but the file isn't found when I search the C:\windows directory on the server.
    The executable should be C:\windows\system32\rstrui.exe, unless it was changed for Server 2008. I have system protection turned on for the C: drive.This problem also exists on Windows server R2 enterprise with all updates applied.
    I searched the install media (DVD) it wasn't there. I tried the full name (rstrui.exe) as well as truncated versions. I've searched on all of the applicable forums for rstrui.exe and "create system restore point".
    Does someone know where I can get rstrui.exe for windows server 8.  It's not available on windows server R2 enterprise or essentials either. If there is an alternative method of creating restore points on windows server 8, please point me in the
    correct direction. Is it available in any of the variations of windows server 12. I have all of the updates installed when checking for how to create a system restore point or with searching for rstrui.exe. BTW, performing "system backups" or implementing
    "previous versions" functionality work just fine.
    Thank you in advance,
    Steve

    Hi Steve,
    I replied the same question you posted earlier:
    https://social.technet.microsoft.com/Forums/en-US/68352496-2fe8-4320-8848-f22d0d1a6f6b/rstruiexe-missing-unable-to-create-restore-point-windows-server-8-std-r2?forum=windowsbackup
    To me it seems that the function is removed in both Windows 2008 SP2 and Windows 2008 R2. Here is my original reply:
    I did not find this file either on my new-installed Windows 2008 SP2 system. I assume it is retired in Windows Server 2008 and the function is replaced by Windows Server Backup. I cannot confirm why there is still an option in MSCONFIG which point to
    rstrui.exe but I can find the file nowhere. Also this option is removed in Windows Server 2008 R2.
    Here link a link for using Windows Server Backup to create system state backup as a restore point:
    Recover
    the System State
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I have a pc with windows 7 professional.  I use adobe cs6 production suite and all of a sudden premiere pro stopped working.  I had installed a program recently and created a system restore point prior to it's installation.  I installed Zaxwerks proanimat

    I have a pc with windows 7 professional.  I use adobe cs6 production suite and all of a sudden premiere pro stopped working.  I had installed a program recently and created a system restore point prior to it's installation.  I installed Zaxwerks proanimator 5.1.  Restored computer back and I now get an error when trying to run any cs6 program it is a configuration error and it says to uninstall and reinstall.Won't uninstall says I have an error 1.  What should I do?

    clean and then reinstall, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How to create restore point in windows server 2008 service pack1

    hi i am bhaskar ... how to create restore point in windows server 2008 service pack1 and how to restore system from a restore point in windows server 2008 service pack1.. is this option available or not ? what is the difference between shadow copies and
    restore point ? instead of restore point we have this shadow copies option in windows server 2008 ?Bhaskar

    AFIK, Restore Points doesn’t exist in Windows 2008.
    Volume Shadow Copy option can be used to achieve:
    Creating consistent backups of open files and applications
    Creating shadow copies for shared folders
    Creating transportable shadow copies using a hardware provider — for backup, testing and data mining scenarios
    Quickly recovering and restoring files and data
    It is more like a file, data, application backup. 
    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX
    Blogs - http://blogs.sivarajan.com/
    Articles - http://www.sivarajan.com/publications.html
    Twitter: @santhosh_sivara - http://twitter.com/santhosh_sivara
    This posting is provided AS IS with no warranties, and confers no rights.

  • Creating System Restore Points in Windows Server 2012

    Searching for "Create a restore point" on Windows Server 2012, brings up a link that when clicked takes you to System Properties. Once there, there is no System Protection tab or option to create a system restore point. Windows Server Backup
    is installed and functioning.
    Is this feature available in Windows Server 2012? Was it replaced with Shadow Copies for Shared Folders?
    Thanks for any insight you can provide.

     HI,
    To create a system restore point, run msconfig.exe, that will launch a UI, click the tools tab, select system restore, that should invoke a UI which asks if you want to  restore to an earlier version or do you want to create a new restore point. I clicked
    "create a new restore point" The problem that I ran into is that when I click that button is I receive the error: can't find "C:\Windows\System32\rstrui.exe". That's the .exe which supports the "Create / restore point' processes. I
    posted a question about the missing .exe on the windows > windows 8.1 > Repair and recovery forum and was told to post it here. :>) The subject title of that post is "rstrui.exe Create a system restore point on windows server 8 Standard".
    That post documents the steps that I followed trying to create a system restore point. (FYI: I'm not trying to backup any drives. I know what a system restore point is and what backup is. They are two different animals). I want to create a restore
    point prior in order to prep for installing an App. So, If a problem occurs; the registry keys and app files can be backed out to some extent. BTW: Create system restore point on windows 8.1does work perfectly well, there's a different UI. I just didn't
    know where to post the initial problem.regards,Steve

  • I have Dreamweaver CS3 on a PC with Windows Vista SP2. The program recently began to hang when opening previously created HTML files. How do I fix this?

    I have Dreamweaver CS3 on a PC with Windows Vista SP2. The program recently began to hang when opening previously created HTML files. How do I fix this?

    Hi rmarchione,
    Can you try restoring preferences and let us know if it helps?
    Restore preferences | Dreamweaver CS4, CS5, CS5.5, CS6
    Thanks,
    Preran

  • Cannot create a system restore point [service cannot be started in Safe Mode (0x8007043c)]"

    Is there a solution to years old error message "Cannot create a system restore point [service cannot be started in Safe Mode (0x8007043c)]" I have been trying to create a restore point or image on an external hard drice, but I get the quoted message
    and the system is NOT in safe mode.  I have reviewed all the previous suggestions on this forum to no avail.  Are there any new suggestions.  My computer had Windows 7 installed and I have no source to re-load the OS.  Ralph

    Hi,
    So actually you're not in safe mode (not black background, no "safe mode" on the left-bottom of the screen), right?
    I think something is causing your PC thinking itself is in the safe mode, run sfc/scannow and chkdsk /f/r, check if the two tools can find any error.
    Or perform a startup repair in recovery console, check the result
    http://windows.microsoft.com/en-IN/windows7/products/features/startup-repair
    Yolanda Zhu
    TechNet Community Support

  • Iphone4 would not restore Error -50. I have tried to restore and it restored it to the point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out.

    Iphone would not restore---- Error -50. I have tried to restore, and it restored it to the new point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out. I can see earlier backups in my C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup folder. There are four subfolders in this address. I need my contacts, photos, and messages back. I know this is a common error but I can not figure it out. I have ran the other troublshoot items in the error steps for 13 and 14 like apple says. Is there a way to call apple and get a step by step of how to restore from another restore point? Does anybody have a solution????

    It tells you to go to Error 13 and 14 if you receive error (-50).
    Here is what I have tried...
    Error 13 and 14: These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting. I have moved it around to different ports.
    Put a USB 2.0 hub between the device and the computer. Didn't change anything.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts. Removed all virus protection and firewall.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.Used the Microsoft fix it.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online. Doesn't matter.
    Try to restore from another known-good computer and network. I do not know how to do this or how to find the correct/full/complete restore point. There should be more information for this.

  • Windows Backup fails to complete and System shows 29 Restore Points all titled "System Image restore point" but none will work.

    Problems both seemed to appear about the same time and may be related.
    Had backups on an  external drive prior to the problem and appeared to be working. I have since cleaned the external drive in an attempt to start a new backup series but it continues to stop and report backup has failed.
    The System restore was working fine and one day it had changed all the existing Restore Points to "System Image restore point"
    but still showed all the different dates.  In the System Properties window it indicates that there are 0 bytes in "current usages",
    which I assume they are all empty but I can't create any new ones. I get Error code 0x80042308. 
    I have tried the Clean Boot with no results. I use MS Security Essentials for virus protection.
    I have no other symptoms or problems on the PC.
    About ready for a Recovery and start all over.
    George M1

    Hi,
    Your first step should be to run chkdsk /r /f on all the drives in that computer. Shadow copy errors are often caused by disk problems (usually minor) which chkdsk will find and correct.
    Also, this issue can be caused that VSS dlls are corrupted.
    Re-install the VSS dlls by following these steps:
    a. Using command prompt, CD to the WINDOWS\system32 directory
    b. Stop the Volume Shadow Copy service by executing the command "net stop vss"
    c. Register the following DLLs and services by executing these commands:
    regsvr32 ole32.dll
    regsvr32 vss_ps.dll
    Vssvc /Register
    regsvr32 /i swprv.dll
    regsvr32 /i eventcls.dll
    regsvr32 es.dll
    regsvr32 stdprov.dll
    regsvr32 vssui.dll
    regsvr32 msxml.dll
    regsvr32 msxml3.dll
    regsvr32 msxml4.dll
    Hope these could be helpful.
    Kate Li
    TechNet Community Support

  • Visual Studio Update 2 hangs for 13 minutes on "Creating a system restore point..."

    It appears that Visual Studio 2012 Update 2 hangs for a long period of time before it tries to create a system restore point.  Should I create a Microsoft Connect issue for this?
    Here is what I did:
    I created a new Windows 8 x86 Virtual Machine using VirtualBox.  I installed Visual Studio 2012 and Update 1 because Update 2 was not yet out.  I came back 1 week later and tried to install Visual Studio Update 2.
    When I ran the installer on the Virtual machine, it hung for seemingly 10 minutes at "Creating a system restore point..." I powered off the virtual machine and disabled system restore.  I then ran with the /layout option on the host machine
    so I could pre-download the files.  Then I tried again.
    Again, it hung.  This time I let it go.  It hung for exactly 13 minutes before it gave up and continued on to the install.  The log file says this:
    [0EBC:0F90][2013-04-18T12:39:36]: Apply begin
    [0EBC:0F90][2013-04-18T12:39:36]: MUX:  Apply Phase Begin
    [0EBC:0F90][2013-04-18T12:39:36]: MUX:  -----------------
    [0EBC:0F90][2013-04-18T12:39:36]: MUX:  Metrics: ShouldSendData=False
    [0EBC:0F90][2013-04-18T12:39:36]: MUX:  Free Disk Space before install:  SystemDrive C:\ 32519413760 bytes  AppDrive C:\ 32519413760 bytes
    [01F4:0748][2013-04-18T12:52:34]: Creating a system restore point.
    [01F4:0748][2013-04-18T12:52:34]: Could not create system restore point, error: 0x80070422. Continuing...
    NOTE: Although it says "Creating a system restore point" at 12:52, it actually displayed the message on the screen at 12:39.  That indicates that it was really doing something else during those 13 minutes, not creating the restore point. 
    That is corroborated by the fact that it took a long time regardless of system restore being on or off.
    If no one has any information or explanation, I will create an issue on Microsoft Connect.

    I have the same issue. Visual Studio 2013 Professional update 2 was not installed from Web installer. Rather I downloaded a trial version and now want to uninstall it. However, I let the uninstaller try to create a Restore Point all night while I slept.
    Next day, not done. So I clicked cancel, and it then commenced to create a restore point for the cancel. I did let the cancel run for awhile but I rebooted.
    I then researched something on how to disable the restore point security on my drive, but that did not deter Visual Studio from trying to protect me and it TRIES to create a restore point before uninstalling. Just hangs forever. I don't need a restore point
    for an eval copy of VS, thank you very much. Perhaps a simple dialog ("Do you want to create a restore point?") would be helpful?
    Update: turning off Windows Defender fixed the problem. 

  • Reset to previous RESTORE POINT only possible with FLASHBACK ?

    Ok, I can create a Restore Point (in v10g) by a command like:
    CREATE RESTORE POINT foobar;
    Actually I expected a symmetric command which reverts the whole database back
    with a command like
    RESET to RESTORE POINT foobar;
    However I did not found such a (or similar) command.
    Instead the only way I found was by a FLASHBACK command:
    FLASHBACK DATABASE TO RESTORE POINT foobar;
    Is this correct? Is there no other command for reverting back to a previous RESTORE POINT?
    Peter

    HI
    Well there is no such command "RESET to RESTORE POINT foobar".....its... "Flashback database to restore point"
    now question is that why we use flashback database to restore point? for example we want to run some application on our database but we are not sure that it might create some unwanted changes in our database ...so we mount our database and enable flashback then we create restore point let say "create restore point beforeupgrade"....and then we run our application now if we find some unwanted changes in our database we will flashback database to created restore point.
    here is the link to understand more......
    http://arjudba.blogspot.com/2008/04/performing-flashback-database.html..

  • MSE Creates A Restore Point Every Time It Updates

    MSE creates a redundant restore point every time it updates.
    Is there any way to stop this from happening without
    disabling the system from creating restore points entirely?
    Thanks.

    Thanks.
    The HD is 500GB. I think by default 2% or 10GB is reserved for restore points. Once the limit is reached the restore points are overwritten - last in, first out. I have a preferred restore point established that I'd like to be preserved.
    My concern is the way in which Windows Update is used to update MSE definitions. Everytime (daily) MSE AV definitions are D/L it creates another restore point. Eventually it will overwrite the restore point I established. I guess I can always remove the restore points MSE creates using CCleaner or use a different AV program but it's something that should have been addressed by MS. They should have provided users with the option of not having MSE create restore points. I know I can always turn the feature off altogether and create restore points manually but there are times when having a restore point created automatically can come in handy - like when installing a program for example.
    Aside from this issue I've also noticed other little annoyances throughout the Windows 7 / 64bit - Home Premium OS.
    I'm sure I'll discover more annoyances with this OS over time.

  • Can't create restore point

    Hi,
    I think I may off caused a problem if I ever have to recover my laptop which is a Satillite Pro L450D through changing settings in the system protection area in windows 7.
    I was looking to create a restore point before I upgraded Windows 7 with service pack 1 and while in the create and restore area noticed that 3 drives were available to have system protection turned on but only 1 actually had system protection enabled? OS Install (C) did not have system protection enabled, and I think the recovery partition, WinRE (D) which was enabled to have system protection was the System disk, I am not 100% certain but sure the 3rd entry was my DVD drive, anyways what I did was I clicked to enable protection for the OS Install (C) drive and an error appeared stating that this was not possible, I clicked ok and when this error went off screen noticed that the drive was now enabled for system protection, but it was now also the system disk? and the 3rd drive seemed to of disappeared from the area where the drives available appear? I am a t a loss as to what has happened but feel the worst case scenario is that if I ever want to recover my system through the recovery options I may not be able to through changing system settings, any help on this matter will be appreciated, I did create the recovery disk when I first purchased the laptop before I did anything else so with a bit of luck I am hoping that this will be my get out of trouble card if I need to use or recover the system this way.
    Thanks in advance for any help.

    Hi Xardas,
    Thanks for the reply,
    I had wanted to create a restore point in case of any errors after installing service pack one, my problem occured when I was attempting to make a restore point while in system protection, because system protection was not in operation on my C drive, the system would not allow me to create a restore point unless changing the settings, which I attempted to do...an error appeared and after reading recovery errors in this forum relised that because my recovery software was installed on drive D a system restore point was not really needed in case of any errors...but I had already changed the settings meaning that both the C drive and the D drive now have protection in place, which is different to how my laptop was setup with factory defaults,
    I am hoping that because of this change that I have not corrupted any of the files needed to do a full format and HDD recovery if ever needed, I did create a toshiba recovery disc when I first purchased my laptop so hope that the files on this disc will be enough to perform the tasks needed.

  • RNR and Windows Vista Restore Points

    Hello,
    Is the Rescue and Recovery program able to use restore points created in Vista? I recently had registry corruption and my X61s would not boot into Windows. The Lenovo tech blithely parroted: "reimage the machine". Mercifully I had a 2 week old back-up under RNR. A related question would be whether RNR can use full backups created under Vista since RNR backups are excruciatingly slow.
    Thanks,
    Manish

    as fas as i know RnR is diffrerent from Windows Restore, so if you use both you get double backups and therefore doble chances to restore your info in this case, i prefer RnR backups rather than vista because you can get into the menu even if windows cant boot, you might want disabel windows restore and recover that disk space used

  • Restore Points Deleted w/dual boot & Windows 7

    Dual booting with two partitions
    on another disk with Windows 7 / Windows 10
    and when I returned to Windows 8.1 or
    Windows 10 from Windows 7,
    restore points are deleted and remain
    in Windows 7?
    Is there a solution?
    Thanks
    Hello

    Thanks for the reply,
    If it's the disks to hide concerned,
    I have already done but to no avail ([HKEY_CURRENT_USER \ Software
    \ Microsoft \ Windows \ CurrentVersion
    \ Policies \ Explorer]).
    I know that we could put offline the
    affected partitions ([HKEY_LOCAL_MACHINE
    \ SYSTEM \ MountedDevices \ Offline]), but
    later by disk failure in the event log
    ... is that what you propose?
    hello
    Yes and No.
    What do you mean by " but later by disk failure in the event log " ?
    Have a look at this tutorial :
    http://www.geekstogo.com/forum/topic/326541-windows-8-dual-boot-restore-points/
    I am dual booting Win 7 and Win 10 TP Enterprise build 9879. That tutorial works for me.
    P.S. ( Ignore the triple boot part.)

Maybe you are looking for

  • Memory Upgrade in 2009 Mac Mini?

    Hi, I want to upgrade my Mac Mini to 4 GB of ram, it's the core 2 duo 2009 model. I don't want to pay silly amounts for Mac own memory, has anyone ever used Crucial Memory in a Mini Mac? if so how does it run? The other option I guess is to look at C

  • Failed to invoke end componentFailed to invoke method error

    I am getting this error while invoking a web service in weblogic. What is root cause of this error...? Error Description:- <remoteFault xmlns="http://schemas.oracle.com/bpel/extension"> -<part name="code"> <code>Server </code> </part> -<part name="su

  • Error WSM-02120 when starting Weblogic Server

    Hi All, I have problem while starting weblogic server, I found this error: WSM-02120 : Unable to oracle.wsm.policymanager. PolicyManagerException: WSM-02120 : Unable to   connect to the Oracle WSM Policy Manager due to the following error   "javax.na

  • RQL Query to get the specific range of product items from product catalog.

    Hi All, I need to do the batch wise query to product catalog. For that i have use Query builder but that is giving me repeated items, now i wanted to use RQL using rqlStatement. Please help me in solving the issue. Query which i have used using Query

  • Exclamation Mark!

    For some reason, the photographs I have in one folder won't load in to iPhoto. All I get is an exclamation mark although the images are definitely there because I can see them and the tag information is shown. They are *.jpg images which were importe