Gpupdate Command [best]
A typical workflow:
The gpupdate command can be used in various scenarios: gpupdate command
Issues a user logoff the Group Policy refresh. This is essential for policies that only apply during logon (e.g., user home drive mapping, folder redirection, logon scripts). A typical workflow: The gpupdate command can be