Introduction
Sharing folders between computers is a common practice in both personal and professional settings. Windows 11 offers an easy way to share folders using the built-in File Explorer. However, sometimes, you might encounter an issue where another machine cannot open a shared folder, despite a successful connection being established. This article will cover the key concepts and steps to resolve this issue.
Issue Description
You have connected to another machine's shared folder in Windows 11, but when you try to open it, no connections are made, and the folder remains inaccessible.
Possible Solutions
Solution 1: Net File Sharing Service
Ensure that the Net File Sharing Service is enabled on both the sharing and receiving machines. Follow these steps:
-
On the sharing machine:
netsh firewall set service type=fileandprinter sharing mode=enable -
On the receiving machine:
netsh advfirewall firewall add rule name="File and Printer Sharing (TCP)" protocol=tcp dir=in localport=135 action=allow netsh advfirewall firewall add rule name="File and Printer Sharing (TCP-IN)" protocol=tcp dir=in localport=139 action=allow netsh advfirewall firewall add rule name="File and Printer Sharing (TCP-OUT)" protocol=tcp dir=out localport=139 action=allow netsh advfirewall firewall add rule name="File and Printer Sharing (TCP)" protocol=tcp dir=in localport=445 action=allow netsh advfirewall firewall add rule name="File and Printer Sharing (TCP-IN)" protocol=tcp dir=in localport=445 action=allow netsh advfirewall firewall add rule name="File and Printer Sharing (TCP-OUT)" protocol=tcp dir=out localport=445 action=allow
Solution 2: Check Permissions
Check the permissions on the shared folder to ensure that the user account on the receiving machine has the necessary access. Follow these steps:
-
On the sharing machine:
right-click the shared folder > Properties > Sharing > Add > Select the user or group > Choose the desired permissions > Check the "Allow" box > Click "Share" -
On the receiving machine:
net use: \\ \ /persistent:yes /user:
Solution 3: Network Discovery
Ensure that network discovery is enabled on both machines. Follow these steps:
-
On the sharing machine:
Control Panel > Network and Internet > Network and Sharing Center > Change advanced sharing settings > Turn on network discovery -
On the receiving machine:
Control Panel > Network and Internet > Network and Sharing Center > Change advanced sharing settings > Turn on network discovery
Solution 4: Restart Services
Restart the following services on both machines:
-
Windows Firewall
-
File and Printer Sharing for Microsoft Networks
-
Server
Solution 5: Check Antivirus
Make sure that your antivirus software is not blocking the shared folder. Check the antivirus settings and add the shared folder to the exceptions list.
Summary
In this article, we covered the possible solutions to resolve the issue where another machine cannot open a shared folder in Windows 11. We discussed enabling the Net File Sharing Service, checking permissions, enabling network discovery, restarting services, and checking antivirus software. By following these steps, you should be able to successfully access the shared folder on the other machine.