Create System Restore Point shortcut in Windows 10  

Page 10 of 21 FirstFirst ... 8910111220 ... LastLast

  1. Posts : 68,658
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #90

    @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 Computers


  2. Posts : 27
    Windows 10
       #91

    Brink said:
    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.
    Create System Restore Point shortcut in Windows 10-cp-rp.jpgCreate System Restore Point shortcut in Windows 10-ccleaner-rp.jpg
      My Computer


  3. Posts : 68,658
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #92

    @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?

    Create System Restore Point shortcut in Windows 10-uac.png
      My Computers


  4. Posts : 27
    Windows 10
       #93

    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".

    Create System Restore Point shortcut in Windows 10-desktop.jpg

    I ran these all kind of back to back allowing some time to finish.
    You can see three VSS errors and no RPs.
    Create System Restore Point shortcut in Windows 10-bad-vss.jpg
    ....and then the one with "7" change creates good RP.....the VSS snapshot above taken after, no error.
    Create System Restore Point shortcut in Windows 10-good-rp.jpg

    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 Computer


  5. Posts : 68,658
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #94

    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 Computers


  6. Posts : 27
    Windows 10
       #95

    Brink said:
    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.

    Create System Restore Point shortcut in Windows 10-script.jpg
      My Computer


  7. Posts : 27
    Windows 10
       #96

    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 ?

    Create System Restore Point shortcut in Windows 10-script.jpgCreate System Restore Point shortcut in Windows 10-ccl.jpg
      My Computer


  8. Posts : 68,658
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #97

    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.

    Create System Restore Point shortcut in Windows 10-rp1.png
      My Computers


  9. Posts : 27
    Windows 10
       #98

    100, 0 change to your script gives this error.Create System Restore Point shortcut in Windows 10-script-error.jpg

    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 Computer


  10. Posts : 68,658
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #99

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


 

Tutorial Categories

Create System Restore Point shortcut in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
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 12:19.
Find Us




Windows 10 Forums