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
Prev Previous Post   Next Post Next
  #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.
 




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 06:20 AM.


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