I am connecting two PCs (Win10 and Win11) over my home Wi-Fi network. They see each other, but cannot open shared folders:
Windows cannot access \<pc_name>
You do not have permission to access \xxxxxx-xxxxxx (a PC on the network), Contact your network administrator to request access.
(double slash \ does not show above?!)
I tried all solutions I could find, but the problem still persists?!
1. The Wi-Fi network is Private, both PCs are on the same network
2. Network sharing settings are enabled:
- Turn on network discovery
=> Turn on automatic setup of network connected devices
- Turn on file and printer sharing
- Public folder sharing - Turn on
- Use 128-bit encryption
- Turn off password protected sharing
3. Switched the following services to Automatic startup (Windows+R => Services.msc)
- Function Discovery Provider Host (FDPHost)
- Function Discovery Resource Publication (FDResPub)
- Network Connections (NetMan)
- Peer Name Resolution Protocol (PNRPSvc)
- Peer Networking Grouping (P2PSvc)
- Peer Networking Identity Manager (P2PIMSvc)
- SSDP Discovery
- UPnP Device Host (UPnPHost)
4. Turned on SMB feature
Windows+R => appwiz.cpl
=> 'Turn Windows Features On or Off'
Both SMB 1.0/CIFS Client and SMB 1.0/ CIFS Server are enabled
5. Enabled NetBIOS
Windows+R => ncps.cpl
Right click on network connection => Properties => Internet Protocol Version 4 (TCP/IPv4)
General => Advanced => WINS => Enable NetBIOS over TCP/IP
6. Restarted (several times)
References:
- File Sharing over a network in Windows
- Roohi Taj's response
- Prakhar Khare's response