运行以下批处理
echo on
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations /v ModRiskFileTypes /t REG_SZ /d .exe;.bat /f
gpupdate /force
pause
echo off
运行以下批处理
echo on
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations /v ModRiskFileTypes /t REG_SZ /d .exe;.bat /f
gpupdate /force
pause
echo off