Home   ::  Login   ::  Register   ::  Post

:: Computers & Technology

How to update a group policy on local or remote computer server 2012

Posted: 2016-06-16

You can update a local or remote client computer by issuing one of these powershell commands. This works if you are running Windows Server 2012 and Powershell version 3 or up.

Invoke-GpUpdate -Computer pc1 - this will refresh the group policy of a remote computer PC1 in 10 minutes.

To execute the policy immediately, run this command:
Invoke-GpUpdate -Computer pc1 -RandomDelayInMinutes 0 -Force

For windows Server 2008 or earlier domain controller enviroment. Use, gpupdate /force

© Copyright 2019-2020 SpiderTip.Com