In Windows 11, you can check file-sharing permissions and firewall settings through File Explorer, Advanced sharing settings, and Windows Defender Firewall. First, confirm that both computers are connected to the same network and that the network profile is set to Private if it is a trusted home or office network. Go to Settings → Network & internet → Wi-Fi or Ethernet → your connected network, and verify the network profile. Avoid setting an untrusted public network to Private simply to enable sharing.
To check sharing permissions, open File Explorer, right-click the folder you want to share, select Properties → Sharing → Advanced Sharing, and confirm that Share this folder is selected. Click Permissions to review which users or groups have access and whether they have Read, Change, or Full Control permissions. Then open the Security tab in the folder's Properties window to check NTFS permissions. A user generally needs appropriate permissions at both the share level and the Security tab level - the more restrictive permission takes precedence. For troubleshooting, grant access only to the intended user or group rather than enabling unrestricted access.
To enable file sharing in Windows 11, open Settings → Network & internet → Advanced network settings → Advanced sharing settings. Under Private networks, enable Network discovery and File and printer sharing. These settings allow your computer to discover other devices and share files over a trusted network. If you are using a Public network profile, Windows applies more restrictive settings, which is generally appropriate for public Wi-Fi.
To verify firewall settings, open Windows Security → Firewall & network protection → Allow an app through firewall. Select Change settings if necessary, then locate File and Printer Sharing and verify that it is allowed for the appropriate network profile, typically Private. If the entry is missing or sharing still fails, open Windows Defender Firewall with Advanced Security and inspect the inbound rules for File and Printer Sharing, including the SMB-related rules. Do not disable the firewall entirely - enable only the necessary rules for the trusted network profile.
Finally, test access from the other computer by opening File Explorer and entering \\ComputerName\ShareName in the address bar, replacing the placeholders with the sharing computer's name and shared folder name. If the connection fails, try \\IPAddress\ShareName to help distinguish name-resolution problems from sharing or firewall problems. You can find the computer name under Settings → System → About and its local IP address by running ipconfig in Command Prompt. If you receive an Access denied message, investigate permissions and credentials - if you receive a network path not found error, check connectivity, name resolution, and firewall rules.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin