Quick answer
Run a clean boot, disable suspicious shell extensions with ShellExView, then repair system files with SFC and DISM.
Getting the "Explorer.exe has stopped working" error right after you finally scrubbed that malware is infuriating. I've been there—you think you've won, and then your desktop keeps flickering and crashing. This usually happens because the malware left behind broken shell extensions or registry entries that Windows Explorer tries to load on startup. Even if your antivirus removed the malicious files, the leftover hooks stay and cause chaos.
Why this happens
Malware often injects itself into Explorer's startup process via shell extensions—those DLLs that add context menu items or thumbnail previews. When the malware is deleted, the DLL is gone, but the registry key pointing to it remains. Explorer tries to load that missing DLL, freaks out, and crashes. Sometimes it's also corrupted system files from the malware's meddling. Either way, you need to clean up the leftovers, not just reinstall Explorer.
Fix steps
- Boot into Safe Mode (if you can't even use your desktop normally). Restart your PC, press Shift while clicking Restart, then go to Troubleshoot > Advanced Options > Startup Settings > Restart. Press 4 for Safe Mode.
- Run ShellExView (free from NirSoft). This tool lists all shell extensions. Sort by "Company" and look for anything with no company name or a blank one—most legit extensions have a known company. Disable anything that looks suspicious by right-clicking and choosing "Disable Selected Items". Don't disable everything—you'll break your context menus. Start with the ones that have no description or company.
- Restart normally and see if Explorer stops crashing. If it does, you found the culprit. You can re-enable extensions one by one to narrow it down, but I'd just leave the disabled ones off—you probably don't need them.
- If it still crashes, run SFC and DISM. Open Command Prompt as Administrator (right-click Start button). Run
thensfc /scannow
. This repairs corrupted system files that malware might have damaged. These take a while—grab coffee.DISM /Online /Cleanup-Image /RestoreHealth - Check the registry for orphaned keys (advanced). Press Win+R, type
regedit, and go to
andHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers
. Look for entries with names like " 0000malware" or gibberish—delete them. Backup your registry first (File > Export).HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers
If that doesn't work
Try a clean boot to see if a third-party service is the trigger. Run msconfig, go to Services tab, check "Hide all Microsoft services", click Disable all, then restart. If Explorer is stable, re-enable services in batches to find the troublemaker. This is tedious but effective.
Also consider creating a new Windows user profile. Sometimes the crash is tied to your user's corrupted profile. Create a test user account and log in—if Explorer works fine there, you'll need to migrate your files to the new profile.
Prevention tip
Stop this from happening again by keeping your antivirus updated and running a second-opinion scanner like Malwarebytes once a month. Also, be picky about what you install—freeware that bundles extra junk is how most malware gets in. And before you delete any suspicious files, always use a tool like Autoruns to check startup entries, so you can clean them out properly. That way you won't be left with these ghost extensions.