How to Fix Error 0x80004005 on Windows 11 and 10

Error 0x80004005 is a generic “Unspecified Error” code that Windows throws across several different failure points. You can see it when a Windows update fails to install, when you try to open a shared folder on your network, when you extract a ZIP or RAR archive, or when a VirtualBox virtual machine refuses to start. Because the error code does not identify the actual cause, the fix depends entirely on where it appears.

windows error 0x80004005
Windows error 0x80004005

Fix Windows Update Error 0x80004005

When error 0x80004005 appears in Windows Update, the most reliable cause is a corrupted update cache sitting inside the SoftwareDistribution folder. Resetting the update components from an elevated Command Prompt clears it.

Reset Windows Update Components

  1. Press Win + S, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Run these commands one at a time, pressing Enter after each:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
  1. Delete the cached update files:
rd /s /q C:\Windows\SoftwareDistribution
rd /s /q C:\Windows\System32\catroot2
  1. Restart the services:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
  1. Close Command Prompt and run Windows Update again.

Run SFC and DISM

If resetting the components does not work, corrupted system files may block the update from installing. Run both scans in sequence.

  1. Open an elevated Command Prompt.
  2. Run the SFC scan:
sfc /scannow
  1. After it finishes, run DISM to repair the Windows image:
DISM /Online /Cleanup-Image /RestoreHealth
  1. Restart your PC, then check Windows Update again.

Download the Update Manually

If a specific cumulative update keeps failing, download it directly from the Microsoft Update Catalog.

Download the Update Manually
  1. Go to Settings > Windows Update > Update History.
  2. Note the KB number of the failed update (shown under Status: Failed).
  3. Open https://www.catalog.update.microsoft.com and search for that KB number.
  4. Download the version that matches your Windows edition and architecture (x64 or ARM64).
  5. Run the downloaded .msu file as administrator.

If you are running into recurring install error 0x800f0991 on Windows 11 alongside this, the SFC and DISM steps above apply to both.

Fix Error 0x80004005 When Accessing a Shared Folder or Network Drive

When Windows displays “Windows cannot access \\[computer name]” with error 0x80004005, the most common cause is a missing or incorrect LocalAccountTokenFilterPolicy registry value. Windows blocks remote access to admin shares by default when this value is absent.

Set LocalAccountTokenFilterPolicy in the Registry

Warning: Back up the registry before editing it. Press Win + R, type regedit, open File > Export, and save a backup.

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  1. On the right panel, look for LocalAccountTokenFilterPolicy.
  2. If it exists, double-click it and set the Value data to 1.
  3. If it does not exist, right-click the empty space and select New.
    • On a 32-bit system: choose DWORD (32-bit) Value.
    • On a 64-bit system: choose QWORD (64-bit) Value.
    • Name it LocalAccountTokenFilterPolicy and set its value to 1.
  4. Click OK and restart your PC.

Enable Network Discovery and File Sharing

If the registry fix alone does not resolve the access error, network sharing settings may be turned off.

  1. Press Win + R, type control.exe /name Microsoft.NetworkAndSharingCenter, and press Enter.
  2. Click Change advanced sharing settings.
  3. Under Private, enable:
    • Turn on network discovery
    • Turn on automatic setup of network connected devices
    • Turn on file and printer sharing
  4. Expand All Networks and set Password protected sharing to Turn off password protected sharing.
  5. Click Save changes.

Grant Full Permissions to the Shared Folder

If you can reach the machine but still get 0x80004005 when opening a specific shared folder, the NTFS permissions on that folder may block your account.

  1. Right-click the shared folder and select Properties.
  2. Go to the Sharing tab, click Advanced Sharing, and check Share this folder.
  3. Click Permissions, select Everyone, and check Full Control.
  4. Click Apply, then OK.

If Everyone does not appear in the list, click Add, type Everyone in the object name box, click Check Names, then OK.

Uninstall Microsoft 6to4 Adapters

