How to Fix "Windows Cannot Access \\PC (0x80070035) — The Network Path Was Not Found"
`0x80070035` is ERROR_BAD_NETPATH: the name resolved, the request left your PC, and the SMB session never opened. That rules out credentials and points at discovery, port 445, the network profile, or an old device that only speaks SMB1.
-
1. Read 0x80070035 as a path failure
0x80070035 is ERROR_BAD_NETPATH. The name resolved, the request left your machine, and the SMB connection never completed. That is different from a logon failure, which shows a password prompt along with a different code. → [Microsoft…
-
2. Ping the machine name first
Open Command Prompt and run ping DESKTOP-XXXX with the real name. Replies carrying an address mean name resolution works. Request timed out means the host is off, asleep, or blocked, and nothing else in this article applies yet. More on…
-
3. Resolve the name separately
Run nslookup DESKTOP-XXXX. A result confirms that DNS or NetBIOS answered. A timeout means the other machine is not advertising itself, which points at the network profile and the discovery services rather than SMB. Official reference —…
-
4. Bypass the name with the address
Open File Explorer and type \\192.168.1.10 with the target's real address. If the share opens by IP, the problem is name resolution only. If it fails by IP as well, the problem is the connection or the share itself. Source: [Microsoft…
-
5. Test port 445 directly
Run Test-NetConnection -ComputerName 192.168.1.10 -Port 445 in PowerShell. TcpTestSucceeded True means SMB is reachable. False means a firewall, an ISP, or a stopped service is blocking the only port modern SMB uses. Worth reading:…
-
6. Check the profile on both ends
Open Settings → Network & internet → Wi-Fi → your network and read the profile type. Public switches off discovery and sharing. Both machines need Private, or the share stays invisible no matter what else you change. Reference —…
-
7. Turn on discovery and sharing
Open Control Panel → Network and Sharing Center → Advanced sharing settings and enable network discovery plus file and printer sharing for the Private profile. Save, then retry from the other machine. If the toggle is greyed out, a policy…
-
8. Start the discovery services
Run services.msc and set Function Discovery Provider Host, Function Discovery Resource Publication, and SSDP Discovery to Automatic, then start them. These three make a PC appear in the Network view. Without them it is reachable by…
-
9. Allow the file sharing rules
Open Windows Defender Firewall → Allow an app through Windows Firewall and tick File and Printer Sharing for the Private column only. Leaving the Public column clear keeps the machine invisible on cafe and airport networks. Official…
-
10. Check the SMB dialect in use
Run Get-SmbConnection on a machine that can open the share, if one exists, and read the Dialect column. A device answering with SMB1 only will fail against Windows 11 defaults, and the repair belongs on the device, not your PC. Source:…
-
11. Update the NAS or its settings
Sign in to the NAS and look for an SMB2 or SMB3 option under File Services or Win/Mac/NFS. Most units built after 2015 support SMB2 with a checkbox. Turn it on, reboot the NAS, then retest the path in Explorer. Worth reading: [Microsoft…
-
12. Wipe the stale credential
Open Control Panel → Credential Manager → Windows Credentials and remove entries for the target name and address. A cached password from an old account produces a prompt loop that reads like a path error. Retry and retype it once.…
-
13. Allow guest logons on a trusted LAN
Run Set-SmbClientConfiguration -EnableInsecureGuestLogons $true in an administrator PowerShell session. This lets the client talk to a device that has no account, which older boxes require. Never leave it on a laptop that joins public…
-
14. Do not turn SMB1 back on globally
SMB1 is the protocol ransomware families still scan for. If a device truly needs it, enable it on that device alone rather than adding the client feature to every PC. The convenience is not worth the exposure it buys you. More on this:…
-
15. Map the share by address instead
In File Explorer, right-click This PC → Map a network drive and enter \\192.168.1.10\share. A mapped drive sidesteps name resolution entirely and takes one click at sign-in. Tick Reconnect at sign-in and it stops being a chore. Official…
-
16. Wake the target before diagnosing
On the target machine, open Device Manager, find the network adapter → Power Management, and clear the option that lets Windows turn it off. A sleeping desktop drops off SMB and produces this exact message from every other machine.…
-
17. Test from a second client
Try the same path from another PC or a phone file manager. If every client fails, the target or the network is at fault. If only one PC fails, compare its network profile and firewall rules against the working one. Worth reading:…
-
18. Stop when the device is past saving
If the NAS only speaks SMB1, has no firmware update, and holds data you need, stop trying to make Windows 11 accept it. Copy the data over FTP or a USB drive, then replace the unit. Keeping SMB1 for one old box is how networks get…