Access Shared Folders on Windows 11: Step-by-Step
In this article
To access a shared folder on Windows 11, open File Explorer, go to the Network section, find the computer hosting the folder, and double-click it. If prompted, enter the username and password for an account on that computer. This guide walks you through the exact steps, including how to map a shared folder as a drive for quicker access.
What You'll Need
- A Windows 11 PC (the one you're using to access the shared folder).
- The name or IP address of the computer sharing the folder.
- A valid username and password for an account on the sharing computer (unless the folder is set to "Everyone" with no password).
- Both computers must be on the same local network (same Wi-Fi or Ethernet router).
- Network discovery and file sharing must be enabled on the sharing computer (see Common Mistakes for how to check).
Step-by-Step
- Open File Explorer. Click the folder icon in the taskbar or press Win + E.
- Go to the Network section. In the left sidebar, click "Network." If you don't see it, you may need to scroll down or click the "..." (more) button. If Network discovery is off, you'll see a yellow bar at the top—click it and select "Turn on network discovery and file sharing." (Labels may differ slightly by Windows version.)
- Find the computer. Under "Computer," you'll see a list of devices on your network. Double-click the computer that shares the folder you need. If it doesn't appear, type its name or IP address directly into the address bar at the top of File Explorer, like
\COMPUTERNAMEor\192.168.1.10(replace with the actual name or IP). - Enter credentials if prompted. A login window may appear. Enter the username and password for an account on the sharing computer. If you're not sure, try the Microsoft account email and password that the other person uses to sign in to Windows, or check with them. Check "Remember my credentials" to avoid typing it every time.
- Open the shared folder. Once connected, you'll see a list of shared folders. Double-click the one you need. You can now browse, copy, and edit files (if you have permission).
- Optional: Map the folder as a drive. Right-click the shared folder and select "Map network drive." Choose a drive letter (e.g., Z:), check "Reconnect at sign-in" if you want it to persist, and click Finish. The folder will appear under "This PC" in File Explorer for quick access.
Common Mistakes
- Network discovery is off. If you can't see the other computer, network discovery might be disabled. On the sharing computer, go to Settings > Network & internet > Advanced network settings > Advanced sharing settings, and turn on "Network discovery" and "File and printer sharing" for the current profile (Private or Public).
- Using the wrong credentials. The username and password must be for an account on the sharing computer, not necessarily your own. If the other person uses a Microsoft account, try that email and password. If they use a local account, use that username and password.
- Typing the computer name wrong. The name is case-insensitive but must be exact. Check the name by right-clicking the Start button on the sharing computer, selecting System, and looking under "Device name."
- Firewall blocking. Windows Defender Firewall can block file sharing. On the sharing computer, go to Settings > Privacy & security > Windows Security > Firewall & network protection, and ensure "File and Printer Sharing" is allowed for Private networks. (Do not disable the firewall entirely.)
- Sharing folder not actually shared. The folder must be explicitly shared. On the sharing computer, right-click the folder > Properties > Sharing tab > Share... and add the user or "Everyone." If you see "Share" grayed out, the folder might be in a system-protected location.
Tips
- Use a static IP address on the sharing computer if you map the drive, so the path doesn't break when the IP changes.
- For frequent access, map the drive as shown in Step 6—it saves time.
- If you're on a public network (like a coffee shop), turn off network discovery and file sharing to protect your files.
- To access the shared folder from a different device (like a phone), you may need to use the IP address and a file manager app that supports SMB (e.g., VLC for media, or a dedicated file manager).
- If the shared folder is on a computer that's turned off or asleep, you won't be able to access it. Wake it up first.
Troubleshooting
If you can't see the computer in Network:
- Make sure both computers are on the same network (same router). Check Wi-Fi or Ethernet connections.
- On the sharing computer, verify network discovery is on (see Common Mistakes).
- Type the computer's IP address directly into File Explorer's address bar (e.g.,
\192.168.1.20). If that works, the issue is just discovery. - Restart both computers and try again.
If you get "Windows cannot access \\computer" error:
- Check that the computer name is spelled correctly and you're using the right format (backslashes, no spaces).
- Ensure the sharing computer is powered on and not in sleep mode.
- On the sharing computer, open Command Prompt as administrator and run
ipconfigto find its IPv4 address. Use that IP in the address bar. - If you still get an error, try turning off password-protected sharing temporarily (on the sharing computer, in Advanced sharing settings) to test—but re-enable it afterward for security.
If you get an "Access denied" or "Enter network credentials" loop:
- Double-check the username and password. Try the format
COMPUTERNAME\username(e.g.,DESKTOP-ABC123\john). - On the sharing computer, ensure the account you're using has permission to the folder. Right-click the folder > Properties > Sharing tab > Share... and add that specific user.
- If the sharing computer uses a Microsoft account, try the Microsoft account email and password.
- As a last resort, on the sharing computer, go to Settings > Accounts > Your info and note the full account name (it may be different from the display name).
If mapped drive disconnects after reboot:
- Open Command Prompt as administrator and run
net use Z: \\COMPUTERNAME\share /persistent:yes(replace Z: and the path). - Make sure the sharing computer has a static IP or use the computer name instead of IP in the mapping.
Frequently Asked Questions
Why can't I see any computers in the Network section?
Network discovery is likely off. Turn it on via Settings > Network & internet > Advanced network settings > Advanced sharing settings, and ensure you're on a Private network profile (not Public).
Do I need the same Microsoft account on both computers?
No. You just need valid credentials for an account on the sharing computer. That could be a Microsoft account or a local account.
Can I access a shared folder from outside my home network?
Not directly. Windows file sharing (SMB) is designed for local networks. For remote access, you'd need a VPN or a cloud service like OneDrive or Google Drive.
What does "Map network drive" mean?
It assigns a drive letter (like Z:) to the shared folder, so it appears under "This PC" and behaves like a local drive. It's convenient for frequent use.
Is it safe to share folders on a public Wi-Fi?
It's risky. On public networks, disable network discovery and file sharing. Only share on trusted private networks.
Can I access shared folders on Windows 11 from a Mac or phone?
Yes, you can use SMB clients. On Mac, go to Finder > Go > Connect to Server and enter smb://IPaddress. On Android or iPhone, use a file manager app that supports SMB (like VLC or Solid Explorer).