Unable to access Windows network shared folders
Candidate causes for the “Cannot access shared folder” symptom include network profile/credentials, SMB settings, etc. Please check step 1 in order, starting with ‘Check network profile and file sharing settings’.
First, check that this guide matches your problem
Do you have these symptoms?
- Can't access shared folder
- Can't connect to network drive
- NAS not showing
Common causes
- Network profile/credentials
- SMB settings
- Firewall/name resolution
How to fix
4 steps, 35 min–1 hr in total. The easiest checks come first, so stop as soon as the problem is fixed.
When the network is set to Public, Windows blocks network discovery and file sharing, so shared folders and NAS devices don't appear.
- In Settings → Network & internet → Wi-Fi or Ethernet, open the connected network and set Network profile type to Private network.
- In Advanced network settings → Advanced sharing settings, turn on Network discovery and File and printer sharing for private networks.
- Check that the same settings are on for the PC that is sharing as well.
What to check
If the sharing PC shows up under Network in File Explorer, try connecting. If it doesn't appear or access is denied, connect directly by address.
Did this step fix it?
If it fails by name but works by IP, name resolution is the issue; an old saved password can keep access denied.
- Check the IP of the shared PC or NAS, and first see if there is a response to the ping IP address at the command prompt.
- When you receive a response, enter it in the format \\192.168.0.10\share name in the address bar of the explorer.
- In Control Panel → Credential Manager → Windows Credentials, remove entries saved for that PC or NAS address, then enter the sharing side's account name and password when you reconnect.
- If the sharing PC signs in with a Microsoft account, you may need to enter the Microsoft account email and password rather than the PIN.
What to check
If it connects by IP, recreate the mapped network drive using the IP address. If ping works but access errors out, check the SMB settings.
Did this step fix it?
If an older NAS supports only SMB1 or is set up for guest (anonymous) access, recent Windows versions block the connection for security reasons.
- In the NAS admin page, check the minimum and maximum SMB versions and enable SMB2 or later if possible. The menu location differs by NAS manufacturer.
- Instead of guest access, create a user account on the NAS and connect with that account.
- If the NAS supports only SMB1, you have to turn on SMB 1.0/CIFS File Sharing Support in optionalfeatures to connect. This carries a security risk, so enable it only while needed and look into a NAS firmware update or replacement.
What to check
If it connects with SMB2 or later or with an account, keep it that way. If it is still blocked with correct settings, check the firewall rules.
Did this step fix it?
If the sharing PC's firewall blocks SMB (port 445), access to the shared folder fails even though ping works.
- On the sharing PC, open Windows Security → Firewall & network protection → Allow an app through firewall.
- Check that File and Printer Sharing is allowed on private networks.
- If you use third-party antivirus or firewall software, also check its local network blocking settings.
What to check
If it connects after allowing the rule, it's resolved. If not, check that the connecting account is listed in the shared folder's Sharing permissions and Security (NTFS) permissions.
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.