Network Error 0x80004005 in Windows 10/11 — How to Fix It

Overview of Error 0x80004005 In Windows 11 and Windows 10, you might see the message: “Windows cannot access [resource]” — Error code 0x80004005 (Unspecified error) This often happens when trying to connect to network shares, …

error-code-0x80004005

Overview of Error 0x80004005

error-code-0x80004005

In Windows 11 and Windows 10, you might see the message:

“Windows cannot access [resource]” — Error code 0x80004005 (Unspecified error)

This often happens when trying to connect to network shares, NAS storage, or another PC’s shared folders. Starting with Windows 10 version 1709 and Windows Server 2019, SMB2 and SMB3 clients block guest account connections by default, which can trigger this error.


Main Causes

  • Disabled insecure guest logins

  • SMB service not running or misconfigured

  • IPv6 or SMB version issues

  • Misconfigured local security policies

  • NTLM traffic restrictions in the registry


Step-by-Step Fixes

1. Enable Guest Access in Local Group Policy

  1. Press Win + R, type gpedit.msc, and press Enter.

  2. Go to:

    Computer Configuration → Administrative Templates → Network → Lanman Workstation
  3. Enable insecure guest logons.

  4. Also, go to:

    Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options

    Find Microsoft network client: Digitally sign communications (always) and set it to Disabled.

  5. Restart your PC.


2. Ensure SMB Services Are Running

  1. Open Command Prompt as Administrator.

  2. Check startup type:

    sc.exe qc lanmanworkstation
  3. If not set to AUTO_START, run:sc.exe config lanmanworkstation

     
    sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
    sc.exe config mrxsmb20 start= auto

3. Allow Insecure Guest Authentication via Registry

Run these commands in Command Prompt (Admin):

reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters /v AllowInsecureGuestAuth /t reg_dword /d 1 /f
net stop LanmanWorkstation && net start LanmanWorkstation

4. Adjust Local Security Policy on Target PC

  1. Press Win + R, type secpol.msc.

  2. Go to:

    Local Policies → User Rights Assignment
  3. Open Deny access to this computer from the network and remove “Guest”.

  4. Turn off password-protected sharing in Network and Sharing Center.


Additional Solutions

disable IPv6

  • Disable IPv6: Win + R → ncpa.cpl → Connection Properties → Uncheck IPv6.

  • Enable SMB 1.0 if the device only supports older protocol.

enable SMB 1.0

  • Ensure services like Function Discovery Resource Publication, SSDP Discovery, and DNS Client are running.

  • Add saved credentials in Control Panel → Credential Manager → Windows Credentials.

  • Remove RestrictReceivingNTLMTraffic or RestrictSendingNTLMTraffic in registry if present.

  • Test disabling antivirus/firewall temporarily.

enable netbios

  • Enable NetBIOS over TCP/IP in IPv4 Advanced Settings.

  • Assign a static IP instead of DHCP.


With these methods, most users can fix network error 0x80004005 in Windows 10/11 and restore access to shared folders or network drives.

Explore other helpful tools in our Windows utilities section.