Create System Restore Point shortcut in Windows 10  

Page 15 of 19 FirstFirst ... 51314151617 ... LastLast
  1.    10 Oct 2016 #140

    Gideon7 said: View Post
    Well, after banging my head against the wall for several days I finally got it working. I can now create scheduled system protection restore points that work reliably on Windows 10 Anniversary Edition (Build 1607) in my U-Recover utility, and I'm pretty confident I got it right.

    At first I couldn't for the life of me figure out why Windows Update was doing auto SR just fine on Build 1607 when nothing else was. Then I discovered the final piece of the puzzle, a new undocumented registry value called SystemRestorePointCreationFrequencyWU (WU = Windows Update). Once I sussed that out, along with adding some pixy magic via CoInitializeSecurity to correctly cloak for DCOM and to explicitly request SPNEGO for domain authentication, it all clicked into place and scheduled SR started working in Task Scheduler like a champ.

    Boy, that was hard. I really want to thank you guys for the incredible amount of research that you did on this problem. There is no way I could have figured this out without your help. THANK YOU!!
    Well done Gideon, looks like your hard work paid off. Can you share with us your technique to create Restore Points on a schedule?
      My ComputerSystem Spec

  2.    12 Oct 2016 #141

    Basically, you need to fix or avoid the four bugs that I cited previously. Any solution will require tracking what happens after the asynchronous call to SRSetRestorePoint returns. In my case I handled it by injecting a passive API hook to watch for the internal CreateThread call so that I could scarf the thread handle and do a WaitForMultipleObjects on it to know when the thread finishes.

    After the async op completes I check with VSS to see if the snapshot was actually created or not. This is because third-party VSS Writers can veto a snapshot for any number of reasons so you need to check the writer responses in order to retrieve the error message to explain the reason for the failure.

    SRSetRestorePoint will sometimes lie and claim the restore point was actually created when it in fact decided to skip the whole deal, which can happen if you try to create more than one Restore Point within 24 hours. To work around this you need to fiddle with SystemRestorePointCreationFrequency (documented) and SystemRestorePointCreationFrequencyWU (not documented).

    Finally, SRSetRestorePoint uses DCOM so you need to do all the usual gymnastics for getting CoInitializeSecurity to allow interprocess RPC calls between security boundaries. In particular you need to construct the proper DACL with the proper access rights. See
      My ComputerSystem Spec

  3.    13 Oct 2016 #142

    Thanks for your advice Gideon, however it is too technical for me.

    Perhaps Microsoft will one day provide a Task Scheduler that actually works.
      My ComputerSystem Spec

  4. Posts : 3
    Windows 7 Pro 64 bit
       31 Oct 2016 #143

    Brink said: View Post
    Thank you for all the work you are putting into this. A few days ago I was gifted by Microsoft with Windows 10 v 1607, and all my VBS scrips for creating restore points broke. I visited here, and finally stumbled onto the tutorial you mention above, which uses the command line incantation starting with WMIC. It works with the task scheduler, which was my most important concern.

    I changed the user from myself to SYSTEM, because I thought it was cleaner and was more portable. Do you see any problems with that? (It works fine both ways.)

    I also set the trigger to "on a schedule" and "daily" since I rarely log off or restart.

    I flat out gave up trying to jigger it to accept a customized comment for spontaneous restore point, and chose instead to use your shortcut to the System Protection Panel. It's just one more click, and I been creating enough trouble for myself lately.
      My ComputerSystem Spec

  5. Brink's Avatar
    Posts : 34,528
    64-bit Windows 10 Pro build 18290
    Thread Starter
       31 Oct 2016 #144

    Hello Jim, :)

    That should work for you as well.

    Yeah, it would be nice if the create restore point with custom description options would work properly for everyone again. The odd thing is that they still work fine on my system with build 14955, but not for most.
      My ComputersSystem Spec

  6.    29 Jan 2017 #145

    I downloaded the first option, i.e., create a link but not messages or sucess popups. However, I'm finding the .lnk file opens the Documents folder and "Instant_Restore_Point_message.vbs" is bringing up a success pop up. What am I missing? Thanks,
      My ComputerSystem Spec

  7. Brink's Avatar
    Posts : 34,528
    64-bit Windows 10 Pro build 18290
    Thread Starter
       29 Jan 2017 #146

    Hello @highstream, :)

    The .lnk file is to open the .vbs file, but the .vbs file must be copied in the location in step 9 for the .lnk to work. Otherwise, you could use just the .vbs file instead.
      My ComputersSystem Spec

  8.    15 Mar 2017 #147

    Hi Brink,

    Several days ago both vbscripts that prompt for a description stopped creating restore points.

    Both scripts "run", to the extent that the message prompt appears, and in the case of the script that is supposed to give a confirmation, it does that, but the restore points themselves are not created.

    The other 2 scripts that don't prompt for a description work fine.
      My ComputerSystem Spec

  9. Brink's Avatar
    Posts : 34,528
    64-bit Windows 10 Pro build 18290
    Thread Starter
       15 Mar 2017 #148

    Hello kitpzyxmsir,

    Unfortunately, the shortcuts that allow you to enter a description currently do not work for some in Windows 10.

    Since they work for me, I haven't been able to find a cause for this yet.
      My ComputersSystem Spec

  10.    15 Mar 2017 #149

    Brink said: View Post
    Hello kitpzyxmsir,
    Since they work for me, I haven't been able to find a cause for this yet.
    Excuse the dumb question, but you do have the latest windows updates? Started happening for me around that time.
      My ComputerSystem Spec

Page 15 of 19 FirstFirst ... 51314151617 ... LastLast

Tutorial Categories

Create System Restore Point shortcut in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone

Related Threads
Performance & Maintenance Create System Restore Point in Windows 10 in Tutorials
How to Create a System Restore Point in Windows 10 System protection (if turned on) is a feature that allows you to perform a system restore that takes your PC back to an earlier point in time, called a system restore point. This can be handy...
How to Change, Remove, or Restore Shortcut Arrow Overlay Icon in Windows 10 A shortcut is a link to an item (such as a file, folder, or app) on your PC. You can create shortcuts and then place them in a convenient location, such as on the...
Customization Create This PC Shortcut in Windows 10 in Tutorials
How to Create a This PC Shortcut in Windows 10 My Computer was changed to This PC in Windows 8.1 and Windows RT 8.1. You would open File Explorer to view This PC. In Windows 10, File Explorer now opens to Quick access by default instead of...
Build 10130, No Restore Point in Windows Insider
I updated my build this morning to build 10130 and everything on my system seems to be running so nice and smooth that I wanted to create a restore point. When I open the System Protection pane to create a restore point, everything is grayed out and...
After many, many attempts... installs, reinstalls, upgrades, ISO installs, the whole journey, I still cannot get a restore point to restore without messing up! No problem creating, no problem actually restoring, from control panel or boot. But...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:01.
Find Us