新进化论

道生一,一生二,二生三,三生万物。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
This article explains a single command you can use to update the Group Policy settings on remote computers. Please note this applies to Windows 2000 Computers only!
>> -->

Windows 2000 ships with a command line tool to refresh the Group Policy settings on a local computer. But what if you need to refresh Group Policy settings on 100 Windows 2000 machines? You either need to create a script to do so or visit each computer individually. To eliminate this, you can use the below steps to accomplish the task:

Steps:

  • Create a Text file named Servers.txt
  • Paste all the computer names in txt file.
  • Run the following commands from a Windows 2000 computer:

To refresh user policy: 

To refresh machine policy

  • Psexec.exe -@Servers.txt secedit.exe /refreshpolicy machine_policy
posted on 2009-04-12 18:26  岌岌可危  阅读(316)  评论(0编辑  收藏  举报