Group — Policy Update Command
gpupdate /target:user /logoff
To update Group Policy settings on a Windows machine, you typically use the command line to force an update. This is particularly useful when you have made changes to the Group Policy Objects (GPOs) and you want to apply them immediately to a computer or user without waiting for the periodic refresh interval. The refresh interval for Group Policy is typically every 90 minutes, but you can force an immediate update using the following command. group policy update command
@echo off gpupdate /force