Add Create Restore Point Context Menu in Windows 10  

Page 5 of 8 FirstFirst ... 34567 ... LastLast

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

    Matthew Wai said:
    @Brink, @Cirus,

    Please download this .bat file and just double-click to run it, which will add a new item "Create a restore point" into the context menu. Just click on the item, and a restore point will be created without a UAC prompt. It works at my end. See the screenshot below:
    Hello Matthew,

    Cirus was also wanting to have a way to allow a standard user to create a restore point with UAC.

    Creating a restore point without a UAC prompt for an administrator is the easy part. I'm not quite sure on how to do the same for a standard user.
      My Computers


  2. Posts : 7,606
    Windows 10 Home 20H2
       #41

    Brink said:
    I'm not quite sure on how to do the same for a standard user.
    Another member, @Try3, suggested selecting "Run whether user is logged on or not" in Task Scheduler as shown below. @Cirus may give it a go after running the .bat file attached in my previous post.

    Add Create Restore Point Context Menu in Windows 10-task-scheduler.jpg
      My Computer


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

    Worth a try.
      My Computers


  4. Posts : 7,606
    Windows 10 Home 20H2
       #43

    If "Run whether user is logged on or not" does not work, try "Change User or Group" as shown below:

    Add Create Restore Point Context Menu in Windows 10-change-user-group.jpg

    Brink said:
    You would use powershell.exe in the Program/script field in step 7 of Option 2 above.
    • You would use -ExecutionPolicy Bypass -Command "Checkpoint-Computer -Description \"Manual Restore Point\" -RestorePointType \"MODIFY_SETTINGS\"" in the Add arguments field in step 8 of Option 2 above.
    Your method can create a shortcut but cannot add an item into the context menu. My attached .bat file can add such an item without having to manually create a scheduled task.
      My Computer


  5. Posts : 25
    Multiple
       #44

    @Matthew Wai @Brink
    Guys, I do appreciate your skilled working "for me", but I won't be able to follow the topic until next Monday morning (C.E.T.).
    Thanks again!
      My Computer


  6. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #45

    Cirus said:
    @Matthew Wai @Brink
    Guys, I do appreciate your skilled working "for me", but I won't be able to follow the topic until next Monday morning (C.E.T.).
    Thanks again!
    That's ok. We'll be here when ready.
      My Computers


  7. Posts : 25
    Multiple
       #46

    Brink said:
    That's ok. We'll be here when ready.
    @Brink
    Hi Shawn, I'm trying doing my way (to learn).
    I solved the run as administrator creating a special shortcut pointing a .bat file, but I need to put it in the context menu.
    Could you please explain in your doing:
    [HKEY_CLASSES_ROOT\Directory\Background\shell\Create Restore Point\command]
    can I point there a shortcut either?

    @Matthew Wai
    I opened your bat in editor to understand it before simply applying it (to learn).
    Am I correct that it is going to create a task to run "as administrator".
    Did you create a remove version as well (to undo it)?

    Thanks you both gents!
      My Computer


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

    Cirus said:
    @Brink
    Hi Shawn, I'm trying doing my way (to learn).
    I solved the run as administrator creating a special shortcut pointing a .bat file, but I need to put it in the context menu.
    Could you please explain in your doing:
    [HKEY_CLASSES_ROOT\Directory\Background\shell\Create Restore Point\command]
    can I point there a shortcut either?

    Thanks you both gents!
    Correct. You could substitute your own command to run the shortcut instead.
      My Computers


  9. Posts : 7,606
    Windows 10 Home 20H2
       #48

    Cirus said:
    @Matthew Wai
    I opened your bat in editor to understand it before simply applying it (to learn).
    Am I correct that it is going to create a task to run "as administrator".
    Did you create a remove version as well (to undo it)?
    My .bat file will do the following:
    (1) Add the "Create a restore point" item into your context menu.
    (2) Create a "Create_a_restore_point" task, which will be run with highest privileges as an administrator.

    When you click on "Create a restore point" in the context menu, the "Create_a_restore_point" task will be run without a UAC prompt. If you are going to run the .bat file, I can create a version to undo (1) and (2). It is pointless to create it if no one is going to run it.

    Cirus said:
    [HKEY_CLASSES_ROOT\Directory\Background\shell\Create Restore Point\command]
    can I point there a shortcut either?
    The item "Create a restore point" in the context menu functions as a shortcut to the "Create_a_restore_point" task, which can be modified at will.
      My Computer


  10. Posts : 25
    Multiple
       #49

    @Matthew Wai @Brink

    I tell you what done from my side.
    1. I created "Create Restore Point.cmd" containing the command powershell.exe -ExecutionPolicy Bypass -Command "Checkpoint-Computer -Description "Manual Restore Point" -RestorePointType "MODIFY_SETTINGS""
    2. I placed it in a folder within ProgramData (C:\ProgramData\_SERVICE\Create Restore Point\)
    3. I created a shortcut with this target C:\Windows\System32\runas.exe /user:XXX\Administrator /savecred "C:\ProgramData\_SERVICE\Create Restore Point\Create Restore Point.cmd"
    This way I'm able to launch it successfully as standard user and the restore point is created.
    Now, I'm not able to insert it in the context menu.
    I played with Shawn's reg, but unsuccessfully.
    Any idea to solve?
    Thanks.
      My Computer


 

Tutorial Categories

Add Create Restore Point Context Menu 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 22:50.
Find Us




Windows 10 Forums