Hi Folks,
I've been trying to nut out a problem I'm seeing on -all- my clients since I moved a bunch of them to Win10 earlier this year. Its the common enough 'explorer' freeze. This manifests in any number of ways, as most would be aware, but the above post has come closest, I think, to hitting on the real symptom.
Since reading this thread I started checking the number of threads associated with the explorer.exe process and yes, sure enough, when the thread count reaches 800 the dreaded freeze happens... absolutely reproducible. Opening taskmgr and restarting explorer allows the system to continue until, eventually, the thread count again rises to 800 and another freeze ensues.
Though I can't understand why, it is related to classic menu/classic explorer. I don't know which. But, if one uninstalls classic shell, the problem doesn't manifest. With Classic shell installed sometimes the classic menu will freeze, sometimes not, but 99% of the time a right click on the desktop area won't produce any response. From here the taskbar will then stop responding and shortly after the start menu as well (usually).
This post is related, though talks to a different symptom and one that I also often see:
viewtopic.php?f=12&t=5587&p=24540&hilit=explorer+threads+800#p24540Now, running Win10 -without- classic shell is a non starter for me. My clients will simply and emphatically demand a return to Win7 or Win8 (with classic shell) before they accept the unintelligible standard start menu on Win10. I've got to find an answer to this problem.
Some things about my systems:
- All have onedrive uninstalled
- They all have their default user profile modified and implemented using 'defprof.exe' from ForensiT (
https://www.forensit.com/support-downloads.html). Creating default profiles in this way exacerbates the problem though it is not the root cause as the issue arises eventually anyway.
Following another course of enquiry for a different problem (eventviewer showing massive numbers of errors on microsoft.skypeapp and microsoft.windowsphone) led me down the path of removing select modern apps. This was quite an interesting exercise. In so doing, via a powershell script (which I can supply if its interesting), I noticed that the powershell script would pause, indefinitely, during the uninstall of provisioned modern apps. When checking taskmgr at these pauses in each and every case the explorer.exe process had more than 800 threads. Restart explorer.exe and the powershell app uninstall script would continue, but would again raise the thread count to 800 within a few minutes, pausing again, and awaiting me to restart explorer.exe.
After doing the above, I recreated the default user profile (using defprof.exe again) and logged in as a new administrative user. Opened the taskmgr/resource monitor. Explorer.exe was using about 150 threads or so. Now click on classic menu, thread count rises quickly and significantly, 200-400-600 then 800+ and at that point classic menu stops populating icons in the menu - instead leaving generic small white program icons where normally an applications coloured icons would be. At this point, the system won't recover until explorer.exe is restarted. Upon doing that the remaining icons will populate properly.
Until the icon cache is fully and properly created, this remains a problem. Once done, the symptoms reduce significantly.
This goes along with anecdotal evidence from my systems too. A new user on a fresh system will have their profile created and will immediately have multiple problems with desktop freezes. Over the course of several reboots/relogins/days the problems reduce to workable levels but never truly go away.
Procdump included, Windows 10 pro, build 10586.589 (x86 in this instance)
(Edit: Classic shell V4.3.0)