I got fed up with it as well. Here is a workaround:
If !WinExist("ahk_class ConsoleWindowClass ahk_exe dwm.exe")
WinWait,ahk_class ConsoleWindowClass ahk_exe dwm.exe,,60000
WinClose,Desktop Window Manager ahk_class #32770
WinSet,Disable,,ahk_class ConsoleWindowClass ahk_exe dwm.exe
WinHide,ahk_class ConsoleWindowClass ahk_exe dwm.exe
Loop
{
WinSet, Disable,,ahk_class ConsoleWindowClass ahk_exe ApplicationFrameHost.exe
WinHide,ahk_class ConsoleWindowClass ahk_exe ApplicationFrameHost.exe
WinSet, Disable,,ahk_class ConsoleWindowClass ahk_exe Explorer.EXE
WinHide,ahk_class ConsoleWindowClass ahk_exe Explorer.EXE
If WinExist("ahk_class ConsoleWindowClass ahk_exe ApplicationFrameHost.exe") and WinExist("ahk_class ConsoleWindowClass ahk_exe Explorer.EXE")
Break
Else
Sleep,1000
}
The script needs to run as SYSTEM because otherwise it will not have permission to hide the windows. To do that, install PsTools and make a scheduled task to run it at logon:
Download ZIP file