Automate the creation of restore points

Orang-outanCruel16 Posted messages 1 Registration date   Status Member Last intervention   -  
brucine Posted messages 25313 Registration date   Status Member Last intervention   -

under Windows 11

1 answer

  1. MPMP10 Posted messages 47636 Registration date   Status Member Last intervention   19 107
     
    0
    1. brucine Posted messages 25313 Registration date   Status Member Last intervention   4 197
       

      Hello,

      Unless there is a particular requirement that would complicate things (names of restore points, cleanup of earlier points controlled by the script, manual creation...) the scheduled task itself, whether created graphically or via the command line, has reinvented the wheel for the past few months; Windows provides the feature at Settings-System-Recovery-Restore at a moment in the past.

      At most the restore point interval under Windows Home is 24 hours and unmodifiable, and a script can only be used to schedule a longer interval (not shorter unless you modify the registry to allow more than one in a day).

      It’s not useful to report that you’ve checked the security of a batch; before doing anything else you can right-click to modify to verify what’s inside, but that doesn’t necessarily solve the problem: a number of security software censors by default the execution of all scripts and you will therefore have to bypass it.

      0
      1. MPMP10 Posted messages 47636 Registration date   Status Member Last intervention   19 107 > brucine Posted messages 25313 Registration date   Status Member Last intervention  
         

        Good evening,

         We do not see the usefulness of reporting that we have checked the security of a batch

        But otherwise and without wanting to be unkind since this issue is recurring, apart from just coming here mainly to post a critique, what do you concretely propose to the person concerned!

        0
      2. brucine Posted messages 25313 Registration date   Status Member Last intervention   4 197 > MPMP10 Posted messages 47636 Registration date   Status Member Last intervention  
         
        It's curious, we can't comment on what you write without you taking it as a critique and a personal attack, even though I did propose an alternative. If we absolutely want to go through a batch that you can't even take raw from the shell without modification (backup names, control and deletion of old ones...) and then authorize it in the security software and schedule it, you just need to right-click edit to check that it contains nothing other than what it claims, but in general that remains a headache. It's so much simpler unless there is a specific requirement that wasn't stated by the requester and whose context you haven't also considered, such as passing through the new Windows feature as I highlighted.
        0