加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-server-2008-r2 – 错误配置的高级审计策略;回归基本?

发布时间:2020-12-14 00:02:13 所属栏目:Windows 来源:网络整理
导读:我无法相信我这样做……我在GPO中制定了一项高级审计政策,并关闭了所有基本政策. From Technet: After you apply advanced audit policy settings by using Group Policy,you can only reliably set system audit policy for the computer by using the adv
我无法相信我这样做……我在GPO中制定了一项高级审计政策,并关闭了所有基本政策. From Technet:

After you apply advanced audit policy settings by using Group Policy,you can only reliably set system audit policy for the computer by using the advanced audit policy settings.

对我来说似乎很奇怪,没有办法说,“没关系,回到基本的审计”.我们不会将整个网络恢复到旧备份,因为自更改实施以来已经太久了.

在服务器故障中询问了similar question,但答案似乎是“配置高级审计以执行相同的方式”.如果我别无选择,我会这样做,但我更愿意实际恢复基本审计.

好吧,似乎我找到了答案.将子类别设置设置为“已禁用”很重要.在回答的评论中链接的 technet article表明配置不正确……这让我感到沮丧.

从http://jmfcomputers.co.uk/blog/?p=202开始

In order to roll back you will need to do the following:

? Reset all of your local advanced audit settings. If you did this via GPO,reset the settings in this GPO.

? On the 2008 machine use “auditpol /clear” to clear any locally set policies.

? You must set the local policy “Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings” to DISABLED. When you do this and it is applied you will see the registry key HKLMSYSTEMCurrentControlSetControlLsa – SCENoApplyLegacyAuditPolicy = 0 (DWORD)

? Then you need to delete the audit.csv files. For domain based policy this will be in SYSVOL

? [Domain]sysvol[Domain]Policies{GUID}MachineMicrosoftWindows NTAudit

? For local policies delete the Audit.csv from all of these locations. Some may be hidden,but they are there!!

? C:Windowssecurityaudit

? C:WindowsSystem32GroupPolicyMachineMicrosoftWindows NTAudit

Now reboot or “gpupdate /force” and you should be back to the start again.

Incidentally,once you have got the 2008 R2 machine applying the old Audit policies again I would advise setting the policy “Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings” back to the default of not defined. This way when you move forward with the Advanced Audit settings in the future via GPO you will not have cases where 2008 R2 servers that have this setting disabled that were ”fixed” then will not apply the new advanced audit settings. In order to do this just delete the SCENoApplyLegacyAuditPolicy DWORD value. You will see in the local policy that this has set the policy back to “not defined”.

这似乎已将审计恢复到在我们的网络上启用高级审计之前的程度.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读