"Arlen Holder" wrote in message
...
Due to BSOD issues often cannibalizing the Windows 10 boot, I am creating
frequent restore points but I would like to script the restore point
creation with a batch command from the Win+R "Run" command box.
What am I doing wrong?
1. I can manually create a restore point any time I want to:
Win+R sysdm.cpl [System Protection][Create]
(This takes a minute to run to completion.)
2. When I look, that restore point is always created.
Win+R sysdm.cpl [System Protection][System Restore]
(_)Recommended restore
(o)Choose a different restore point
[Next] [x]Show more restore points
(I see all the many restore points that I manually created.)
3. But I want to script it, where I created this shortcut:
TARGET: %comspec% /k "wmic.exe /Namespace:\\root\default Path
SystemRestore Call CreateRestorePoint "My Shortcut Restore Point", 100, 7"
ICONFROM: C:\Windows\System32\imageres.dll
[Advanced][x]Run as administrator
4. When executed the command "appears" to work (albeit too quickly so):
Executing (SystemRestore)-CreateRestorePoint()
Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
ReturnValue = 0;
};
C:\Windows\system32
(This takes only a split second to run to completion.)
4. But, when I look if the restore point was created, it doesn't exist:
Win+R sysdm.cpl [System Protection][System Restore]
(_)Recommended restore
(o)Choose a different restore point
[Next] [x]Show more restore points
(I only see the restore points that I manually created.)
What am I doing wrong?
Do you have a batch script to create a restore point on the fly?
I used to use a program called (wait for it . . . ) Restore Point Creator.
https://www.techspot.com/downloads/6178-restore-point-creator.html
It allows you to create one whenever you want, give it a custom name
("Installed new photo editor", whatever), and you can set up a schedule
through it's Utilities list. It's an older program, but still seems to work.
I haven't had to use it in some time, but it was there and restored when I
did.
The one that I currently use for an every-other-day scheduled RP is from
TenForums:
https://www.tenforums.com/tutorials/...dows-10-a.html
It uses a VBS script to operate. That works well also, and you may be able
to alter the script to your purposes, although it works fine OOTB.
HTH!
--
SC Tom