Tagged: group policy
- This topic has 2 replies, 1 voice, and was last updated 9 years, 4 months ago by
Michael Pietroforte.
- AuthorPosts
- Thu, Jul 31 2014 at 6:02 am #19207
When I run psexec on a Windows Server 2012 R2 machine to remotely update Group Policy on a Windows 7 and a Windows 8.1 client , the Group Policy settings don’t change on the clients. The event log indicates that a manual Group Policy update has been running. This is the output of psexec and gpupdate on the server.
psexec \\win7 gpupdate /force PsExec v1.98 - Execute processes remotely Copyright (C) 2001-2010 Mark Russinovich Sysinternals - www.sysinternals.com Updating Policy... User Policy update has completed successfully. Computer Policy update has completed successfully. gpupdate exited on win7 with error code 0.
If I run gpupdate locally on the clients, Group Policy updates correctly. I can also remotely update Group Policy with PowerShell and GPMC.
- Fri, Aug 8 2014 at 9:41 am #19337
It turned out that the PsExec parameter -i is required to update user policies. Without the parameter only computer polices are refreshed. Only if the user on the source and the target computer are the same will user policies be updated without the parameter.
This is the correct syntax:
psexec \\ComputerName –i gpupdate
- Sat, Aug 9 2014 at 12:27 am #19338
Also check out my new guide of how to use PsExec with gpupdate.
- AuthorPosts
- You must be logged in to reply to this topic.