@cls @explorer.exe "%LocalAppData%\Microsoft\Windows\Explorer\" @echo Run as admin. @echo Clears thumbnail and icon caches used by explorer.exe and maybe other applications, that fex had a file open dialog. @echo You sure? @pause @taskkill /f /im explorer.exe @hwaitfor.exe ProcessStopped:explorer.exe @hwaitfor.exe time:3 @del /f /q /a "%LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db" @del /f /q /a "%LocalAppData%\Microsoft\Windows\Explorer\iconcache_*.db" @explorer.exe @explorer.exe "%LocalAppData%\Microsoft\Windows\Explorer\" @echo If there are Access Denied errors, then search in Resource Monitor under CPU for the process, that holds a handle to the file. @pause