How to Share Files Between Two Windows PCs
In this article
You can share files between two Windows PCs in a few minutes using the built-in network sharing in Windows 10 and Windows 11: connect both machines to the same network, turn on network discovery and file sharing on the PC that holds the files, share a folder, then open that folder from the other PC through File Explorer. No extra software or account is required, and the transfer runs over your local network rather than through the internet. The steps below use the official Windows sharing features; exact labels can differ slightly between Windows 10 and Windows 11 and between regional versions, so read the wording on screen rather than matching it word for word.
What You'll Need
- Two PCs running Windows 10 or Windows 11, both switched on and awake.
- Both connected to the same network — the same Wi-Fi router or the same wired switch. Sharing does not work across two different networks.
- An account on the receiving PC (or a shared account) with permission to access the folder. Windows asks for a username and password when you connect.
- Network profile set to Private on both machines. Windows blocks discovery and sharing on Public networks by design.
- Optional: a wired connection on at least one PC, which is faster and more reliable for large transfers.
Step-by-Step
- Check the network profile. On each PC, open Settings > Network & internet and look at the network you are connected to. If it says Public, click it and change it to Private. On Windows 10 the same option sits under Settings > Network & internet > Status > Properties. Private tells Windows the network is trusted, which is what allows discovery.
- Turn on discovery and sharing on the PC that holds the files. Open Control Panel > Network and Sharing Center > Change advanced sharing settings. Under the Private section, turn on network discovery and turn on file and printer sharing, then save changes. In Windows 11 you can also reach the same screen from Settings > Network & internet > Advanced network settings.
- Pick the folder to share. Right-click the folder in File Explorer and choose Properties > Sharing tab > Share. Add the user account you will connect with (or choose Everyone for a home network you trust) and set the permission level to Read if the other person only needs to copy files, or Read/Write if they need to add or change files. Click Share and note the network path shown, which looks like \\COMPUTERNAME\FolderName.
- Confirm the share exists. Still in the folder's Properties, open the Sharing tab and check the folder appears in the list of shared items. If it does not, repeat step 3 — the Share button must be clicked, not just the permissions set.
- Find the PC name. On the sharing PC, open Settings > System > About and note the device name. You will use it to reach the machine from the other PC.
- Connect from the second PC. Press Windows key + E to open File Explorer, click in the address bar, and type the path using the device name, for example \\DESKTOP-ABC123\Shared. Press Enter. If you do not know the name, open File Explorer > Network and double-click the other PC's icon instead.
- Sign in when prompted. Enter the username and password of an account that exists on the sharing PC. If the sharing PC uses a Microsoft account, use that email address and password. Tick the option to remember credentials so you are not asked again.
- Copy the files. Once the folder opens, drag files to a local folder on your own PC, or copy and paste them. Copying is safer than opening files directly over the network, especially for large documents or media.
Common Mistakes
- Leaving the network profile on Public. This is the single most common reason the other PC never appears. Discovery is switched off on Public networks.
- Sharing the folder but not granting permission. The Share dialog and the advanced permissions are separate. If the user is not in the share list, they will be denied even though the folder is shared.
- Using the wrong credentials. The username and password must belong to an account on the sharing PC, not the PC you are sitting at. A local account and a Microsoft account are not interchangeable.
- Assuming it works across the internet. This method is for devices on the same local network. For remote transfers, use cloud storage or a direct messaging app instead.
- Forgetting the firewall. Third-party security suites sometimes block file sharing even when Windows settings are correct.
Tips
- Use a wired connection for large transfers — a single big video file over Wi-Fi can stall or drop.
- Create a dedicated local account on the sharing PC for file access rather than sharing your main account password.
- Map the shared folder as a network drive (right-click This PC > Map network drive) so it appears with a drive letter every time.
- Keep folder names short and avoid spaces or special characters in share names; they make typed paths harder to get right.
- When you are finished with a temporary share, go back to the folder's Sharing tab and click Stop Sharing. Leaving shares open on a laptop you carry to public Wi-Fi is unnecessary exposure.
Troubleshooting
If the other PC does not appear in File Explorer > Network, first make sure both machines are on the same network and the profile is Private on both. Restart both PCs — this clears stuck discovery services more often than anything else. Then try typing the path directly (\\DEVICENAME\ShareName) instead of browsing, since browsing relies on discovery while a direct path does not.
If you get an access denied message, recheck the share permissions and the account you are signing in with. Try the sharing PC's own username and password, and if the account has no password set, Windows may refuse network sign-in — set a password on that account and try again. If you are prompted for credentials repeatedly, open Credential Manager in Control Panel and remove any saved entry for that PC, then reconnect.
If the folder opens but files will not copy, check the permission level is Read/Write, confirm there is free space on the destination, and close any file that is open on the other machine. If the connection drops mid-transfer, switch to a wired link or move both PCs closer to the router. As a last resort, temporarily disable the third-party firewall on both machines, test, and re-enable it — do not leave it off.
Frequently Asked Questions
Do both PCs need the same Windows account?
No. They can use different accounts. You only need credentials for an account that exists on the PC holding the files.
Can I share files between Windows 10 and Windows 11?
Yes. The sharing features are compatible in both directions; only the menu locations differ slightly.
Does this work over the internet?
No. This method is for devices on the same local network. For remote transfers, use cloud storage or send the files through a messaging or email service.
Why does Windows keep asking for a password?
Usually because the saved credential is wrong or the account on the sharing PC has no password. Clear the saved entry in Credential Manager and sign in again.
Is it safe to share a folder on my home network?
Yes, provided the network profile is Private and you grant access only to accounts you trust. Stop sharing when you no longer need it, especially on a laptop.
How fast is a network transfer?
Speed depends on your hardware and connection. Wired gigabit links are much faster than most Wi-Fi links, so use a cable for large files.