Add Create Restore Point Context Menu in Windows 10  

Page 7 of 7 FirstFirst ... 567

  1. Posts : 25
    Multiple
       #60

    Matthew Wai said:
    Try the following:

    Code:
    Set "【Path】="runas.exe" /user:XXX\Administrator /savecred "C:\ProgramData\_SERVICE\Create Restore Point\Create Restore Point.cmd""
    It should use "runas.exe" to run "C:\ProgramData\_SERVICE\Create Restore Point\Create Restore Point.cmd". Quotation marks are needed in "runas.exe".
    Sorry but it doesn't work.
    Same error message.

    Matthew, unless it is now a challenge for you, I would suggest to stop your efforts.
    I'm fine with my doing that solves the launch as standard user even if it is not in context menu.
    By the way, thank you so much for your dedication!
      My Computer


  2. Posts : 7,456
    Windows 10 Home 20H2
       #61

    Cirus said:
    I would suggest to stop your efforts.
    The following is my last-ditch effort. I will give up if it fails.
    Code:
    Set "【Path】=runas /user:XXX\Administrator /savecred C:\ProgramData\_SERVICE\Create_Restore_Point\Create_Restore_Point.cmd"

    Change the folder name from Create Restore Pointto Create_Restore_Point
    Change the file name from Create Restore Point.cmd to Create_Restore_Point.cmd

    The spaces in the file path could have caused problems.
      My Computer


  3. Posts : 25
    Multiple
       #62

    Matthew Wai said:
    The following is my last-ditch effort. I will give up if it fails.
    Code:
    Set "【Path】=runas /user:XXX\Administrator /savecred C:\ProgramData\_SERVICE\Create_Restore_Point\Create_Restore_Point.cmd"

    Change the folder name from Create Restore Pointto Create_Restore_Point
    Change the file name from Create Restore Point.cmd to Create_Restore_Point.cmd

    The spaces in the file path could have caused problems.
    YOU DID IT !!!!!!!!

    Thank you so much, Matthew!
    I promise you that I'll challenge you again soon.........
      My Computer


  4. Posts : 7,456
    Windows 10 Home 20H2
       #63

    You are most welcome!
      My Computer


  5. Posts : 7,456
    Windows 10 Home 20H2
       #64

    Download: "Add [Create a restore point] into the context menu.bat"
    @Brink, the above batch script will add "Create a restore point" into the context menu and create a scheduled task with highest privileges, so that no UAC prompt will pop up. Would you consider adding it into this tutorial?

    FreeBooter said:
    With this batch script you can add or remove create restore point context menu in Windows 10.
    I ran your script several times, but nothing has been added into my context menu. What's wrong?
      My Computer


  6. Posts : 61,517
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #65

    Matthew Wai said:
    Download: "Add [Create a restore point] into the context menu.bat"
    @Brink, the above batch script will add "Create a restore point" into the context menu and create a scheduled task with highest privileges, so that no UAC prompt will pop up. Would you consider adding it into this tutorial?

    I ran your script several times, but nothing has been added into my context menu. What's wrong?
    I'll give it a play with tomorrow before adding it.
      My Computers


  7. Posts : 61,517
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #66

    @Matthew Wai,

    I didn't see an undo option in the .bat file while editing it to make it easy to remove the context menu and task.

    If I didn't miss it, would that be possible to add to the .bat?
      My Computers


  8. Posts : 7,456
    Windows 10 Home 20H2
       #67

    (1) Add [Create a restore point] into the context menu.bat
    (2) Remove [Create a restore point] from the context menu.bat

    @Brink, (2) will remove the item and task created by (1). The two scripts can be combined into one if you want.
      My Computer


  9. Posts : 61,517
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #68

    Matthew Wai said:
    (1) Add [Create a restore point] into the context menu.bat
    (2) Remove [Create a restore point] from the context menu.bat

    @Brink, (2) will remove the item and task created by (1). The two scripts can be combined into one if you want.
    This will be great as is. Thank you Matthew.

    Now added as option 2 in the tutorial.
    Last edited by Brink; 04 Mar 2020 at 12:02.
      My Computers


 

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 06:48.
Find Us




Windows 10 Forums