A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Win+R batch command to create a system restore point any time I want to create one



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old September 7th 20, 10:28 PM posted to alt.comp.os.windows-10,alt.comp.microsoft.windows,alt.msdos.batch
Arlen Holder
external usenet poster
 
Posts: 186
Default Win+R batch command to create a system restore point any time I want to create one

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?
--
Windows requires hundreds of tweaks to get it running efficiently.
Ads
  #2  
Old September 10th 20, 01:09 PM posted to alt.comp.os.windows-10,alt.comp.microsoft.windows,alt.msdos.batch
SC Tom[_3_]
external usenet poster
 
Posts: 4,089
Default Win+R batch command to create a system restore point any time I want to create one



"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


 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 12:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 PCbanter.
The comments are property of their posters.