You type \\DESKTOP-XXXX in File Explorer and get `Windows cannot access \\DESKTOP-XXXX`, then `The network path was not found.`, then `Error code: 0x80070035`. No password prompt appears, which is the useful part. Windows found the name and could not open the connection, so start by separating those two things in how to set up a home Wi-Fi network and then narrow the path.
Quick steps
- Read 0x80070035 as a path failure, not a login failure
- Ping the machine name
- Resolve the name with nslookup
- Retry the share by IP address
- Test TCP port 445 with Test-NetConnection
- Set both network profiles to Private
- Start the discovery services
Things you'll need
- The target machine's local IP address
- An administrator PowerShell window
- Access to both machines' network settings
- The router's admin page for the address table
Step-by-step
Method 1 of 3: Separate Name Resolution from SMB
Download image
Step 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.
Download image
Step 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.
Download image
Step 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.
Download image
Step 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 Learn — Networking documentation · See also Microsoft Learn — ipconfig command · Read next: Set Up a Home Wi-Fi Network
Download image
Step 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.
Download image
Step 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.
Method 2 of 3: Open the Path Between the Machines
Download image
Step 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 owns it.
Download image
Step 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 address only.
Download image
Step 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.
Download image
Step 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: Microsoft Learn — What is DHCP Server in Windows Server? · See also Microsoft Learn — What is SMB File Sharing for Windows and Windows Server · Read next: Set Up a Home Wi-Fi Network
Download image
Step 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.
Download image
Step 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.
Method 3 of 3: Handle Old Devices Without SMB1
Download image
Step 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 Wi-Fi.
Download image
Step 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.
Download image
Step 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.
Download image
Step 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.
Source: Microsoft Learn — SMB security hardening in Windows Server and Windows Client · See also Microsoft Learn — Windows Internet Name Service (WINS) · Read next: Set Up a Home Wi-Fi Network
Download image
Step 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.
Download image
Step 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 encrypted.
Tips
- A missing password prompt is the tell. 0x80070035 happens before authentication, so no credential is ever checked.
- Sharing works by IP and fails by name in most small offices. That means DNS or NetBIOS, never SMB.
- The Network view in Explorer depends on three services. Kill them and the PC becomes reachable only by address.
- If one machine can open the share and another cannot, compare their network profiles first. It is usually that.
Warnings
- Do not reinstall the SMB1 feature on Windows 11 to reach one old device. Ransomware families still scan for it by design.
- Enable insecure guest logons only on a home or office LAN you control. Never on a laptop that joins public Wi-Fi.
- Changing firewall rules while connected to a public network can expose your shares to strangers on that network.
- Mapping a drive with saved credentials keeps them available to anything running as your user, including malware.
Frequently asked questions
What does 0x80070035 mean exactly?
It is ERROR_BAD_NETPATH. The name resolved but the SMB connection could not be established, so it fails before any password is checked.
Why does the IP address work when the name does not?
Name resolution is failing. Either DNS has no record, or the target is not publishing itself through NetBIOS or the discovery services.
Is port 445 always required?
Yes for modern SMB over TCP. Some ISPs and hotel networks block it, and no amount of local configuration gets around that.
Can an old NAS be made to work safely?
If it supports SMB2 or SMB3 through a firmware setting, yes. If it only speaks SMB1, copy the data off and replace it.
References
- Microsoft Learn — SMB file server overview. https://learn.microsoft.com/en-us/windows-server/storage/file-server/file-server-smb-overview
- Microsoft Learn — Set-SmbClientConfiguration. https://learn.microsoft.com/en-us/powershell/module/smbshare/set-smbclientconfiguration
- Microsoft Learn — Windows Server networking. https://learn.microsoft.com/en-us/windows-server/networking/
- Microsoft Support — Windows help and learning. https://support.microsoft.com/en-us/windows
Every guide is reviewed against its sources. See our editorial policy.
Reader comments
0 so farFinished this guide? Tell other readers what worked, what didn't, and what you would change.