域策略事件错误ID 1030 ID 1058

事件日志信息:

Details
Product: Windows Operating System
Event ID: 1058
Source: Userenv
Version: 5.2
Symbolic Name: EVENT_GPT_NOTACCESSIBLE
Message: Windows cannot access the file gpt.ini for GPO %1. The file must be present at the location <%2>. (%3). Group Policy processing aborted.

User Action

See Knowledge Base article 887303, which discusses the events and errors that might occur when Group Policy is applied.

Details
Product: Windows Operating System
Event ID: 1030
Source: Userenv
Version: 5.2
Symbolic Name: EVENT_GPO_QUERY_FAILED
Message: Windows cannot query for the list of Group Policy objects. Check the event log for possible messages previously logged by the policy engine that describes the reason for this.

Explanation

A network connectivity or configuration problem exists. Group Policy settings cannot be applied until the problem is fixed.


User Action

To troubleshoot the network connectivity or configuration problem, try one or all of the following:

  • In Event Viewer, click System, and check for any networking-related messages, such as Netlogon messages, that indicate a network connectivity issue.

  • At the command prompt, type netdiag, and note any errors. Those errors usually have to be resolved before Group Policy processing can continue.

  • At the command prompt, type gpupdate, and then check Event Viewer to see if the Userenv 1030 event is logged again.

  • To verify that the domain controller can be contacted through Domain Name System (DNS), try to access \\mydomain.com\sysvol\mydomain.com, where mydomain.com is the fully qualified DNS name of your domain.

  • Verify that you can access the domain controller by using tools such as the Active Directory Users and Computers snap-in.

  • Check to see whether other computers on your network are having the same problem.

  • If this computer is a part of a cross-forest domain, verify that the forest for the user account is currently available and can be contacted by the computer on which the Group Policy processing failed.

If none of the above actions identified the problem, see the 'Troubleshooting Group Policy in Windows Server 2003' white paper at the Microsoft Web site.




解决过程:


奏效的方法为
在保证安装必须的supporttools和sp的情况下,
首先,对DFS进行刷新:

运行

dfsutil /pktflush

dfsutil /spcflush
dfsutil /purgemupcache
然后,刷新组策略
运行 gpupdate /force
此时报错情况消失,有帖子说这样解决问题会在重启之后重新出现,我试过之后没有问题。



(如果将组策略应用到网络上的计算机,您可能会遇到一个或多个错误和事件。要确定发生问题的原因,您必须对网络上的计算机的配置进行故障排除。请按照下列步骤排查发生问题的原因:

  1. 检查服务器和客户机上的 DNS 设置和网络属性。

  2. 检查客户机上的服务器消息块签名设置。

  3. 确保在所有计算机上都启动了 TCP/IP NetBIOS Helper 服务、Net Logon 服务和远程过程调用 (RPC) 服务。

  4. 确保在所有计算机上都启用了分布式文件系统 (DFS)。

  5. 检查 Sysvol 文件夹的内容和权限。

  6. 确保对必要的组授予跳过遍历检查权限。

  7. 确保域控制器未处于日志折叠状态。

  8. 运行 dfsutil /purgemupcache 命令。)





你可能感兴趣的:(1030,1058)