0X000004B3

Fix ERROR_NO_NET_OR_BAD_PATH (0X000004B3) on Windows 10/11

This error means Windows can't find the network path you're trying to access. Usually happens when mapping a drive or running a batch file that references a broken UNC path.

When This Error Hits

You're sitting at your desk, running a batch file that maps a network drive with net use Z: \\server\share. Or maybe you're double-clicking a shortcut to a shared folder on a Windows Server 2016 box. Instead of seeing your files, you get ERROR_NO_NET_OR_BAD_PATH (0X000004B3). The screen freezes for a second, then spits that hex code back at you. I've seen this countless times—usually after an IT admin changes a share name, or when someone tries to connect to a server that's been decommissioned but the shortcut still points there.

This error specifically appears when Windows can't resolve the network path you provided. The path might be malformed, the server might be down, or SMB (Server Message Block) is misconfigured. Let's fix it.

Root Cause in Plain English

Windows networking uses SMB to talk to other machines. When you type \\server\share, your computer sends a lookup to find the server named server on the network. If DNS or NetBIOS can't resolve that name, or if the server isn't running the SMB service, or if the share folder doesn't exist, Windows throws this error. Another common culprit: trailing backslashes or spaces in the path. I once spent an hour debugging a script that had an invisible space after the share name—drives you nuts.

Fix It in 4 Steps

Skip the fluff—here's what actually works, tested on Windows 10 Pro 22H2 and Windows 11 23H2.

Step 1: Verify the Path with a Simple Test

Open File Explorer and type the UNC path directly into the address bar—like \\192.168.1.100\shareddocs. If it works, you know the path is valid. If it fails, try pinging the server IP to confirm it's alive.

Open Command Prompt as admin and run:

ping 192.168.1.100 -n 2

If the ping fails, the server is offline or unreachable. Check network cables, switch ports, or firewall rules (Windows Defender Firewall blocks ping by default—enable File and Printer Sharing).

Step 2: Check the Share Name Exactly

Misspellings are the #1 cause of this error. On the server, open File Explorer and navigate to the folder you're sharing. Right-click it, go to Properties > Sharing tab. The share name is listed under Share Name. Copy it exactly—case doesn't matter on Windows, but spaces and special characters do. If the share name has a space, you must wrap the path in quotes: "\\server\my share".

Also, check if the share is hidden. A share name ending with $ (like admin$) requires admin privileges to access. You don't need the dollar sign for normal shares.

Step 3: Force SMB 2.0 or 3.0 (Skip SMB 1.0)

Windows 10/11 default to SMB 3.0, but older devices (like a NAS from 2010) might only speak SMB 1.0. However, I strongly recommend not enabling SMB 1.0—it's a security nightmare (WannaCry used it). Instead, check the server's SMB version. On the server (Windows 10/11 Pro or Server), run this in PowerShell as admin:

Get-SmbServerConfiguration | Select EnableSMB1Protocol, EnableSMB2Protocol

If EnableSMB1Protocol is True, disable it: Set-SmbServerConfiguration -EnableSMB1Protocol $false. Then restart the server. For the client (your machine), you can force SMB 2.0 by disabling SMB 1.0 in Windows Features (Control Panel > Turn Windows features on or off > uncheck SMB 1.0/CIFS File Sharing Support).

One more thing: if the server is a Linux Samba share, make sure the server min protocol in /etc/samba/smb.conf is set to SMB2 or higher. I've seen Samba 4.7 default to SMB1, which breaks modern Windows clients.

Step 4: Use the IP Address Instead of Hostname

If your DNS or NetBIOS is flaky, bypass name resolution entirely. Replace \\server\share with \\192.168.1.100\share. This forces a direct IP connection. If it works, you've got a name resolution problem. Update your hosts file (C:\Windows\System32\drivers\etc\hosts) with a mapping: 192.168.1.100 server. Or fix your DNS server (check that the server's A record exists in your domain controller).

Still Failing? Check These

  • Firewalls: Windows Defender Firewall on the server must allow File and Printer Sharing inbound. Go to Control Panel > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall > check File and Printer Sharing for Private network.
  • Services: On the server, ensure the Server service is running (services.msc). Also check Computer Browser if on a workgroup—though it's deprecated in Windows 10 1803+, it can still matter.
  • Credentials: If you're prompted for a username/password and it fails, try net use * \\server\share /user:WORKGROUP\yourusername in Command Prompt. Replace WORKGROUP with the server's workgroup or domain.
  • Event Viewer: Look under Windows Logs > System for Event ID 1003 (DNS resolution failure) or Event ID 2022 (SMB authentication failure). This tells you exactly where it broke.

I know this error is infuriating—especially when you're under a deadline. But nine times out of ten, it's a typo in the share name or a DNS hiccup. Run through these steps in order, and you'll have that drive mapped in five minutes. If it still doesn't work after all that, the server's SMB stack might be corrupted—reboot it, or check for Windows updates.

Related Errors in Network & Connectivity
0XC00D11C9 Fix NS_E_WMP_IMAPI_DEVICE_INVALIDTYPE (0XC00D11C9) 0XC0000155 Fix STATUS_LOGON_NOT_GRANTED (0XC0000155) Network Error BGP Route Flap Damping Killed My Routes – Quick Fix Firewall Dropping Inbound Connection: Quick Fixes

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.