Page 10 of 18 FirstFirst ... 89101112 ... LastLast
  1.    07 Sep 2016 #90
    Join Date : Oct 2013
    Posts : 25,212
    64-bit Windows 10 Pro build 17040
    Thread Starter

    @thekochs,

    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"
      My ComputersSystem Spec
  2.    07 Sep 2016 #91
    Join Date : Sep 2016
    Posts : 27
    Windows 10

    Quote Originally Posted by Brink View Post
    Did you unblock the .vbs file before running?

    https://www.tenforums.com/tutorials/5...ndow-10-a.html

    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.
    Click image for larger version. 

Name:	CP RP.jpg 
Views:	77 
Size:	351.2 KB 
ID:	100350Click image for larger version. 

Name:	CCleaner RP.jpg 
Views:	83 
Size:	257.4 KB 
ID:	100351
      My ComputerSystem Spec
  3.    07 Sep 2016 #92
    Join Date : Oct 2013
    Posts : 25,212
    64-bit Windows 10 Pro build 17040
    Thread Starter

    @thekochs,

    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?

    Name:  UAC.png
Views: 88
Size:  18.3 KB
      My ComputersSystem Spec
  4.    07 Sep 2016 #93
    Join Date : Sep 2016
    Posts : 27
    Windows 10

    OK...done UAC works.

    Here is what I did..........your original script on left, then your cut down one you sent, then new one, then new one where I changed to "7".

    Click image for larger version. 

Name:	desktop.jpg 
Views:	33 
Size:	212.1 KB 
ID:	100354

    I ran these all kind of back to back allowing some time to finish.
    You can see three VSS errors and no RPs.
    Click image for larger version. 

Name:	Bad VSS.jpg 
Views:	53 
Size:	91.0 KB 
ID:	100355
    ....and then the one with "7" change creates good RP.....the VSS snapshot above taken after, no error.
    Click image for larger version. 

Name:	Good RP.jpg 
Views:	25 
Size:	276.3 KB 
ID:	100356

    I'm no expert but for some reason the "0" is no longer a valid parameter and the "7" is no longer a default system name but rather the name you have in script. May be worth checking these parameters for changes since all this happened with the .105 update.
      My ComputerSystem Spec
  5.    07 Sep 2016 #94
    Join Date : Oct 2013
    Posts : 25,212
    64-bit Windows 10 Pro build 17040
    Thread Starter

    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?
      My ComputersSystem Spec
  6.    07 Sep 2016 #95
    Join Date : Sep 2016
    Posts : 27
    Windows 10

    Quote Originally Posted by Brink View Post
    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.

    Click image for larger version. 

Name:	script.jpg 
Views:	78 
Size:	563.1 KB 
ID:	100359
      My ComputerSystem Spec
  7.    07 Sep 2016 #96
    Join Date : Sep 2016
    Posts : 27
    Windows 10

    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 ?

    Click image for larger version. 

Name:	script.jpg 
Views:	83 
Size:	611.9 KB 
ID:	100363Click image for larger version. 

Name:	CCL.jpg 
Views:	148 
Size:	292.3 KB 
ID:	100364
      My ComputerSystem Spec
  8.    07 Sep 2016 #97
    Join Date : Oct 2013
    Posts : 25,212
    64-bit Windows 10 Pro build 17040
    Thread Starter

    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.

    Name:  RP1.png
Views: 188
Size:  28.5 KB
      My ComputersSystem Spec
  9.    07 Sep 2016 #98
    Join Date : Sep 2016
    Posts : 27
    Windows 10

    100, 0 change to your script gives this error.Name:  script error.jpg
Views: 186
Size:  73.8 KB

    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.
      My ComputerSystem Spec
  10.    07 Sep 2016 #99
    Join Date : Oct 2013
    Posts : 25,212
    64-bit Windows 10 Pro build 17040
    Thread Starter

    Yep, you can't use 100, 0 with the original script. Only with the new command you posted about.
      My ComputersSystem Spec

 
Page 10 of 18 FirstFirst ... 89101112 ... LastLast


Similar Threads
Tutorial Category
Customization Shortcut Arrow Icon - Change, Remove, or Restore in Windows 10
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...
Tutorials
Performance & Maintenance Create System Restore Point in Windows 10
How to Create a System Restore Point in Windows 10 System protection (if turned on) is a feature that allows you to perform a system restore that takes your PC back to an earlier point in time, called a system restore point. This can be handy if...
Tutorials
Customization Create This PC Shortcut in Windows 10
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...
Tutorials
Build 10130, No Restore Point
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...
Windows Insider
Restoring from Restore point - still no luck
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...
Backup and Restore
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:11.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums