Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经阅读了太多关于阅读本地安全策略的主题,但我需要更改它的值,特别是“审计系统事件”。
如何使用.NET环境做到这一点..
我已经解决了这个问题,通过在命令行中运行这个命令cmd.exe:
cmd.exe
Auditpol /set /category:system /success:enable /failure:disable
为此,我将其保存在一个.bat文件中并以管理员身份运行。
.bat