I had a batch file, that restart my explorer.exe, when it lags, or when I need.
@echo off
taskkill /f /im explorer.exe
start explorer.exe
exit /b 0
But, sometimes it causes a problem - it reset my icons position on desktop. And it's really annoying.
Are there any ways to restart explorer safely to prevent that problem?