Community FAQ
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
0 REPLIES 0

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now