The Problem
0x80004005 is E_FAIL — the least helpful error in Windows. It means "something went wrong and the component that failed did not say what". It is not one fault with one fix; it is a blank space where a real error message should have been.
That makes the context the whole diagnosis. The same code means five different things depending on where you saw it, and the fix for one will do nothing for another. Find your situation below and go straight to that step.
| Where you saw it | Go to | |---|---| | Windows Update | Step 2 | | Opening a shared folder on the network | Step 3 | | Extracting a ZIP or moving files | Step 4 | | A virtual machine failing to start | Step 5 | | Everything, intermittently | Steps 6–8 |
Symptoms
- Windows Update fails with
0x80004005and no further detail. - "Unspecified error" when opening a network share or mapped drive.
- Extracting an archive or renaming a folder fails with the code.
- VirtualBox or VMware refuses to start a VM after a Windows update.
- Outlook cannot send or receive, reporting the same code.
Step 1: Get the Real Error From the Logs
Because the code itself says nothing, the log entry beside it usually does.
- Windows + R →
eventvwr.msc→ Enter. - Open Windows Logs → Application and System, and sort by time to find the entry matching when the failure occurred.
- The event beside the failure normally names the actual component, file, or permission at fault.
- Full method: how to use Event Viewer to find why your PC crashed.
Step 2: Fix It for Windows Update
- Right-click Start → Terminal (Admin) and reset the update cache:
net stop wuauserv net stop bits ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start bits - Reboot and retry the update.
- Run the built-in troubleshooter: Settings → System → Troubleshoot → Other troubleshooters → Windows Update → Run.
- Disconnect any VPN and turn off metered connection settings before retrying.
- More: fix Windows 11 update errors and fix Windows Update stuck.
Step 3: Fix It for Network Shares
Modern Windows disables the old, insecure sharing protocol, and older NAS boxes and routers still require it. That mismatch produces 0x80004005.
- Turn discovery on first: Settings → Network & internet → Advanced network settings → Advanced sharing settings. Enable Network discovery and File and printer sharing for the Private profile.
- Confirm the network is set to Private, not Public — sharing is blocked outright on Public.
- If the share is on an older NAS or router, enable the legacy client: Windows + R →
optionalfeatures→ tick SMB 1.0/CIFS Client only. Leave Server unticked. - ⚠️ SMB 1.0 is an obsolete protocol with known remote vulnerabilities. Enable the client only if the device genuinely cannot do better, keep it off any untrusted network, and check the device maker for firmware that supports SMB2 or later — that is the correct fix.
- Test with the IP address rather than the name: Windows + R →
\\192.168.1.50. Success by IP but not by name is a name-resolution problem, not a permissions one. - Related: share files between Windows PCs on the same network.
Step 4: Fix It for File and Archive Operations
- Extract the archive with 7-Zip rather than File Explorer's built-in handler, which reports this code for any problem it meets.
- Copy the archive to a local drive first — extracting straight from a network share or a USB stick is a frequent trigger.
- Check the destination path length. Paths beyond 260 characters fail with unhelpful codes; extract to
C:\tempto test. - Confirm you can write to the destination: fix access denied and "you need permission".
- If the file itself is damaged, the code is genuine — see fix error 0x80070570.
Step 5: Fix It for Virtual Machines
VirtualBox and VMware conflict with the Windows hypervisor, and the collision surfaces as 0x80004005.
- Check whether Hyper-V or a related feature is on: Windows + R →
optionalfeatures→ look at Hyper-V, Virtual Machine Platform, and Windows Hypervisor Platform. - Memory integrity also claims the hypervisor — Windows Security → Device security → Core isolation details → turn Memory integrity off and reboot.
- Update VirtualBox or VMware to a current version; recent releases coexist with Hyper-V far better than older ones did.
- Confirm hardware virtualization is enabled in firmware: how to enable virtualization (VT-x / AMD-V) in the BIOS.
- If you want to use Hyper-V instead: how to enable Hyper-V in Windows 11.
Step 6: Repair System Files
- In Terminal (Admin):
sfc /scannow - Then:
DISM /Online /Cleanup-Image /RestoreHealth - Reboot and run
sfc /scannowagain. - Detail: how to run SFC and DISM. If DISM fails too, see fix DISM error 0x800f081f.
Step 7: Rule Out Security Software
- Fully exit any third-party antivirus, or disable its real-time protection, and retry the failing action.
- Check Windows Security → Virus & threat protection → Manage ransomware protection and turn Controlled folder access off temporarily — it blocks writes to Documents, Pictures, and Desktop and reports vague errors when it does.
- If disabling helps, add an exclusion rather than leaving protection off.
- Scan for malware while you are here: remove a virus or malware from Windows 11.
Step 8: Clear the Temp Folder and Test a New Profile
- Windows + R →
%temp%→ Enter, select all, and delete. Skip anything in use. - Empty the Recycle Bin and reboot.
- Create a fresh local administrator account: Settings → Accounts → Other users → Add account → I don't have this person's sign-in information → Add a user without a Microsoft account.
- Sign in as that user and retry. If it works there, your profile is damaged: fix "signed in with a temporary profile".
- Free up space if the drive is nearly full — many
0x80004005failures are just a full disk: free up disk space when the C drive is full.
What Not to Do
- Don't leave SMB 1.0 enabled once you have proven it was the cause. Fix the device's firmware or replace it, and turn the feature back off.
- Don't apply every step in this guide at once. The code means five different things — identify your context first, or you will change settings that were never the problem.
- Don't turn off memory integrity permanently unless a virtual machine genuinely requires it. It is a real security protection.
- Don't trust "0x80004005 fixer" downloads. Every genuine fix here uses tools already in Windows.
Still Not Working?
If the error follows a brand new user profile, survives SFC and DISM, and appears in more than one context, an in-place repair install replaces every system component while keeping files and apps: reinstall Windows without losing data.
Related: fix error 0x80070005, fix "can't delete file in use", and fix OneDrive sync issues.
Related guides
Fix "Signed In with a Temporary Profile" in Windows 11
Blank desktop and a warning that you're using a temporary profile? Your files are safe. Here is how to restore the real profile before anything is lost.
Fix "User Profile Service Failed the Sign-In" in Windows 11
Locked out with "The User Profile Service service failed the sign-in"? Repair the profile entry in the registry and get your account and files back.
How to Fix a Missing Dual-Boot Menu in Windows 11
PC boots straight into Windows with no choice of operating system? Restore the boot menu with firmware settings, bcdedit, and a GRUB repair if needed.
Fix Error 0x80070570: File or Directory Is Corrupted
0x80070570 appears when copying files, installing Windows, or updating. It usually means failing storage or bad install media — here is how to tell which.
How to Fix DISM Error 0x800f081f in Windows 11
0x800f081f means DISM could not find the replacement files it needs. Point it at a Windows 11 ISO with the /Source switch and the repair completes.