Answer the question
In order to leave comments, you need to log in
How to force PC to update group policies via AD?
The most banal situation: I changed a couple of settings in group policy.
Some PCs almost immediately (1-2 reboots) updated and applied the changes.
But most of them have not been using it for more than a week now.
Going manually on each prescribe gpupdate / force is not an option.
What do you advise? Maybe somehow a logon script? Or is there a setting in the registry somewhere? Or maybe even in group policy?
Answer the question
In order to leave comments, you need to log in
No need for any psexec out of the box everything works Powerhell
Invoke-GPUpdate -Computer WKS0456 = RandomDelayMinutes 0
As an option, you can also consider adding a scheduled task with gpupdate on the machines.
something like this:
Import-Module ServerManager;
Add-WindowsFeature -Name "RSAT-AD-PowerShell" –IncludeAllSubFeature;
(Get-ADComputer -Filter *).name | % { Invoke-Command -ComputerName $_ -ScriptBlock {gpupdate /force}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question