cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mdouglas
Engaged Sweeper III
Here is a custom action that will delete a local workstation's Group Policy cache. This is useful when a machine gets out of synch with the Domain Controllers and has GPO errors in the event logs. This will work on Windows XP and Windows 7 and it does require psexec.exe.

Custom Action
{actionpath}psexec.exe \\{computer} -u administrator -p YOURLOCALADMINPASSWORD /c {actionpath}DeleteGPOCache.bat

DeleteGPOCache.bat
DEL /S /F /Q "%ALLUSERSPROFILE%\Application Data\Microsoft\Group Policy\History\*.*"
gpupdate /force