Stale Microsoft 6to4 virtual adapters can break network access to shared resources, especially on systems that previously had IPv6 tunneling configured.

  1. Press Win + R, type devmgmt.msc, and press Enter.
  2. Click View and select Show hidden devices.
  3. Expand Network adapters.
  4. Right-click each Microsoft 6to4 Adapter and select Uninstall device.
  5. Restart your PC.

Disable IPv6 on Your Network Adapter

On some configurations, enabling IPv6 conflicts with SMB-based file sharing and triggers 0x80004005.

  1. Press Win + R, type ncpa.cpl, and press Enter.
  2. Right-click your active network connection and select Properties.
  3. Uncheck Internet Protocol Version 6 (TCP/IPv6).
  4. Click OK and restart your PC.

If you are also experiencing DNS client errors on Windows 11 on the same machine, the IPv6 disable step resolves both in many cases.

Fix Error 0x80004005 When Extracting ZIP or RAR Files

When this error appears during extraction, Windows Defender or a third-party antivirus is usually scanning the decompressed files in real time and blocking the process mid-extraction.

Use 7-Zip Instead of Windows Explorer

Windows Explorer’s built-in ZIP extractor produces this error on certain archive types or when the archive contains nested compressed folders.

  1. Download and install 7-Zip.
  2. Right-click the archive and select 7-Zip > Extract Here or 7-Zip > Extract to [folder name].

7-Zip handles .zip, .rar, .7z, and most other formats. If the archive is password protected and you do not have the password, this error is expected regardless of the tool you use.

If the extraction failure is part of a game installer, the same underlying issue can also produce an Unarc.dll error on Windows, and disabling real-time protection below resolves both.

Disable Real-Time Protection Temporarily

  1. Open Windows Security from the Start menu.
  2. Click Virus & threat protection.
  3. Under Virus & threat protection settings, click Manage settings.
  4. Toggle Real-time protection to Off.
  5. Extract the archive.
  6. Turn Real-time protection back on immediately after.
Disable Real-Time Protection Temporarily
Disable Real-Time Protection Temporarily

If a third-party antivirus is installed instead of Windows Defender, open its main interface and look for a real-time protection or active protection toggle. Disable it, extract, then re-enable it.

Re-Register jscript.dll and vbscript.dll

Some self-extracting archives and script-based installers fail with 0x80004005 when these DLL registrations are broken.

  1. Open an elevated Command Prompt.
  2. Run:
regsvr32 jscript.dll
regsvr32 vbscript.dll
  1. Restart your PC and try the extraction again.

Fix Error 0x80004005 in VirtualBox

VirtualBox throws E_FAIL (0x80004005) most often due to a compatibility flag left in the registry or a disabled bridged networking driver.

Delete the AppCompatFlags Registry Key

A leftover DISABLEUSERCALLBACKEXCEPTION flag in the AppCompatFlags registry path causes VirtualBox to fail when creating or opening a session.

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
  1. On the right panel, look for a key with the value C:\Program Files\Oracle\VirtualBox\VirtualBox.exe.
  2. Right-click it and select Delete.
  3. Click Yes to confirm.
  4. Close Registry Editor and try opening VirtualBox again.

Enable VirtualBox NDIS6 Bridged Networking Driver

If VirtualBox fails with “Failed to open/create the internal network,” the NDIS6 Bridged Networking Driver is likely disabled on your host network adapter.

  1. Press Win + R, type ncpa.cpl, and press Enter.
  2. Right-click your primary network adapter (Ethernet or Wi-Fi) and select Properties.
  3. In the list, check VirtualBox NDIS6 Bridged Networking Driver.
  4. Click OK.
  5. Repeat this for every other network adapter in the list.
  6. Restart VirtualBox.

For Hyper-V related virtualization failures on Windows, see how to fix Hypervisor Error on Windows 11 and Windows 10.

Related Errors & Fixes

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply