分享

组策略的应用(二)组策略的刷新时间 - 吴宝林的技术博客 - 51CTO技术博客

 jan_hf 2009-12-25
组策略的应用(二)组策略的刷新时间
2008-12-29 08:47:38
 标签:组策略 Windows XP   [推送到技术圈]

    Are your Windows XP machines having trouble receiving Group Policy updates during working hours? If so, you may need to adjust the refresh interval. Read this tip to learn how to change the refresh interval for Group Policy's User Configuration and Computer Configuration settings.
概述:

If you're troubleshooting a Windows XP system that is encountering problems receiving Group Policy updates during working hours, you may want to adjust the Group Policy refresh interval.
如果您正为WindowsXP系统的在工作时间内接收组策略更新的问题而苦恼,您可以调整组策略刷新时间间隔。
By default, the refresh interval is set to 90 minutes on all Windows XP systems. This means that many clients could be requesting policy updates at the same time, and the server could be getting overloaded with simultaneous requests. Therefore, the system in question my not be able to receive Group Policy updates.
所有的Windows XP系统在默认情况下,刷新时间间隔被设为90分钟。这意味着一些客户端可能同时被要求组策略更新,并且服务器可能因为这些同时发生的请求而超载。因此,系统将不能接收组策略更新。
However, you can reset the refresh interval to any value between 0 and 64,800 minutes (45 days). In addition, you can set an interval offset, which further randomizes the refresh period to any value between 0 and 1,440 minutes (24 hours).
然而,你可以重新设置介于0到64,800分钟(45天)之间的刷新时间间隔值。而且,你可以设置一个时间间隔偏差,其取值为0到1,440分钟(24小时),可使刷新周期更随机。
You'll want to change the refresh interval for both the User Configuration and Computer Configuration settings. Since the instructions for each are identical, we'll combine the names as Computer/User Configuration in our steps.
你将要改变用户配置和计算机配置的刷新时间间隔。因为两者的指令是同样的,在我们的操作步骤中将把计算机/用户配置名合起来。
Here's how to adjust the refresh interval:
这是调整刷新时间间隔的步骤:
  1. Launch the Group Policy console (Gpedit.msc).
    打开“组策略”控制台(开始-->运行...,输入:Gpedit.msc,确定。)
  2. Go to Computer/User Configuration, expand Administrative Templates, expand System, and click Group Policy.
    计算机/用户配置-->管理模板-->系统-->组策略。
  3. Locate and double-click the Group Policy Refresh Interval For Computers/Users. 找到并双击计算机/用户的组策略刷新间隔。
  4. Select the Enabled option button.
    选定“启用”单选按钮。
  5. Use the spin buttons to set the Minutes value for the refresh interval.
    设置用户的组策略刷新间隔分钟值。
  6. Use the spin buttons to set the Minutes value for the refresh offset.
    设置用户的组策略刷新间隔的随机时间分钟值。
  7. Click OK and then exit the Group Policy console.
    点击“确定”按钮并关闭“组策略”控制台。
endurer补:
  强制组策略更新
  组策略会通过活动目录周期性的被更新,默认的设置会每90分钟更新一次工作站的组策略设置。
  要强制组策略立刻在本机更新可以使用命令行工具gpupdate.exe。输入gpupdate /?将会看到该命令所有可用的参数。例如,要强制立刻刷新计算机配置这部分的组策略设置,可以使用:
 
 
 
    或许有人天真的想,我的客户端机器,只要不注销,不重启,任你管理员如何去修改组策略,影响不到我,与我无关。这是天真的想法,也是很自然的疑问。要解答这个疑问,就要引入一个新的机制,组策略刷新时间。本质上,不管你不重启不注销也不关机,浪费公司的电,刷新时间到了,你还是得去应用组策略设置,魔高一尺,道高一丈,大家都玩的很开心。
1、对于域控,五分钟是一个刷新周期,这让我联想到了默认域控策略,但新策略还是用新GPO,因为你的默认域控策略挂了,你可以使用dcgpofix恢复初始状态,但你另加的设置就没了,分隔开来,就不存在这种问题了;
2、对于客户端或是成员服务器,默认是90分钟,也就是一个半钟,考虑到实际环境,这个时间有30分钟的增长,也就是一个半钟到两个钟,而所谓的实际环境也就是如果此时DC繁忙,客户端可以排排队等等,我们去银行总是这样,弄丢了卡本来就不爽,还要填单排队,更不爽,去银行你就不要指望准时出来;
3、前面两点没什么说的,很多地方都有所述,但是如果没有策略更新,客户端同样要在16个小时拿一次更新,这点似乎对成员服务器更有效,因为客户端工作16个小时的话,早就怨声载道了,服务器就不一样了,我们要求它7X24,人们都说身娇肉贵,服务器恰恰相反,身价不低,但却是劳碌命,什么时候挂了,什么休息下,此时或许要落得个开膛破肚的下场;

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多