Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error error-bad-net-name in Windows 11

ERROR_BAD_NET_NAME = 67

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 15 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-bad-net-name
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time15 min

Solution Steps

  1. 1 First, verify the network path. If you're trying to access a shared folder, the path should look like \\ComputerName\ShareName or \\IPAddress\ShareName. Double-check the spelling and the share name.
  2. 2 Try pinging the target computer to see if it's reachable. Open Command Prompt (Win+R, type 'cmd') and type 'ping ComputerName' or 'ping IPAddress'. If you get replies, the device is reachable; if not, there's a network issue.
  3. 3 If the computer is reachable but you still get the error, try accessing it by IP address instead of computer name. For example, use \\192.168.1.100\Share instead of \\MyPC\Share.
  4. 4 Check if the target computer has file sharing enabled. On the target computer, go to Settings → Network & Internet → Advanced network settings → Advanced sharing settings. Ensure 'Network discovery' and 'File and printer sharing' are turned on.
  5. 5 If you're on a domain network, the issue might be with DNS. Try flushing the DNS cache by typing 'ipconfig /flushdns' in Command Prompt.
  6. 6 If you're using a VPN, disconnect and try again, as VPNs can sometimes interfere with local network access.
  7. 7 If the error occurs when mapping a drive, try using the 'net use' command. Open Command Prompt and type 'net use Z: \\ComputerName\ShareName /persistent:yes' and press Enter. Replace Z: with the drive letter you want, and the path with your actual share.
  8. 8 If all else fails, restart both computers and try again. Sometimes a simple reboot resolves network issues.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free