This is the small AutoHotKey script I use to restart explorer:
WinGet, h, ID, ahk_class Progman
PostMessage, WM_QUIT, 0, 0, , ahk_id %h%
Run, explorer.exe
The problem is that it runs Start up items. I see that this dude had the same problem.
Anybody knows a way to fix it ?