修改注册表权限加强对木马、病毒的防范( 三 )


@setacl CLASSES_ROOTexefileshellopencommand /registry %OP%>nul 2>nul
@setacl CLASSES_ROOTinifileshellopencommand /registry %OP%>nul 2>nul
@setacl CLASSES_ROOTtxtfileshellopencommand /registry %OP%>nul 2>nul
@setacl CLASSES_ROOTcomfileshellopencommand /registry %OP%>nul 2>nul
@setacl CLASSES_ROOTbatfileshellopencommand /registry %OP%>nul 2>nul
@setacl CLASSES_ROOTinffileshellopencommand /registry %OP%>nul 2>nul
@echo 正在更新帐户策略、审核策略......
@REM [刷新本地安全策略]
@\updatePolicy%>nul 2>nul
@echo 帐户策略、审核策略更新完成
:complete
@echo 操作完成
@echo.
@echo.
@echo 请按任意键退出 。
@pause>nul 2>nul
:quit
@rem Clear
@del %systemroot%system32setacl.exe>nul 2>nul
@del %systemroot%system32AntiTrojanhorse.bat>nul 2>nul
@ENDLOCAL

推荐阅读