@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
推荐阅读
- 走出注册表修改的三大误区
- 对注册表进行编辑的三种途径
- Windows系统注册表知识完全揭密
- Windows XP系统注册表十则设置技巧
- 更改IE的缓冲的路径
- 小红书修改标签具体操作步骤
- 恢复使用注册表编辑文件regedit.exe
- 禁止修改“控制面版”
- 禁止使用注册表编辑文件regedit.exe
- 禁止修改显示属性