New
#21
I don't see how. You could write a powershell script that does this that would turn it off and on all day long...
Disable-ComputerRestore -drive "C:"
Enable-ComputerRestore -drive "C:"
Disable-ComputerRestore -drive "C:"
Enable-ComputerRestore -drive "C:"
etc etc
What do you want to do? Stop the ability for this to work? What if I write a program (or installer) that includes enabling it for some reason? Even if that reason is wrong?
You could block access to the registry key (but this may make the installer or program fail) or you could submit a job to run every log-on (or every 5 minutes) to disable it no matter what.
Actually I have a manual powershell script I run after every upgrade and one of the lines is
Disable-ComputerRestore -drive "C:"
I don't think even theoretically you can get around it in an elegant manner.