ShellEx.info

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

CauseExplanation
Corrupted DLLFile damaged by disk errors or malware
Missing DLLUninstalled software removed shared file
Wrong architecture32-bit DLL trying to load in 64-bit process
Access deniedInsufficient permissions to load DLL
Circular dependencyDLL A needs B, B needs A
Shell extension conflictThird-party extension crashes during init

When Does It Happen?


Emergency Recovery: When You Can’t Access Desktop

Method 1: Restart Explorer via Task Manager

If you can still access Task Manager:

  1. Press Ctrl + Shift + Esc
  2. File → Run new task
  3. Type: cmd
  4. Check “Create with administrator privileges”
  5. 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:

  1. Hold Shift and click Restart (from login screen)
  2. Troubleshoot → Advanced options → Startup Settings → Restart
  3. Press 4 or F4 for Safe Mode
  4. In Safe Mode, follow fixes below

Method 3: System Restore from Recovery

  1. Boot from Windows installation USB
  2. Click “Repair your computer”
  3. Troubleshoot → System Restore
  4. 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:

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

  1. Download ShellExView from NirSoft
  2. Run as Administrator
  3. Options → Hide All Microsoft Extensions
  4. Select all remaining (third-party) extensions
  5. Press F7 to disable
  6. 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

  1. Press Win + R → type sysdm.cpl → Enter
  2. Advanced tab → Environment Variables
  3. Under “System variables”, find Path
  4. Check for:
    • Empty entries
    • Non-existent directories
    • Strange characters
    • Very long paths (>2048 chars)

Step 2: Clean PATH Variable

Remove entries pointing to:

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

  1. Download Microsoft .NET Repair Tool
  2. Run the tool
  3. Follow wizard to detect and fix issues
  4. 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

  1. Sign out current user
  2. Log in as NewUsername
  3. Check if Explorer works

If it works: Your profile is corrupted. Migrate data:


Fix 8: Check for Malware

Malware often corrupts Explorer components:

Run Full System Scan

  1. Windows Defender Offline Scan

    • Settings → Update & Security → Windows Security
    • Virus & threat protection → Scan options
    • Microsoft Defender Offline scan → Scan now
  2. Malwarebytes

  3. Check for rootkits

Common Malware That Causes 0xc0000142

MalwareBehaviorRemoval
Trojan:Win32/EmotetCorrupts system DLLsFull scan + SFC
Win32/SalityInfects executablesBoot scan required
PUP.Optional.ConduitHijacks ExplorerAdwCleaner
Backdoor:Win32/CaphawReplaces system filesClean 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
  1. NVIDIA: Download → Clean install
  2. AMD: Download → Factory reset
  3. Intel: Download → Auto-detect

Roll Back Problematic Driver

If error started after driver update:

  1. Device Manager → Display adapters
  2. Right-click GPU → Properties → Driver tab
  3. 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:


Fix 12: Replace Explorer.exe

If Explorer.exe itself is corrupted:

From Windows Installation

  1. Mount Windows ISO or insert USB
  2. Open Command Prompt (Admin)
  3. takeown /f C:\Windows\explorer.exe
    icacls C:\Windows\explorer.exe /grant administrators:F
    copy D:\sources\install.wim\Windows\explorer.exe C:\Windows\
    (Adjust path to your Windows source)

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

  1. Press Win + Rmsconfig
  2. Services tab → Check “Hide all Microsoft services”
  3. Click “Disable all”
  4. Startup tab → Open Task Manager
  5. Disable all startup items
  6. 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:

  1. Download Windows 11/10 ISO from Microsoft
  2. Mount ISO → Run setup.exe
  3. Choose “Keep personal files and apps”
  4. Follow installation

This repairs:

Preserves:


Fix 15: Reset Windows (Nuclear Option)

When all else fails:

Settings → System → Recovery → Reset this PC


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:

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:

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

SituationTry FirstSuccess Rate
Error started todaySystem Restore60%
After software installDisable shell extensions50%
After Windows UpdateRoll back driver40%
Random occurrenceSFC + DISM45%
Persistent issueNew user profile35%
After malware removalSFC + re-register DLLs55%
Nothing worksIn-place upgrade90%

Still stuck?

Check if a specific DLL is causing your error with our database.

Check DLL Safety