Skip to content
Permalink
Browse files

Change attribution

  • Loading branch information
ErikLentz committed Jan 12, 2020
1 parent eb8b609 commit c5479822243da2468a235a3cba2dcce4e1b826c2
Showing with 2 additions and 2 deletions.
  1. +2 −2 GPCacheDelete.cmd
@@ -1,10 +1,10 @@
@echo off
REM GPCacheDelete by smeggysmeg, https://github.com/smeggysmeg/GPCacheDelete
REM GPCacheDelete by Erik Lentz, https://github.com/ErikLentz/GPCacheDelete
DEL /S /F /Q "%ALLUSERSPROFILE%"\Application Data\Microsoft\Group Policy\History\*.*"
REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies /f
REG DELETE HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies /f
DEL /F /Q C:\WINDOWS\security\Database\secedit.sdb
Klist purge
echo y | gpupdate /force /wait:0
shutdown -r -f -t 10 -c "Restarting now. Restart again to complete policy refresh"
exit
exit

0 comments on commit c547982

Please sign in to comment.
You can’t perform that action at this time.