The script you posted in post #6 does not do what you claimed.The question I answered was how to create an Automatic Restore point, like I do on every boot.
Its inability to do so has nothing to do with startup folders or anything else. That script is not capable of taking any action on anything. It is merely an impotent extract from Brink's complete script.
- Windows 11 Home x64 Version 22H2 Build 22631.2715