|
@setacl machine\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesEx /registry %OP%>nul 2>nul
@rem HKCU @setacl CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /registry %OP%>nul 2>nul @setacl CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /registry %OP%>nul 2>nul @setacl CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices /registry %OP%>nul 2>nul @setacl CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunEX /registry %OP%>nul 2>nul @setacl CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEX /registry %OP%>nul 2>nul @setacl CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesEx /registry %OP%>nul 2>nul @setacl CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce /registry %OP%>nul 2>nul
@rem USERS @setacl USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /registry %OP%>nul 2>nul @setacl USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /registry %OP%>nul 2>nul @setacl USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices /registry %OP%>nul 2>nul @setacl USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunEX /registry %OP%>nul 2>nul @setacl USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEX /registry %OP%>nul 2>nul @setacl USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesEx /registry %OP%>nul 2>nul @setacl USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce /registry %OP%>nul 2>nul
@rem Services @setacl MACHINE\SYSTEM\CurrentControlSet\Services /registry %OP%>nul 2>nul
@rem CLASSES_ROOT @setacl CLASSES_ROOT\exefile\shell\open\command /registry %OP%>nul 2>nul @setacl CLASSES_ROOT\inifile\shell\open\command /registry %OP%>nul 2>nul @setacl CLASSES_ROOT\txtfile\shell\open\command /registry %OP%>nul 2>nul @setacl CLASSES_ROOT\comfile\shell\open\command /registry %OP%>nul 2>nul @setacl CLASSES_ROOT\batfile\shell\open\command /registry %OP%>nul 2>nul @setacl CLASSES_ROOT\inffile\shell\open\command /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%\system32\setacl.exe>nul 2>nul @del %systemroot%\system32\AntiTrojanhorse.bat>nul 2>nul
上一篇:Windows XP系统注册表十则设置技巧
下一篇:Linux 如何修复损坏的MySQL数据库
|