To open a shared folder in Windows 10, you can use File Explorer, the Run dialog, or the command line, depending on how you know the folder’s address. The quickest method is to press Win+R, type \\ComputerName\SharedFolder, and press Enter. Below are all the reliable ways, plus fixes for when they don’t work.
What a Shared Folder Is and Why You’d Use One
A shared folder is a directory on one PC (the host) that is made accessible over a local network or through a cloud service to other users. In Windows 10, sharing is built into File Explorer’s “Give access to” menu. You might share a folder to let a colleague edit a spreadsheet without emailing versions, to stream media from a home server, or to back up files from multiple devices to one location. The host sets permissions (read-only or read/write) and decides who can access it—everyone on the network or specific user accounts.
Two distinct sharing technologies exist in Windows 10: HomeGroup (deprecated and removed in newer builds) and workgroup/domain sharing using the SMB protocol. This article focuses on the current SMB-based sharing, which works across Windows 10, Windows 11, and most other operating systems.
Method 1: File Explorer (Graphical Way)
File Explorer is the most intuitive method for most users, especially if the shared folder appears under “Network” automatically.
- Open File Explorer (folder icon in the taskbar or Win+E).
- In the left sidebar, click Network. If network discovery is off, a yellow bar appears at the top—click it and select “Turn on network discovery and file sharing.”
- Double-click the computer that hosts the shared folder. You may need to enter a username and password for that PC.
- Double-click the shared folder to open it.
If the host computer doesn’t appear, type its network path directly into the address bar at the top of File Explorer, for example \\DESKTOP-ABC123\SharedDocs. You can also right-click “Network” in the sidebar and choose “Map network drive” to assign a drive letter (like Z:) to the folder, which makes it appear under “This PC” permanently.
Method 2: Run Dialog (Fastest for Known Paths)
When you know the exact UNC (Universal Naming Convention) path, the Run dialog is the fastest route.
- Press Win+R to open the Run box.
- Type the UNC path in the format
\\ComputerName\ShareName. For example,\\SERVER\Projects. - Press Enter or click OK.
This method works whether the computer is on your local network or a remote one (if you’re connected via VPN). It also works with an IP address instead of a name: \\192.168.1.10\Data. If you get an error, check that the computer name is correct and that you have permission.
A variation: type cmd in the Run box, then in the Command Prompt type start \\SERVER\Share. That opens the folder in File Explorer from the command line.
Method 3: Command Line and PowerShell
For scripting or batch operations, you can use the net use command to connect to a shared folder and optionally map it to a drive letter.
- Open Command Prompt (Win+R, type
cmd, Enter) or PowerShell. - To just open the folder in Explorer, type
explorer \\SERVER\Shareand press Enter. - To map it as a drive, type
net use Z: \\SERVER\Share /persistent:yes. The/persistent:yesmakes the mapping survive a reboot.
PowerShell users can use New-PSDrive -Name Z -PSProvider FileSystem -Root \\SERVER\Share, but that mapping only lasts for the current session unless you add it to your profile.
Method 4: Via the Host’s “Share” Menu
If you’re on the host computer and want to open a folder you’ve shared (to verify permissions or copy files), you can do it without leaving File Explorer.
- Right-click the folder in File Explorer.
- Select Give access to > Specific people.
- The sharing wizard shows a list of users. At the bottom, click Share to apply changes.
- To open the folder’s network path, right-click the folder again, choose Properties, go to the Sharing tab, and click the Share button (not the path). The dialog shows the network path at the top—click Copy to get the link.
This is useful when you need to send the exact path to another user.
Common Problems and Fixes
Several issues can prevent shared folders from opening. Here are the most frequent and their solutions.
- “Windows cannot access \\SERVER\Share” – Usually a network discovery or permission problem. Check that both PCs are on the same network (same Wi-Fi SSID or same subnet). Enable network discovery in Control Panel > Network and Sharing Center > Advanced sharing settings.
- Credentials prompt loops – The username or password is wrong, or the account lacks permission. Ask the host to grant your specific user account access. If you’re using a Microsoft account, the login is your full email address and its password.
- Folder doesn’t appear under Network – This is normal if network discovery is off or the host’s firewall blocks SMB (port 445). On the host, allow “File and Printer Sharing” through Windows Defender Firewall.
- “You don’t have permission” – The share permissions or NTFS permissions are too restrictive. The host must add your user to the folder’s ACL (Access Control List).
- Slow or no response – Try using the IP address instead of the computer name. If that works, the DNS or NetBIOS name resolution is failing.
How to Choose the Right Method
Your choice depends on how often you access the folder and how you know its address.
- One-time access – Use the Run dialog or type the path in File Explorer’s address bar. It’s fast and doesn’t create permanent mappings.
- Frequent access – Map a network drive (right-click Network > Map network drive). It appears in “This PC” and you can set it to reconnect at sign-in.
- Scripting or automation – Use
net usein a batch file or PowerShell script. - When you’re the host – Use the Sharing tab in Properties to see and copy the exact UNC path.
If you don’t know the computer name, check the host’s IP with ipconfig (look for IPv4 Address). Then try \\192.168.x.x\ShareName.
Security and Permissions You Should Know
Opening a shared folder is only half the story; the other half is what you can do inside it. Permissions are set on the host and can be read-only or read/write. Read-only means you can open and copy files but not modify or delete them. Read/write allows full editing. The host can also set these per user or group.
For security, never share a folder with “Everyone” unless you’re on a trusted home network. Use specific user accounts and strong passwords. Also, be aware that SMB shares are a common target for ransomware—keep Windows updated and avoid exposing shares directly to the internet. If you need remote access, use a VPN rather than opening port 445.
Alternatives to Traditional SMB Sharing
If SMB sharing keeps failing or you need access from outside your local network, consider these alternatives:
- OneDrive or Google Drive – Sync the folder to the cloud and share a link. Works anywhere, but requires internet and storage limits.
- FTP or SFTP server – More control and works across platforms, but requires setting up a server service.
- Third-party LAN sync tools – Apps like Resilio Sync or Syncthing create peer-to-peer sync without a central server. They bypass Windows sharing entirely.
- Windows 11’s “Nearby Sharing” – Only for quick file transfers, not for persistent folder access.
Each has trade-offs in setup complexity, security, and convenience. For most home and small-office users, native SMB sharing is the best balance.
Frequently Asked Questions
Why can’t I see the shared folder even though I know the path?
This usually means the host PC is off, the folder name is misspelled, or your account lacks permission. First, ping the host’s IP or computer name to verify it’s reachable. Then double-check the exact share name (it may differ from the folder name). If the host is on a different subnet or behind a router that blocks SMB, you won’t see it.
How do I find the computer name of the host?
On the host, press Win+R, type cmd, then run hostname. The output is the computer name. Alternatively, in File Explorer, right-click “This PC” > Properties, and look under “Device name”.
Can I open a shared folder from a Mac or Linux machine?
Yes. On macOS, press Cmd+K and type smb://ComputerName/ShareName. On Linux, use a file manager like Nautilus and enter smb://ComputerName/ShareName in the location bar, or mount it with mount -t cifs in the terminal.
What does “mapping a network drive” do differently?
Mapping assigns a drive letter (e.g., Z:) to the shared folder. It makes the folder appear under “This PC” like a local drive, which is handy for programs that require a drive letter. It also lets you set it to reconnect automatically at sign-in, so you don’t have to type the path each time.
Is it safe to open a shared folder from a public Wi-Fi?
No. Public Wi-Fi is not secure, and SMB traffic is not encrypted by default. If you must access a shared folder remotely, use a VPN or an encrypted alternative like SFTP or a cloud sync service. Never enable “Everyone” permissions on a public network.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Windows 10 Wi-Fi Not Connecting: Step-by-Step
- Scaling Headless Chrome: A Practical Guide
- Fix Windows Upgrade Error 0x80090011
- Fix Microsoft Store Apps Not Updating
- v0 Alternatives: Which Fits Your Web App Build?9.26 yd³
- Fix Hard Disk Error 0x80071ac3