Turn On or Off System Protection for Drives in Windows 10  

Page 7 of 7 FirstFirst ... 567

  1. Posts : 83
    Windows 10 x64 22H2
       #60

    Hi, Brink.
    I had a way to disable system protection via registry keys.
    I wanted to share with you the way which was tested successfully.
    The registry keys of disabling system protection were as following.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SPP\Clients]
    "{09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}"=-

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
    "RPSessionInterval"=dword:00000000

    Best regards.
      My Computer


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

    shiwan0804 said:
    Hi, Brink.
    I had a way to disable system protection via registry keys.
    I wanted to share with you the way which was tested successfully.
    The registry keys of disabling system protection were as following.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SPP\Clients]
    "{09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}"=-

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
    "RPSessionInterval"=dword:00000000

    Best regards.
    Thank you Shiwan.

    I added this as option 4 to the tutorial.
      My Computers


  3. Posts : 7,607
    Windows 10 Home 20H2
       #62

    @Brink, the following commands can turn on or off System Restore via elevated Command Prompt. Would you consider adding them into this tutorial?

    WMIC /Namespace:\\root\default Path SystemRestore Call Enable "C:\" Turn it on for drive C.

    WMIC /Namespace:\\root\default Path SystemRestore Call Disable "C:\" Turn it off for drive C.
    Turn On or Off System Protection for Drives in Windows 10-enable_or_disable_system_restore3.jpg
      My Computer


  4. Posts : 68,994
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #63

    Matthew Wai said:
    @Brink, the following commands can turn on or off System Restore via elevated Command Prompt. Would you consider adding them into this tutorial?

    WMIC /Namespace:\\root\default Path SystemRestore Call Enable "C:\" Turn it on for drive C.

    WMIC /Namespace:\\root\default Path SystemRestore Call Disable "C:\" Turn it off for drive C.
    Thank you Matthew. Added as option 3.
      My Computers


  5. Posts : 1
    0s
       #64

    CommandLine CMD for AutoStart . . .


    For have a Option on SystemStart ( Windows 10 ) without tick UserPrompt its Possible create a CMD file thats use Powershell

    Disable Specific Drive ( C:\ )

    PowerShell -NoProfile -ExecutionPolicy Unrestricted -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Unrestricted -Command ""Disable-ComputerRestore -Drive "C:" ""' -Verb RunAs}";

    Enable Specific Drive ( C:\ )

    PowerShell -NoProfile -ExecutionPolicy Unrestricted -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Unrestricted -Command ""Enable-ComputerRestore -Drive "C:" ""' -Verb RunAs}";

    Th@nks Brink @nd and any Tenforums Member ! i !
      My Computer


  6. Posts : 841
    Windows 10 Pro 21H2
       #65

    I created the wmic batch file and a elevated shortcut. If I run the shortcut manually, it works, but if I try to run it at startup or logon, it fails whether in the All Users for User folder.

    Edit: I just did another check with another shortcut by placing pause in the one above and the other and neither shortcut ran.

    OS is Windows 10 Pro; Build 19042.804
      My Computer


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

    rdwray said:
    I created the wmic batch file and a elevated shortcut. If I run the shortcut manually, it works, but if I try to run it at startup or logon, it fails whether in the All Users for User folder.

    Edit: I just did another check with another shortcut by placing pause in the one above and the other and neither shortcut ran.

    OS is Windows 10 Pro; Build 19042.804
    Hello mate,

    Just to verify, did you create and use the elevated shortcut created using the method below for this?

    Create Elevated Shortcut without UAC prompt in Windows 10
      My Computers


  8. Posts : 841
    Windows 10 Pro 21H2
       #67

    Brink said:
    Hello mate,

    Just to verify, did you create and use the elevated shortcut created using the method below for this?

    Create Elevated Shortcut without UAC prompt in Windows 10
    Hello Shawn,

    You got me on that one, it worked and that is some kind of a trick - Thanks
      My Computer


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

    rdwray said:
    Hello Shawn,

    You got me on that one, it worked and that is some kind of a trick - Thanks
      My Computers


 

Tutorial Categories

Turn On or Off System Protection for Drives 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:12.
Find Us




Windows 10 Forums