sodcalculator

10 Tech How-To

Fix Windows Network Error 0x800704cf

Guide 10-47557 · Updated · Step by step

Windows network error 0x800704cf appears when a computer cannot reach another device on the local network, usually during file sharing or when mapping a network drive. The fix is to verify the target device is on, enable network discovery and file sharing, and correct the Windows credentials or IP address you are using. Below are the exact steps to resolve it on Windows 10 and 11, plus the background on why this error occurs.

What Does Error 0x800704cf Mean?

Error 0x800704cf is a Windows networking error that translates to “The network location cannot be reached.” It is most often triggered when you try to:

  • Open a shared folder on another PC or NAS device
  • Map a network drive using Map network drive in File Explorer
  • Access a printer or media server on your local network

The error means the client (your PC) sent a request to the server (the other device), but the server did not respond in a way Windows could use. This is different from a timeout (0x80070035) or an access-denied error (0x80070005); 0x800704cf specifically points to a name or address resolution problem, a disabled network discovery service, or a firewall blocking the SMB (Server Message Block) protocol.

Why Does This Error Happen?

Windows uses the SMB protocol to share files and printers over a local network. For SMB to work, three things must be true:

  1. The target device must be powered on and connected to the same network.
  2. Network discovery and file sharing must be enabled on both machines.
  3. Windows must be able to resolve the device name or IP address you typed.

When any of these fail, you get 0x800704cf. Common triggers include:

  • Network profile set to Public – Windows blocks file sharing on public networks by default.
  • Network discovery turned off – the PC cannot find other devices.
  • Firewall or antivirus blocking SMB – third-party security software often blocks ports 445 and 139.
  • Wrong credentials – you are using a Microsoft account password instead of the local account password on the target PC.
  • DNS or NetBIOS name resolution failure – the computer name you typed cannot be translated to an IP address.
  • Server service not running – the “Server” service on the target PC is disabled.

How to Fix Error 0x800704cf (Step-by-Step)

Try these fixes in order. The first one resolves the issue for most users.

1. Enable Network Discovery and File Sharing

  1. Open Control Panel and go to Network and Sharing Center.
  2. Click Change advanced sharing settings on the left.
  3. For your current network profile (Private or Guest/Public), select:
    • Turn on network discovery
    • Turn on file and printer sharing
  4. Click Save changes.

Repeat this on both the PC you are using and the PC you are trying to reach. If you are on a domain network, these settings may be controlled by group policy.

2. Switch the Network Profile to Private

Windows treats public networks as untrusted and blocks file sharing. To change the profile:

  1. Open Settings > Network & Internet > Wi-Fi (or Ethernet).
  2. Click the network you are connected to.
  3. Select Private network under Network profile type.

3. Use the IP Address Instead of the Computer Name

If you typed \\COMPUTERNAME\share, try the IP address instead: \\192.168.1.50\share. To find the target PC’s IP, run ipconfig on that machine and look for the IPv4 address under your active adapter. If the IP works but the name does not, the issue is name resolution.

4. Check the Server and Workstation Services

  1. Press Win + R, type services.msc, and press Enter.
  2. Find Server and Workstation.
  3. Both should be Running. If not, right-click and select Start.
  4. Set their startup type to Automatic.

5. Temporarily Disable Third-Party Firewall

Antivirus suites with a firewall (Norton, McAfee, Bitdefender, etc.) often block SMB traffic. Temporarily disable the firewall component, then try the connection again. If it works, add an exception for ports 445 and 139 (TCP) or allow “File and Printer Sharing” in the firewall app.

6. Use Windows Credential Manager

If you get a password prompt that fails even with the correct password, the stored credentials may be wrong:

  1. Open Control Panel > Credential Manager.
  2. Click Windows Credentials.
  3. Remove any entries under “Windows credentials” that relate to the target PC.
  4. Try connecting again and enter the credentials fresh.

Note: Use the local account username and password of the target PC, not your Microsoft account login, unless the target PC is set up to accept Microsoft account credentials.

7. Reset Network Stack

If nothing else works, reset the network stack on the client PC:

  1. Open Command Prompt as administrator.
  2. Run these commands one by one:
netsh int ip reset
netsh winsock reset
ipconfig /flushdns

Restart the PC.

Common Mistakes That Cause 0x800704cf

  • Using a Microsoft account password for a local share – The target PC may have a local account with a different password. Use that local account’s credentials.
  • Typing the wrong computer name – Check the exact name in Settings > System > About > Device name.
  • Both PCs on different subnets – If they are on different IP ranges (e.g., 192.168.1.x vs 192.168.0.x), they cannot see each other without routing.
  • Guest access disabled – Some Windows versions disable guest access by default. Enable it via gpedit.msc (Pro editions) or a registry edit if you rely on guest shares.

When the Error Persists: Advanced Checks

If you still see 0x800704cf, verify the following:

  • SMB 1.0 is not required – Modern Windows uses SMB 2.0/3.0. SMB 1.0 is disabled by default and should remain disabled for security. Do not enable it unless you have an old device that requires it.
  • Network discovery is enabled in the firewall – In Windows Defender Firewall, ensure “File and Printer Sharing” is allowed for Private networks.
  • IPv6 is enabled – Some name resolution relies on IPv6 link-local addresses. Disabling IPv6 can break network discovery.
  • Try a different protocol – If SMB is blocked by your router or ISP, consider using FTP or a cloud sync as an alternative.

Frequently Asked Questions

Why do I get 0x800704cf when mapping a network drive?

Mapping a drive uses the same SMB mechanism as opening a shared folder. The error usually means the target computer is not reachable by the name or IP you provided. Check that the target is on, that network discovery is enabled, and that you are using the correct share path.

Can I fix this error by changing my network profile from Public to Private?

Yes, in most cases. Windows blocks file sharing on public networks. Switching to a private network profile allows SMB traffic. Do this on both the client and the server PC.

Does this error mean my computer is hacked?

No. It is a standard network connectivity error. It does not indicate a security breach. However, if you are suddenly unable to access shares that worked before, check if your firewall or antivirus was updated recently.

How do I find the IP address of the computer I want to connect to?

On the target PC, open Command Prompt and type ipconfig. Look for the IPv4 address under the active network adapter (e.g., 192.168.1.10). Use that address in the file explorer path like \\192.168.1.10\share.

What if I am trying to connect to a NAS or external drive?

NAS devices often use SMB but may have their own settings. Ensure the NAS is on the same subnet, has SMB enabled, and that you are using the correct share name and credentials. Some NAS units require you to enable SMB 2.0 or 3.0 in their settings.

Is it safe to disable Windows Firewall to fix this?

Disabling the firewall temporarily is safe for a quick test, but you should re-enable it immediately. Instead of disabling it entirely, add an inbound rule for TCP ports 445 and 139 for the Private profile. That is more secure and still allows file sharing.

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 →