Windows 10: Create System Restore Point shortcut in Windows 10
Did you unblock the .vbs file before running?
Unblock File in Windows 10 - Windows 10 Forums
You should have gotten a UAC prompt? Did you disable UAC?
Be sure to give it about 5 seconds after running to check to see if a restore point has been created. It can sometimes take that long before it shows up in System Protection.
Are you joined to a domain?
0 = Allows a custom restore point description, and has "Type" as "Install"
7 = Uses "Automatic Restore Point" description, and has "Type" as "System"
Hmmm.......just looked at UAC in CP>User & It is off.....will have to change that.
As far as "unblock" the thread you reference works on the ZIP file....in other words PROPERTIES has the unblock check box in it. However, all I did was download the VBS from link you gave to my Desktop and double click to run....there is no "unblock" box in right click properties.
When I change the 0 to 7 it works.......I posted the code change.
....and when I did this with the "7" the RP shows as "Instant Restore Point".....the one you have in the script.
Note, the name with windows CP > System is not the "name" you can see in CCleaner.
Take a look at these corresponding ones.
Since you had UAC off, could you test the original scripts currently in the tutorial again after setting UAC back to its default setting like below?
That's the catch though. It works just fine on my system and most others.
It's just not creating a restore point for only a few folks like yourself. I'm trying to determine what is different about your and their systems or settings for why. The problem is that nothing stands out on your system for why yet.
Are you joined to a domain?
One other item to try as test...........
Below is your code from original VBS in beginning of thread.
Where is the "0" here ? ....
GetObject("winmgmts:\\.\root\default:Systemrestore").CreateRestorePoint "Instant Restore Point", 0, 100
Is it in the above line ? ..........why 0, 100 and not 100, 0 ?
If OK then can I change "0" here to "7" and try ?
If so, you change to "7" and try on your PC too.
OK....made the change in original VBS and works !!!!! ....no VSS errors.
Changed "0" to "7"...you can see it even gives your script name "instant restore point".
Clearly this parameter has changed within W10 and I cannot explain to you why is only fails on some PCs.
However, maybe the change to "7" works on all PC/W10s ?
It works for me using either "0" or "7" with the results below.
0 = Allows a custom restore point description in System Protection, and has "Type" as "Install"
7 = Uses "Automatic Restore Point" description in System Protection, and has "Type" as "System"
0, 100 = Original script.
100, 0 = New command has to have it reversed to avoid a RP description error.
100, 0 change to your script gives this error.
I found the MS site on the CreateRestorePoint
CreateRestorePoint method of the SystemRestore class (Windows)
I see what you are saying but for my machine it does not work that way.
Yep, you can't use 100, 0 with the original script. Only with the new command you posted about.
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...
How to Create a System Restore Point in Windows 10
If you're having problems with Windows 10 on your PC, you can try to refresh, reset, or restore it.
System Restore uses a feature called system protection that regularly creates and saves...
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...
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...