New
#70
Did not work.....looking at script it does not show W10 support for "GetOS" but tried anyway.
No RP created and gave me VSS error.
Note, creating one manually in Control Panel > System works fine.
Running........
cmd.exe /k "wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "My Shortcut Restore Point", 100, 7"
....works fine.
FYI...I also disabled Defender, MBAM & MBAE in the event they were blocking scripts....still did not work.
All I can summize is that the "call" to the VSS is no longer valid within the syntax of the request, etc.
Is there a simple non-VBS command(s) I can put in batch (BAT) file to test out from your "approach/code".
In other words, boil the creat RP down to single/base command and I put in BAT file and see if works ?
Yup, this only starting failing on August 30th when the W10 Version 1607 14393.82 to .105 came out.
Also, with the other poster above talking about multiple HDDs I went ahead and attached a USB HDD which does show in Control Panel > System......and set to OFF for SysRest. I tried scripts....still same issue.
I have build 14393.105. I have s. restore scheduled daily for two partitions on my SDD- it works.
Yup, some folks work and some don't....you can read back through the thread that some never got to work and never posted again. I have solution with the CMD line so my posting is to help try to debug what is going wrong. Clearly there is something within the script specific to a W10 internal change that now causes issue. The VSS works fine for my Macrium Image to USB HDD images, and also doing the CP SP creation and the CMD line I got from this thread.
https://www.tenforums.com/tutorials/4...tml#post802065
My suggestion is for Shawn to cut down his VBS to the very basic RP creation command for W10 and let me put in a BAT file and let me try. We can see if "that" command itself has an issue or if OK something above it......basically a hard coded command.
BTW, did you the "test" script above ?
Last edited by Brink; 07 Sep 2016 at 09:34. Reason: link
Can confirm the cut down script above created a restore point entry and reported success.
Mine is '10 Pro x64- is yours Home?
A while back you mentioned "now get VSS error."
Does the event log tell you anything helpful?
A while back you mentioned "now get VSS error."
Does the event log tell you anything helpful?
What was the error msg - have you researched it?