This batch file will set back the default value for .exe file in Windows PE environment.
- Prepare a Windows PE boot USB. i.e.:WIndows 11 Setup USB.
- Copy the .bat file to your USB.
- Boot PC by Windows PE or some Windows environment you can run the .bat file. i.e.: Windows 11 Setup USB
- press Shift+F10 while booted into Windows PE.
- run the .bat file. It will set the default registry value for .exe file.