After many hours of trial and error I finally found a way to automatically create system restore points in Windows 8 using the task scheduler. All of this information was gathered from web posts by others but this is the combination which works for me.
You must first create a .vbs script file.
To create the script just cut and paste the text below into notepad. Then save the file as SR.vbs in C:\Users\Mike (Of course you must substitute "your user name" for "Mike")
If WScript.Arguments.Count = 0 Then
Set oShell = CreateObject("Shell.Application")
oShell.ShellExecute "wscript.exe", """" & WScript.ScriptFullName & """ Run", , "runas", 1
Set oWshShell = WScript.CreateObject("WScript.Shell")
oWshShell.Popup "Creating a SystemRestore point. Please wait.", 2, "System Restore", 0
swinmgmts = "winmgmts:\\.\root\default:Systemrestore"
GetObject(swinmgmts).CreateRestorePoint "Scheduled Restore Point", 0, 100
'MsgBox "System Restore Point created", 0, "System Restore"
Then you have to create a registry DWORD (32 bit) VALUE entry (using regedit.exe by way of RUN) with the text
under the registry key
The DWORD (32 bit) VALUE needs to be typed into the "System Restore" folder itself (not in any of it's sub folders). I then set the value of SystemRestorePointCreationFrequency to 0 ( I think 0 is the default anyway). When you exit the registry by clicking "X" the changes you have made are automatically saved.
Now you need to program your task scheduler to run the SR.vbs script at the desired intervals. Create a "Basic Task" in the task scheduler to do this.
On the General tab type in a name and description of your choice for the task. Make sure you check only the "run whether user is logged on or not" and "Run with highest privileges" options.
On the Triggers tab select new and set the time you want to use and check only the "Enabled" option.
On the Actions tab select new and then select "Start a program" in the drop-down box. Under "Program/script" type in C:\Windows\System32\wscript.exe Then in the "Add arguments (optional): box type in C:\Users\Mike\SR.vbs
In the Conditions tab just make sure that none of the options are checked.
In the Settings tab you want only "Allow task to be run on demand" and "Run task as soon as possible after a scheduled start is missed" options to be checked. In the drop-down box at the bottom select "Run a new instance in parallel".
The History tab has no adjustments so you are done.
I know this sounds like a lot to do but is really not that complicated and, to me at least, was well worth the effort.
I now get two system restore points created automatically for me each and every day.
Hope this is of some use to someone out there.
Last edited by MisterMike; 03 May 2013 at 10:02.
Actually, your approach demands a lot of extra disk space for the shadow copies. Here's why.
By default, it's:
• 3% for partitions < 64GB
• 5% or 10GB (whichever is less) otherwise
Restore points (RPs) are created at least once week, because the built-in task checks daily and creates an RP, if 7 days have passed. The idea behind this approach is to manage the disk space efficiently while extending the time period covered by RPs. Some problems may surface a few weeks later, hence you have a better chance of restoring the system.
Now, if you create RPs twice a day and keep the default 5% (~25GB for your 500GB drive based on your specs), I'm guessing you'll get about two weeks of coverage. While if you keep the default scheduling settings, you may get a couple of months.
I'd be curious to understand the reason for creating RPs twice a day. If this serves for saving file versions, than File History is a much better and flexible approach.
Last edited by Vadikan; 02 May 2013 at 03:52.
Appreciate the reply. I was just very uncomfortable with the restore points not automatically happening every day. My system is not using near as much space as you said although I do delete some of the older restore points from time to time. Since I store most of my files on external USB drives anyway, space is really not a big concern for me. In short having those SRPs created twice every day with no input on my part just gives me much better peace of mind. I still do the system image backups every 2 weeks or so to USB hard drives. System Restore and those twice monthly system backups saved my butt many times on the old XP system when things just went horribly wrong and I could not resolve the issues any other way. I still subscribe to the old adage that says "Back up early and often". Old habits die hard I suppose.
I guess peace of mind is worth it BTW, if you use the built-in Windows tools for image backups, each backup represents a restore point
I have my computer set up with system protection turned on, but it does not create system restore points. I was able to create one manually yesterday and this morning but for some reason it is not creating them for me. or at least I can't see them (such as when there are new updates installed) The only restore points that show up are ones that I am creating manually.
I have gone into the services.msc and checked and the microsoft software shadow copy was set to manual so I changed it to automatic and this morning it was still set to automatic but it was not running; the volume shadow copy is set to automatic but is not starting either.
I have had problems in the past when trying to restore the computer to a restore point and there were none there so I have been creating an image of my computer every few days in case I need to fix a problem. But it would be nice to actually have the darn computer create the restore points before installing updates or new software to the computer.
I did check the task scheduler and it says that one was created when I turned on the computer this morning... but I have looked for restore points and there are none there. I know that I have images that I make up every couple of days, but it would be nice to be able to simply restore the computer to right before a problem.
I suddenly lost the charms bar working last week and was going to restore the computer to when it happened but that is when I realized that there was no restore point to use and started researching the problem.
I can start software shadow copy and volume shadow copy and I was able to create a restore point when they were not running but why aren't they starting / running even though the startup type is automatic and Remote Procedure Protocol is running.
This may not be the right place for this post and I do apologize if it should have been posted elsewhere. I really would like to know that system restore is creating restore points when updates are installed or new software is installed without having to manually create them all the time.
I don't know if this makes any difference but if I am in task scheduler and I click properties in the right section it states history (disabled)
Thanks so very much