sodcalculator

10 Tech How-To

Windows Cannot Access Computer Error 0x80004005 Fix

Guide 10-57493 · Updated · Step by step

Windows error 0x80004005, often accompanied by “Windows cannot access this computer,” means Windows can’t reach a shared folder, drive, or printer on your network due to a permissions, network discovery, or credential issue. The fix usually involves enabling network discovery, correcting your Microsoft account or local user credentials, and adjusting advanced sharing settings. This guide walks through the most common causes and step-by-step solutions for Windows 10 and Windows 11.

What Causes Error 0x80004005?

Error 0x80004005 is a generic “unspecified error” that Windows uses when it can’t complete a network operation. When you try to access a shared folder on another PC, the system may fail with this code for several reasons:

  • Network discovery is turned off – Windows can’t see the other computer on the network.
  • File and printer sharing is disabled – Even if the PC is visible, sharing services aren’t active.
  • Incorrect login credentials – The account you’re using doesn’t have permission on the remote PC, or the password doesn’t match.
  • Microsoft account vs. local account mismatch – Windows 10/11 often require you to enter the Microsoft account email and password, not the local username.
  • Firewall or antivirus blocking – Security software can block SMB (Server Message Block) traffic.
  • Corrupted network profile – The network is set to “Public” instead of “Private,” which blocks sharing by default.

Understanding which of these applies to your situation helps you pick the right fix. The steps below address each cause in order of likelihood.

Enable Network Discovery and File Sharing

The most common reason for error 0x80004005 is that network discovery or file sharing is turned off. Here’s how to enable both:

  1. Open Control Panel (press Win + R, type control, press Enter).
  2. Go to Network and Sharing Center → Change advanced sharing settings.
  3. Under your current network profile (Private or Guest/Public), select:
    • Turn on network discovery
    • Turn on file and printer sharing
  4. Also check All Networks → Turn on sharing so anyone with network access can read and write files in the Public folders (optional).
  5. Click Save changes.

If you’re on a domain network, these options may be greyed out—contact your network administrator. After enabling, try accessing the shared folder again. If the error persists, move to the next step.

Set the Network Profile to Private

Windows treats “Public” networks as untrusted and blocks file sharing by default. If your network is set to Public, change it to Private:

  1. Open Settings → Network & Internet → Wi-Fi (or Ethernet).
  2. Click on the connected network name.
  3. Under Network profile type, select Private.

This change is instant. If you’re using a wired connection, the same option appears under Ethernet. After switching, retry the connection.

Use the Correct Credentials

When you access a shared folder, Windows asks for a username and password. Many users get error 0x80004005 because they enter the wrong credentials. Here’s what to try:

  • If both PCs use Microsoft accounts: enter the Microsoft account email address and its password (the same one you use to sign in to Windows).
  • If the remote PC uses a local account: enter the local username (not the Microsoft email) and its password. If the local account has no password, you may need to set one or enable passwordless sharing (see below).
  • Check the username format: try COMPUTERNAME\username (e.g., DESKTOP-ABC123\john) instead of just the username.

If you’re still getting the error, try accessing the share via its IP address instead of the computer name. For example, type \\192.168.1.100\sharedfolder in File Explorer’s address bar. This bypasses name resolution issues.

Adjust Advanced Sharing and Permissions

Even with the right credentials, the shared folder’s permissions might be misconfigured. To fix:

  1. Right-click the folder you’re trying to share → Properties → Sharing tab.
  2. Click Advanced Sharing → check Share this folder.
  3. Click Permissions and ensure Everyone (or the specific user) has at least Read access. If you need to write, check Change.
  4. Click OK on all dialogs.

Also check the Security tab (NTFS permissions). The user must have read/write permissions there too. Right-click the folder → Properties → Security → Edit → Add → type Everyone → give Full control (or at least Read). This is a common oversight—sharing permissions alone aren’t enough.

Enable Passwordless Sharing (Optional)

If you’re tired of entering credentials, you can turn off password-protected sharing. This makes your shared folders accessible to anyone on your network without a password. Do this only on a trusted home network:

  1. Go to Control Panel → Network and Sharing Center → Change advanced sharing settings.
  2. Under All Networks, select Turn off password protected sharing.
  3. Save changes.

After this, you can access shares without entering credentials. However, if you’re on a public or semi-trusted network, keep password protection on.

Check Firewall and Antivirus Settings

Windows Defender Firewall normally allows file sharing, but third-party antivirus or a custom firewall rule might block SMB. To test, temporarily disable your third-party firewall/antivirus (if any) and try the connection. If it works, add an exception for “File and Printer Sharing” or the specific app. For Windows Defender Firewall:

  1. Open Windows Security → Firewall & network protection → Allow an app through firewall.
  2. Click Change settings and ensure File and Printer Sharing is checked for both Private and Public networks.
  3. If it’s not, click Allow another app and add it.

If you’re on a corporate network, Group Policy may block SMB—contact your IT admin.

Alternative: Use IP Address or Map a Drive

Sometimes error 0x80004005 is a name resolution problem. Instead of using the computer name, try:

  • Find the remote PC’s IP address (run ipconfig on that PC).
  • In File Explorer, type \\IP_ADDRESS\sharename (e.g., \\192.168.1.50\docs).

If that works, you can map a network drive to make it permanent:

  1. Right-click This PC → Map network drive.
  2. Choose a drive letter and enter the path (either name or IP).
  3. Check Reconnect at sign-in and optionally Connect using different credentials.

Mapping often bypasses intermittent discovery issues.

Frequently Asked Questions

Why do I get 0x80004005 even though I can see the computer in Network?

Seeing the computer doesn’t mean you have permission. The error usually appears when the credentials fail or the share’s permissions are restrictive. Double-check the username/password and the folder’s sharing/NTFS permissions.

Does this error mean my computer is infected?

No. Error 0x80004005 is a standard Windows networking error. It’s not a sign of malware, though malware can cause network issues. If you suspect infection, run a full antivirus scan.

Can I fix this by changing my Microsoft account password?

Only if the error is due to an outdated stored credential. If you changed your Microsoft account password recently, Windows might still use the old one. Update the credential in Credential Manager (Control Panel → Credential Manager → Windows Credentials) or simply re-enter the new password when prompted.

Why does it work from one PC but not another?

This usually points to the client PC’s settings. Check that network discovery and file sharing are enabled on the client, and that its network profile is set to Private. Also verify the client’s firewall allows SMB.

Is it safe to turn off password-protected sharing?

On a trusted home network, it’s generally safe, but anyone connected to your Wi-Fi can access your shared folders without a password. On public or shared networks, keep it enabled.

What if I still get the error after all these steps?

Try restarting both PCs and the router. If the issue persists, run the Windows Network Troubleshooter (Settings → System → Troubleshoot → Other troubleshooters → Network Adapter). Also check if SMB 1.0 is required (rare, but some older devices need it) by enabling it in Windows Features—though this is not recommended for security reasons.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →