Page 1 of 1

script that won't work anymore in x64

Posted: 12 Jul 2025 15:00
by XY fan
I have this script - courtesy of highend I think - on a Toolbar button which gets me most of the way in to Delete Restore Points:

run "%SystemRoot%\SysNative\cmd.exe /C systempropertiesprotection",,0,0;

It does not work anymore in x64 it appears. Can it be changed to work in x64?

Thanks in advance.

Re: script that won't work anymore in x64

Posted: 12 Jul 2025 15:19
by Horst
There is no longer a need for Sysnative in a x64 Tool.
It's only a way for 32bit tools to access the real system32.
For your script, it should be enough to call cmd.exe.

Re: script that won't work anymore in x64

Posted: 12 Jul 2025 22:10
by jupe
Only this should be necessary,

run "systempropertiesprotection";