Explorer.exe Application Error 0xc0000142: Complete Fix Guide (2026)
Updated March 2026 — Windows 11 24H2 & Windows 10 22H2 Solutions
The error message looks terrifying:
Explorer.exe - Application Error
The application was unable to start correctly (0xc0000142).
Click OK to close the application.
When this happens, your desktop disappears, taskbar vanishes, and you’re left staring at a black screen or frozen desktop. The 0xc0000142 error means Windows cannot properly initialize Explorer.exe — usually due to corrupted DLL files, registry issues, or incompatible shell extensions.
This guide provides every known fix, ordered from quickest to most thorough.
What Does Error 0xc0000142 Actually Mean?
The Technical Explanation
Error code 0xc0000142 translates to STATUS_DLL_INIT_FAILED. This means:
“A DLL (Dynamic Link Library) that Explorer.exe depends on failed to initialize properly.”
Why DLL Initialization Fails
| Cause | Explanation |
|---|---|
| Corrupted DLL | File damaged by disk errors or malware |
| Missing DLL | Uninstalled software removed shared file |
| Wrong architecture | 32-bit DLL trying to load in 64-bit process |
| Access denied | Insufficient permissions to load DLL |
| Circular dependency | DLL A needs B, B needs A |
| Shell extension conflict | Third-party extension crashes during init |
When Does It Happen?
- At Windows startup — Explorer crashes immediately, no desktop
- When right-clicking — specific shell extension fails
- Opening specific folders — folder-specific handler broken
- After Windows Update — driver or system file incompatibility
- After software installation — incompatible shell extension registered
Emergency Recovery: When You Can’t Access Desktop
Method 1: Restart Explorer via Task Manager
If you can still access Task Manager:
- Press
Ctrl + Shift + Esc - File → Run new task
- Type:
cmd - Check “Create with administrator privileges”
- In Command Prompt, type:
taskkill /f /im explorer.exe
timeout /t 2
start explorer.exe
Method 2: Safe Mode Boot
If Explorer won’t start at all:
- Hold
Shiftand click Restart (from login screen) - Troubleshoot → Advanced options → Startup Settings → Restart
- Press
4orF4for Safe Mode - In Safe Mode, follow fixes below
Method 3: System Restore from Recovery
- Boot from Windows installation USB
- Click “Repair your computer”
- Troubleshoot → System Restore
- Choose restore point from before the error started
Fix 1: Re-register All DLLs (Quickest Solution)
This fix rebuilds DLL registrations that may have been corrupted:
Step 1: Open Admin Command Prompt
Press Win + X → Windows Terminal (Admin) or Command Prompt (Admin)
Step 2: Re-register Shell32.dll
regsvr32 /u shell32.dll
regsvr32 shell32.dll
Step 3: Re-register Common Explorer DLLs
regsvr32 /u shdocvw.dll
regsvr32 shdocvw.dll
regsvr32 /u browseui.dll
regsvr32 browseui.dll
regsvr32 /u comdlg32.dll
regsvr32 comdlg32.dll
Step 4: Restart Explorer
taskkill /f /im explorer.exe
start explorer.exe
Success rate: ~30% of cases. Takes 2 minutes.
Fix 2: System File Checker (SFC)
Repair corrupted Windows system files:
# Run as Administrator
sfc /scannow
What it does:
- Scans all protected system files
- Replaces corrupted files with cached copies
- May require Windows installation media
Duration: 10-30 minutes
After completion: Restart computer
If SFC finds errors it cannot fix, proceed to DISM:
# DISM repairs the component store
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Then run sfc /scannow again.
Fix 3: Disable Problematic Shell Extensions
Since 0xc0000142 often stems from shell extensions, disable them systematically:
Using ShellExView
- Download ShellExView from NirSoft
- Run as Administrator
Options → Hide All Microsoft Extensions- Select all remaining (third-party) extensions
- Press
F7to disable File → Restart Explorer
If Explorer starts: Re-enable extensions one by one until error returns.
Manual Registry Method
# Backup first
reg export "HKCR\*\shellex\ContextMenuHandlers" C:\shell-backup.reg
# Disable all context menu handlers (safe mode)
Rename-Item "HKCR:\*\shellex\ContextMenuHandlers" "ContextMenuHandlers.backup"
Fix 4: Check Environment Variables
Corrupted PATH variable can cause DLL loading failures:
Step 1: Check System PATH
- Press
Win + R→ typesysdm.cpl→ Enter - Advanced tab → Environment Variables
- Under “System variables”, find Path
- Check for:
- Empty entries
- Non-existent directories
- Strange characters
- Very long paths (>2048 chars)
Step 2: Clean PATH Variable
Remove entries pointing to:
- Uninstalled software
- Non-existent folders
- Temporary directories
Default Windows PATH should include:
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
Fix 5: Repair .NET Framework
Explorer depends on .NET components:
Run .NET Repair Tool
- Download Microsoft .NET Repair Tool
- Run the tool
- Follow wizard to detect and fix issues
- Restart computer
Re-register .NET Assemblies
# For .NET Framework 4.x
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe update
# For older .NET
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe update
Fix 6: Fix AppInit_DLLs Registry
Malware or bad software often corrupts AppInit_DLLs:
Check Current Values
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "AppInit_DLLs"
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "LoadAppInit_DLLs"
Reset to Default
# Should be empty for security
Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "AppInit_DLLs" -Value ""
# Should be 0 (disabled) or 1 only if needed
Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "LoadAppInit_DLLs" -Value 0
Note: Some legitimate software (old games, CAD tools) requires LoadAppInit_DLLs=1. If you need this, ensure AppInit_DLLs contains only trusted DLLs.
Fix 7: Create New User Profile
If user profile is corrupted:
Step 1: Create New Admin Account
# In Command Prompt (Admin)
net user NewUsername /add
net localgroup administrators NewUsername /add
Step 2: Log In as New User
- Sign out current user
- Log in as NewUsername
- Check if Explorer works
If it works: Your profile is corrupted. Migrate data:
- Copy documents from
C:\Users\OldUsername\Documents - Export browser bookmarks
- Reinstall applications
Fix 8: Check for Malware
Malware often corrupts Explorer components:
Run Full System Scan
-
Windows Defender Offline Scan
- Settings → Update & Security → Windows Security
- Virus & threat protection → Scan options
- Microsoft Defender Offline scan → Scan now
-
Malwarebytes
- Download Premium
- Run Threat Scan
- Quarantine all detected items
-
Check for rootkits
- Use Kaspersky TDSSKiller
- Run scan
- Remove found rootkits
Common Malware That Causes 0xc0000142
| Malware | Behavior | Removal |
|---|---|---|
| Trojan:Win32/Emotet | Corrupts system DLLs | Full scan + SFC |
| Win32/Sality | Infects executables | Boot scan required |
| PUP.Optional.Conduit | Hijacks Explorer | AdwCleaner |
| Backdoor:Win32/Caphaw | Replaces system files | Clean install |
Fix 9: Update or Roll Back Drivers
Graphics drivers commonly cause Explorer issues:
Update Graphics Drivers
# Check current driver
Get-WmiObject Win32_VideoController | Select-Object Name, DriverVersion
Roll Back Problematic Driver
If error started after driver update:
- Device Manager → Display adapters
- Right-click GPU → Properties → Driver tab
- Roll Back Driver
Fix 10: Windows Update Repair
Corrupted Windows Update can leave system in broken state:
Reset Windows Update Components
# Run as Administrator
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Rename-Item C:\Windows\SoftwareDistribution SoftwareDistribution.old
Rename-Item C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
Then run Windows Update and install all pending updates.
Fix 11: Check Disk for Errors
File system corruption causes DLL loading failures:
# Schedule disk check (requires restart)
chkdsk C: /f /r
# For quick check without restart
chkdsk C: /scan
Parameters:
/f— Fix errors/r— Recover bad sectors/scan— Online scan (no restart needed)
Fix 12: Replace Explorer.exe
If Explorer.exe itself is corrupted:
From Windows Installation
- Mount Windows ISO or insert USB
- Open Command Prompt (Admin)
-
(Adjust path to your Windows source)takeown /f C:\Windows\explorer.exe icacls C:\Windows\explorer.exe /grant administrators:F copy D:\sources\install.wim\Windows\explorer.exe C:\Windows\
From WinSxS Cache
# Find backup copy
dir C:\Windows\WinSxS\explorer.exe /s
# Copy newest version
Copy-Item "C:\Windows\WinSxS\amd64_microsoft-windows-explorer...\explorer.exe" C:\Windows\ -Force
Fix 13: Clean Boot Troubleshooting
Eliminate software conflicts:
Step 1: Configure Clean Boot
- Press
Win + R→msconfig - Services tab → Check “Hide all Microsoft services”
- Click “Disable all”
- Startup tab → Open Task Manager
- Disable all startup items
- Restart
If Explorer works: Re-enable services in groups of 5 until error returns.
Fix 14: In-Place Upgrade (Repair Install)
Reinstall Windows while keeping files:
- Download Windows 11/10 ISO from Microsoft
- Mount ISO → Run
setup.exe - Choose “Keep personal files and apps”
- Follow installation
This repairs:
- Corrupted system files
- Registry issues
- Component store corruption
- Missing Windows features
Preserves:
- Documents
- Installed applications
- User settings
Fix 15: Reset Windows (Nuclear Option)
When all else fails:
Settings → System → Recovery → Reset this PC
- Keep my files — Removes apps, keeps data
- Remove everything — Clean slate
Prevention: Avoiding Future 0xc0000142 Errors
1. Create System Restore Points
Before installing software:
Checkpoint-Computer -Description "Before Software Install" -RestorePointType "MODIFY_SETTINGS"
2. Monitor Shell Extensions
Don’t let too many accumulate:
- Keep under 30 non-Microsoft extensions
- Remove extensions when uninstalling software
- Use ShellExView monthly audit
3. Keep Windows Updated
Windows Updates fix DLL compatibility issues:
# Check for updates
Install-Module PSWindowsUpdate -Force
Get-WindowsUpdate -Install -AcceptAll -AutoReboot
4. Use Reliable Antivirus
Prevent malware corruption:
- Windows Defender (built-in, good)
- Malwarebytes Premium (excellent)
- Regular full system scans
5. Disk Maintenance
Prevent file corruption:
# Monthly maintenance
chkdsk C: /scan
sfc /scannow
Dism /Online /Cleanup-Image /RestoreHealth
Optimize-Volume C -Analyze
FAQ: Error 0xc0000142
Q: Can I ignore this error? A: No. Without Explorer, you have no desktop, taskbar, or file manager. Windows is unusable.
Q: Will reinstalling software fix it? A: Only if that specific software caused it. Try fixes 1-3 first before reinstalling anything.
Q: Is 0xc0000142 caused by viruses? A: Often yes. Malware corrupts system files. Always run malware scans when this error appears.
Q: Can bad RAM cause 0xc0000142? A: Indirectly. Corrupted files from RAM errors can cause it. Run Windows Memory Diagnostic if fixes don’t work.
Q: Does this error affect Windows 11 and 10 equally? A: Yes. The error code means the same thing in all Windows versions since Vista.
Q: Can I use Windows without Explorer? A: Technically yes (Task Manager → Run new task), but it’s extremely limited. Fix Explorer instead.
Quick Decision Matrix
| Situation | Try First | Success Rate |
|---|---|---|
| Error started today | System Restore | 60% |
| After software install | Disable shell extensions | 50% |
| After Windows Update | Roll back driver | 40% |
| Random occurrence | SFC + DISM | 45% |
| Persistent issue | New user profile | 35% |
| After malware removal | SFC + re-register DLLs | 55% |
| Nothing works | In-place upgrade | 90% |