What Does Error 0x80004005 Mean When Connecting to a Network Resource?
Error code: 0x80004005
Unspecified error
0x80004005 is a generic Windows error code that often appears as βUnspecified errorβ. When it happens while opening a shared folder, NAS, mapped drive, or another computer on the local network, it usually means Windows failed to complete the SMB connection, authentication, name resolution, or file sharing negotiation.
The message is vague, but the cause is usually specific: disabled network discovery, incorrect credentials, blocked SMB traffic, an old NAS that requires legacy SMB, a broken saved password, or a Windows service required for network browsing that is not running.
0x80004005. In other cases, the share works by IP address but not by computer name, or it works from one PC but not another.
Common Causes of 0x80004005 Network Share Error in Windows 10 and Windows 11
Use the table below to identify the most likely reason before applying fixes.
| Symptom | Most likely cause | Best fix to try first |
|---|---|---|
| The shared PC is visible but cannot be opened. | Network discovery, firewall, or SMB access issue. | Enable discovery and file sharing, then check firewall rules. |
| The share asks for a password repeatedly. | Wrong saved credentials or a Microsoft account sign-in mismatch. | Clear Credential Manager and reconnect using correct credentials. |
| The share opens by IP address but not by name. | DNS, NetBIOS, or local name resolution problem. | Connect by IP, flush DNS, and restart network discovery services. |
| An old NAS or router USB share fails after a Windows update. | Legacy SMB1 or insecure guest access requirement. | Update NAS firmware first; only then consider legacy compatibility options. |
Quick Checks Before Fixing Error 0x80004005
Before changing system settings, confirm that the problem is really on the Windows client and not caused by a disconnected device, wrong share path, or unavailable account.
Basic checklist
- Make sure both devices are connected to the same local network.
- Confirm the network type is Private, not Public: Settings β Network & Internet β Properties.
- Restart the router, NAS, and the Windows PC that hosts the shared folder.
- Try opening the share directly from the Run dialog:
Win + Rβ\\192.168.1.10\ShareName. - Temporarily disconnect VPN clients because they often redirect local traffic.
- Check whether the same share works from another PC or phone on the same network.
If connecting by IP address works but connecting by computer name does not, the core share is probably functional. In that case, focus on DNS, NetBIOS, and discovery services rather than permissions.
Enable Network Discovery and File Sharing to Fix 0x80004005
- Open Settings.
- Go to Network & Internet.
- Open Advanced network settings.
- Select Advanced sharing settings.
- Under Private networks, turn on Network discovery.
- Turn on File and printer sharing.
- Save the changes and restart File Explorer.
Remove Saved Network Credentials and Reconnect to the Shared Folder
Windows may keep an outdated password for a shared folder even after you change the account password on the target PC or NAS. Clearing the saved entry often fixes repeated authentication failures that end with 0x80004005.
- Press
Win + Sand search for Credential Manager. - Open Windows Credentials.
- Find entries related to the shared PC, NAS name, or IP address.
- Click the entry and select Remove.
- Restart Windows.
- Open the share again and enter the correct username and password.
For Microsoft accounts, use the full email address as the username. For local accounts, try this format: PC-NAME\Username. For a NAS, use the account created inside the NAS control panel.
Example usernames:
DESKTOP-01\John
john@example.com
NAS-01\mediauserCheck Windows Services Required for Network Sharing
Several background services help Windows discover devices and connect to SMB shares. If they are disabled, you may see missing computers in Network, empty shares, or error 0x80004005.
- Press
Win + R, typeservices.msc, and press Enter. - Find the services listed below.
- Set their startup type as recommended.
- Start any service that is stopped.
- Restart the computer and try the network share again.
| Service | Recommended startup type | Purpose |
|---|---|---|
| Function Discovery Provider Host | Automatic or Manual | Helps discover network devices. |
| Function Discovery Resource Publication | Automatic | Publishes this PC on the local network. |
| Workstation | Automatic | Allows the PC to access SMB network shares. |
| Server | Automatic | Allows this PC to host file and printer shares. |
| TCP/IP NetBIOS Helper | Automatic or Manual | Helps with older local name resolution scenarios. |
Check SMB Protocol Settings for NAS and Shared Folders
SMB is the file sharing protocol used by Windows network shares. Modern Windows versions prefer SMB 2 and SMB 3. Problems appear when an old NAS, router USB storage feature, media box, or legacy server only supports outdated SMB settings.
- Press
Win + R, typeoptionalfeatures, and press Enter. - Look for SMB 1.0/CIFS File Sharing Support.
- Leave it disabled unless your old device cannot work with SMB 2 or SMB 3.
- If you enable it temporarily, restart Windows and test the share.
- After migrating data or updating the device, disable SMB1 again.
For professional and business environments, check the SMB version supported by the file server and update it to SMB 2 or SMB 3 instead of lowering Windows security settings.
Allow File and Printer Sharing Through Windows Defender Firewall
If Windows Firewall or third-party security software blocks SMB traffic, network shares may fail with 0x80004005. The fix is to allow File and Printer Sharing on the private network profile.
- Open Windows Security.
- Go to Firewall & network protection.
- Click Allow an app through firewall.
- Click Change settings.
- Find File and Printer Sharing.
- Enable it for Private networks.
- Do not enable it for Public networks unless you fully understand the risk.
If you use a third-party antivirus firewall, temporarily disable only its network protection module for testing. If the share starts working, create a proper allow rule instead of leaving protection disabled.
Reset DNS, Winsock, and TCP/IP Settings
If the issue started after VPN software, network optimization tools, malware removal, driver changes, or a Windows update, reset the network stack. This can fix broken name resolution and local SMB connection failures.
- Right-click Start and select Terminal (Admin) or Command Prompt (Admin).
- Run the commands below one by one.
- Restart the computer after the last command.
ipconfig /flushdns
nbtstat -R
nbtstat -RR
netsh winsock reset
netsh int ip reset
After rebooting, reconnect to the share using the full UNC path, for example \\192.168.1.10\Documents or \\OFFICE-PC\Shared.
Advanced Fixes for Persistent 0x80004005 Network Share Errors
If none of the previous methods worked, use the following advanced checks.
- On the host PC, right-click the shared folder and open Properties.
- Check the Sharing tab and confirm the user has permission.
- Open the Security tab and confirm NTFS permissions also allow access.
- Remember: both share permissions and NTFS permissions must allow access.
- Open This PC.
- Click Map network drive.
- Select a drive letter.
- Enter the folder path, such as
\\192.168.1.10\Share. - Enable Connect using different credentials if needed.
- Enter the username and password for the remote device.
Some older devices allow anonymous guest access instead of real user accounts. Modern Windows versions restrict this behavior because it is insecure. The recommended fix is to create a proper username and password on the NAS or update its firmware.
In business networks, do not enable insecure guest access globally. It weakens authentication and can expose shared files to unauthorized users.
FAQ: Error 0x80004005 When Connecting to a Network Share
Q Is error 0x80004005 always a permissions problem? βΌ
Q Why does the share work by IP address but not by computer name? βΌ
Q Should I enable SMB1 to fix 0x80004005? βΌ
Q Can antivirus software cause this network share error? βΌ
Q What is the fastest safe fix to try first? βΌ
Recommended Fix Order for 0x80004005 Network Resource Errors
The safest way to fix 0x80004005 Unspecified error when connecting to a network resource is to start with configuration and authentication issues before changing legacy SMB settings.
Recommended sequence
Use this order: Private network profile β Network Discovery β File and Printer Sharing β Credential Manager cleanup β required services β firewall rules β IP-based connection β TCP/IP reset β SMB compatibility checks. Avoid enabling SMB1 or insecure guest access unless you are dealing with an old device and have no safer alternative.