The Group Policy Update (GPUpdate) utility lets you update the group policies on a computer. Use this utility as a replacement for the now obsolete /refreshpolicy command line switch for the SecEdit utility.
Using this utility ensures that essential group policy changes appear on a computer, especially systems that are on 24 hours per day.
This utility uses the following syntax:
GPUpdate [/Target:{Computer | User}] [/Force] [/Wait:] [/Logoff] [/Boot] [/Sync]
For example, you’ll need to use this technique for software installation and folder redirection policies. The utility ignores the command line switch when there aren’t any policies that require a logoff to implement.
this command line switch affects those policy updates that require a reboot, rather than a simple logoff. As with the /Logoff command line switch, the utility ignores this command line switch when there aren’t any policies that require a reboot.
/Sync Performs the next foreground policy application synchronously (possibly reducing the
update time required for group policies). Foreground policy applications occur at computer boot and during user logon. You can specify this command line switch with the /Target command line switch to synchronize updates for just the user or just the computer policies.
Note: When you use this command line switch, it ignores the /Force and /Wait command line switches.