A complete practical guide to sharing files over a local network: enable discovery, share a folder, share a whole drive, configure permissions, connect from another PC, and fix common access errors.
๐ช Windows 10๐ช Windows 11๐ Local Network๐ Permissionsโฑ 8 min read
Overview
What Folder and Drive Sharing Means in Windows 10 and Windows 11
Folder sharing allows other devices on your local network to open a selected folder on your computer. Depending on the permissions you choose, other users can only view files, or they can also create, edit, rename, and delete them.
Drive sharing works in a similar way, but it exposes an entire disk or partition, such as D: or E:. It is useful on a trusted home or office network, but it should be configured more carefully because it can expose many more files than a single shared folder.
โน๏ธ
Best practice
For most users, sharing a specific folder is safer than sharing the whole drive. Share only what other computers actually need to access.
Option
Best For
Risk Level
Shared folder
Documents, photos, installers, project files, media libraries
Lower, because access is limited to one folder
Shared drive
Dedicated data drives, NAS-like storage, temporary migration between PCs
Higher, because many folders may become reachable
Mapped network drive
Quick access to a shared folder from another PC
Depends on the original share permissions
Preparation
Before You Start: Enable Network Discovery and File Sharing
Windows file sharing works best when both computers are on the same local network and the network profile is set to Private. On a Public network profile, Windows normally blocks discovery and sharing to protect you on Wi-Fi networks in cafรฉs, hotels, airports, and other untrusted places.
Set the network profile to Private
Open Settings.
Go to Network & Internet.
Open Wi-Fi or Ethernet, depending on your connection.
Select your active network connection.
Set Network profile type to Private network.
Turn on Network Discovery and File and Printer Sharing
Open Control Panel.
Go to Network and Internet โ Network and Sharing Center.
Click Change advanced sharing settings.
Under Private, turn on Network discovery.
Turn on File and printer sharing.
Save the changes.
โ ๏ธ
Important
Do not enable file sharing on a public or untrusted network. Use it only on networks you control, such as your home router or a trusted office LAN.
Method 1
How to Share a Folder in Windows 10 and Windows 11 Using File Explorer
This is the simplest method. It is suitable when you want to share one folder with another user account or with a small group of trusted users on the same network.
Open File Explorer.
Right-click the folder you want to share.
Select Properties.
Open the Sharing tab.
Click Share.
Choose a user account from the list, or type a user name and click Add.
Choose the permission level: Read or Read/Write.
Click Share, then copy or note the network path shown by Windows.
Permission Level
What Other Users Can Do
Recommended Use
Read
Open and copy files, but not change them
Photos, documents, installers, media folders
Read/Write
Create, edit, rename, and delete files
Shared work folders, temporary transfer folders
โ
Tip
If you only need to send files from one PC to another, create a separate folder such as C:\Shared or D:\Transfer and share only that folder.
Method 2
How to Use Advanced Sharing in Windows for More Control
Advanced Sharing gives you more precise control over the share name, maximum simultaneous users, and share-level permissions. It is often the better option when you are sharing folders between several Windows PCs.
Right-click the folder and choose Properties.
Open the Sharing tab.
Click Advanced Sharing.
Enable Share this folder.
Enter a clear Share name, such as Projects, Media, or Transfer.
Click Permissions.
Select a user or group and configure Read, Change, or Full Control.
Click OK to apply the settings.
Recommended Advanced Sharing settings
Scenario
Share Permission
Comment
Viewing files only
Read
Best for media folders, manuals, photos, and installers
Copying files both ways
Change
Allows users to add and edit files, but does not grant every possible right
Administrative maintenance
Full Control
Use only for trusted administrators
๐
Network path format
A shared folder is usually opened by path: \\ComputerName\ShareName. Example: \\Office-PC\Projects.
Drive Sharing
How to Share an Entire Drive in Windows 10 and Windows 11
You can share an entire drive, but it should be done only when necessary. A full drive share is convenient for a dedicated storage drive, but risky for a system drive because it may expose private folders, downloads, application data, backups, and other sensitive files.
Open File Explorer and go to This PC.
Right-click the drive you want to share and choose Properties.
Open the Sharing tab.
Click Advanced Sharing.
Enable Share this folder.
Enter a share name, for example Data or Storage. Avoid confusing names like C or System.
Click Permissions and assign only the access level you really need.
Click OK to save the configuration.
โ
Warning
Avoid sharing the Windows system drive C: unless you understand the security impact. A dedicated data partition is a much safer choice.
Better alternatives to sharing the whole drive
Create a folder such as D:\Shared and share only that folder.
Create separate folders for Read-only and Read/Write access.
Use a network-attached storage device or a dedicated file server for long-term shared storage.
Use cloud sync for files that must be available outside the local network.
Permissions
Sharing Permissions vs NTFS Permissions: What Is the Difference?
Windows uses two permission layers for shared folders on NTFS drives: sharing permissions and NTFS security permissions. The effective access is the most restrictive result of both layers.
Local and network access to the folder on the disk
Example
If a folder has Read/Write share permission but the same user has only Read permission on the Security tab, that user will still be limited to read-only access. Both permission layers must allow writing for editing to work.
โ
Recommended model
For home networks, keep sharing permissions simple and manage most restrictions through the Security tab. For example, allow the share, then give write access only to specific Windows user accounts.
Access
How to Access a Shared Folder from Another Windows Computer
After you share a folder or drive, another PC can open it using the computer name or IP address of the computer that hosts the share.
Open a share by computer name
On the second computer, press Win + R.
Type the network path in this format: \\ComputerName\ShareName.
Press Enter.
If Windows asks for credentials, enter the user name and password of an account that exists on the computer hosting the share.
Open a share by IP address
If the computer name does not resolve correctly, use the local IP address instead:
Example network path\\192.168.1.7\Shared
You can find the host computer name by opening Settings โ System โ About. You can find the IP address by running this command in Command Prompt:
Command Promptipconfig
๐
Credentials
When Windows asks for a user name, use the format ComputerName\UserName or MicrosoftAccount\email@example.com, depending on how the account is configured.
Network Drive
How to Map a Shared Folder as a Network Drive in Windows
Mapping a network drive gives a shared folder its own drive letter in File Explorer, such as Z:. This is useful for folders you access every day.
Open File Explorer.
Go to This PC.
Click Map network drive. In Windows 11, open the three-dot menu first if the button is hidden.
Choose a drive letter, for example Z:.
In the Folder field, enter the network path, for example \\Office-PC\Projects.
Enable Reconnect at sign-in if you want Windows to restore the connection automatically.
Click Finish.
You can also map a network drive from Command Prompt:
Command Promptnet use Z: \\Office-PC\Projects /persistent:yes
To remove the mapped drive later, use:
Command Promptnet use Z: /delete
Disable Sharing
How to Stop Sharing a Folder or Drive in Windows
If you no longer need network access, remove the share. This is especially important after temporary file transfers or when you change your network environment.
Right-click the shared folder or drive.
Open Properties.
Go to the Sharing tab.
Click Advanced Sharing.
Clear the checkbox Share this folder.
Click OK.
View all current shared folders
To check what your computer is currently sharing, press Win + R, type the following command, and press Enter:
Run commandfsmgmt.msc
In the Shared Folders console, open Shares. You will see shared folders, share names, and local paths.
Troubleshooting
Fix Windows 10 and Windows 11 File Sharing Problems
If another computer cannot see or open your shared folder, the cause is usually network profile settings, firewall rules, name resolution, credentials, or permissions.
Problem
Likely Cause
What to Try
Computer does not appear in Network
Network discovery is disabled or blocked
Set the network profile to Private and enable Network discovery
Windows asks for credentials repeatedly
Wrong saved password or account mismatch
Remove old entries in Credential Manager and reconnect
Access is denied
Share or NTFS permissions do not allow access
Check both the Sharing tab and the Security tab
Can open the folder but cannot save files
Read-only permissions
Grant Change or Read/Write permission to the correct user
Path works by IP address but not by name
Name resolution problem
Use \\IP-address\ShareName, restart the router, or check computer names
Check required services
Press Win + R, type services.msc, and make sure these services are not disabled:
Function Discovery Provider Host
Function Discovery Resource Publication
Server
Workstation
Check Windows Defender Firewall
Open Windows Security โ Firewall & network protection โ Allow an app through firewall. Make sure File and Printer Sharing is allowed for Private networks.
Clear saved network credentials
Open Control Panel.
Go to User Accounts โ Credential Manager.
Open Windows Credentials.
Remove old credentials for the remote computer.
Reconnect to the shared folder and enter the correct user name and password.
Security
Security Tips for Shared Folders and Drives in Windows
Windows sharing is convenient, but it should not be treated as a public file hosting system. It is designed mainly for trusted local networks.
Safe Practices
Use the Private network profile only on trusted networks.
Share only specific folders instead of entire drives.
Use password-protected sharing.
Create separate user accounts for network access.
Review shares regularly with fsmgmt.msc.
Avoid This
Do not share the system drive with broad write access.
Do not enable sharing on public Wi-Fi.
Do not give Full Control to Everyone.
Do not reuse weak local account passwords.
Do not leave temporary shares enabled forever.
๐
Password-protected sharing
Keep password-protected sharing enabled unless you have a specific reason to turn it off. It prevents anonymous access and makes permissions easier to control.
FAQ
FAQ: Sharing Folders and Drives in Windows 10 and Windows 11
Q
Can I share a folder between Windows 10 and Windows 11?
โผ
Yes. Windows 10 and Windows 11 use the same general SMB-based file sharing system. Make sure both computers are on the same local network, the network profile is Private, and file sharing is enabled.
Q
Why can I see the shared folder but not write to it?
โผ
The user account probably has read-only access. Check both Sharing permissions and Security permissions. Write access must be allowed in both places.
Q
Is it safe to share the whole C: drive?
โผ
It is usually not recommended. The system drive contains personal folders, application data, Windows files, browser data, and other sensitive information. Share a specific folder or a separate data drive instead.
Q
What is the difference between Everyone and specific users?
โผ
Everyone is a broad group. On a password-protected network it still depends on authentication, but it is less precise than assigning access to a specific user account. For better control, grant permissions to named users whenever possible.
Q
Why does the Network section not show my other computer?
โผ
Network discovery may be disabled, the network may be set to Public, required discovery services may be stopped, or the firewall may be blocking discovery. You can still try opening the share directly with \\ComputerName\ShareName or \\IP-address\ShareName.
Q
Do I need to disable the firewall for file sharing?
โผ
No. Do not disable the firewall completely. Instead, allow File and Printer Sharing for Private networks in Windows Defender Firewall.
Conclusion
Summary: The Best Way to Share Files on a Windows Network
For most home and small office networks, the safest approach is to share a dedicated folder, keep the network profile set to Private, use password-protected sharing, and grant write access only to the accounts that need it. Sharing an entire drive can be useful, but it should be reserved for trusted environments and dedicated data drives.
โ Quick Recap
Set your network to Private, enable Network discovery and File and printer sharing, then share a folder from Properties โ Sharing. For more control, use Advanced Sharing and configure permissions carefully. Access the share from another PC with \\ComputerName\ShareName or map it as a network drive for everyday use.