Windows 11 SMB Share Won't Connect? Fix It Step by Step
In this article
If Windows 11 cannot connect to an SMB share, the fix is usually one of four things: the SMB 1.0 protocol is disabled while the server still needs it, the network is set to Public so file sharing is blocked, the required Windows services are not running, or credentials and name resolution are failing. Work through the checks below in order — most people solve it within the first three steps. Before you start, note the exact share path (for example \\SERVERNAME\Share or \\192.168.1.50\Share) and have the username and password for the account that owns the share. Menu labels can differ slightly between Windows 11 builds and editions, so treat the paths below as a guide rather than a script.
What You'll Need
- The exact UNC path of the share and the credentials that are allowed to access it
- Administrator rights on the Windows 11 PC (you will open Settings and Services)
- Network connectivity to the server — both devices on the same LAN or VPN
- The name or IP address of the server, and ideally both, so you can test name resolution
Step-by-Step
- Confirm the basics first. Open File Explorer and type the share path into the address bar, pressing Enter. If it fails, note the exact error text — "The network path was not found" points to name resolution or reachability, while "Access is denied" or a credentials prompt points to permissions. The error message decides which of the following steps matters.
- Ping the server by name and by IP. Open Command Prompt and run
ping SERVERNAME, thenping 192.168.1.50(use your real address). If the IP responds but the name does not, name resolution is the problem — try the share using the IP path instead. If neither responds, the server is off, firewalled, or on a different subnet, and no Windows setting will fix that. - Set the network profile to Private. Go to Settings > Network & internet > Wi-Fi (or Ethernet) > your connection, and change the network profile type from Public to Private. Windows blocks file and printer sharing on Public networks by design, so this alone resolves a large share of cases on home and small-office networks.
- Turn on network discovery and file sharing. In Settings > Network & internet > Advanced network settings > Advanced sharing settings, enable network discovery and file and printer sharing for the Private profile. Expand the All networks section and make sure password-protected sharing is set the way your server expects — leave it on if the share requires a login.
- Check the SMB client and server services. Press Win+R, type
services.mscand press Enter. Find "Workstation" (the SMB client) and confirm it is Running with Startup type Automatic; start it if it is stopped. On the machine hosting the share, also confirm "Server" (LanmanServer) is running. - Verify SMB 1.0 only if the server is genuinely old. Windows 11 disables the legacy SMB 1.0/CIFS protocol by default, which breaks connections to very old NAS boxes and routers. Open Control Panel > Programs > Turn Windows features on or off, and expand "SMB 1.0/CIFS File Sharing Support". Enable only the client component if the server truly needs it, then restart. Do not enable it speculatively — it is an insecure protocol and should stay off unless required.
- Test with explicit credentials. Open Command Prompt and run
net use \\SERVERNAME\Share /user:SERVERNAME\username, then enter the password when prompted. This bypasses cached credentials that may be wrong. If it connects here but not in Explorer, the problem is stale saved credentials — open Control Panel > Credential Manager > Windows Credentials and remove any saved entry for that server, then reconnect. - Check the firewall on both ends. On the Windows 11 client, allow File and Printer Sharing through Windows Defender Firewall for the Private profile. On the server, confirm TCP port 445 (and 139 for legacy setups) is not blocked. A quick test is
Test-NetConnection SERVERNAME -Port 445in PowerShell — a failed result confirms a firewall or routing block rather than a Windows 11 client fault. - Reconnect the share cleanly. Disconnect any mapped drive for that server in File Explorer (right-click the drive > Disconnect), then map it again with "Map network drive" and tick "Reconnect at sign-in" if you want it persistent. Reboot the client once and test again.
Common Mistakes
- Enabling SMB 1.0 as a first move. It is disabled for security reasons; enable it only when you have confirmed the server cannot do SMB 2 or 3.
- Leaving the network profile on Public. Sharing is blocked there no matter what else you change.
- Using a Microsoft account email as the SMB username. Shares on a workgroup machine usually expect the local account name in the form
SERVERNAME\username. - Ignoring the exact error text. "Network path not found" and "Access denied" have completely different causes.
- Forgetting that the server side matters. If the hosting PC is asleep, firewalled, or its share permissions exclude your account, the client settings will never be enough.
Tips
- Test with the IP address before chasing name resolution problems — if the IP works, you have isolated the issue to DNS or NetBIOS name lookup.
- Keep a note of which credentials work for which server; Credential Manager entries are easy to accumulate and hard to diagnose later.
- If the share is on a NAS, check its own settings page for the minimum SMB protocol version it accepts and match it deliberately.
- For shares you use daily, map a drive letter rather than browsing the network each time — it is faster and surfaces errors more clearly.
Troubleshooting
If the share still will not connect, work from the error message outward. "The network path was not found" means the client cannot reach the server at all: re-check the IP, the subnet, the firewall and whether the hosting device is awake. "Access is denied" means you reached the server but authentication or share permissions failed: confirm the account exists on the server, that it is in the share's permission list, and that NTFS permissions on the folder also allow it — both layers must permit access.
If Windows keeps prompting for a password that you know is correct, clear saved credentials as described above and try the net use command again. If the connection drops after a period of inactivity, check whether the server or a router is putting the link to sleep, and confirm the Workstation service has not stopped. If only one PC on the network fails while others connect fine, compare its network profile, firewall rules and saved credentials against a working machine — the difference is almost always in one of those three.
As a last resort, run ipconfig /flushdns in Command Prompt, restart both the client and the server, and test again. If the server is a domain machine and your PC is not, confirm with whoever administers it that your account is permitted to connect from a non-domain device.
Frequently Asked Questions
Why can I ping the server but not open the share?
Ping only proves the device is reachable. SMB needs TCP port 445 open and the Server service running on the host, plus valid credentials — any of those can fail while ping succeeds.
Do I need to enable SMB 1.0 on Windows 11?
Only if the device hosting the share is old enough to require it. Most current NAS devices and Windows servers use SMB 2 or 3, so leave SMB 1.0 disabled unless you have confirmed the need.
Why does it work with the IP address but not the computer name?
Name resolution is failing. The IP path proves the share and credentials are fine; the fix is on the DNS or name-lookup side, or simply using the IP path going forward.
How do I remove saved credentials for a share?
Open Control Panel > Credential Manager > Windows Credentials, find the entry for that server, and remove it. Then reconnect and enter the credentials again.
Does the network profile really matter?
Yes. Windows treats Public networks as untrusted and blocks file sharing there, so a Private profile is required for normal LAN sharing to work.