Learning how to share files and printers on a network makes it easier to use two or more computers in your home or office. You can access shared folders, transfer files, and print documents without connecting a separate printer to every computer.
Windows 10 and Windows 11 include built-in network sharing features. You can use these features to share folders and printers between computers connected to the same local network.
This guide explains how to configure file and printer sharing in Windows 10 and Windows 11. It also covers Windows XP sharing for historical reference and explains how to fix common network printer problems.
Important: Windows XP is no longer supported. Windows 10 reached its end of support on October 14, 2025. Use supported Windows versions whenever possible. Do not connect an unsupported computer to an untrusted network for file or printer sharing.
Table of Contents
- Requirements for Network Sharing
- How to Share Files and Printers in Windows XP
- How to Enable File and Printer Sharing in Windows 10 and 11
- How to Share a Folder on a Network
- How to Access a Shared Folder from Another Computer
- How to Share a Printer on a Network
- How to Connect to a Shared Printer from Another Computer
- Can Two Computers Share the Same Printer?
- How to Add a Network Printer in Windows 11
- Fix File and Printer Sharing Problems
- Understanding RpcAuthnLevelPrivacyEnabled
- Should File and Printer Sharing Be On or Off?
- Related Articles
- Frequently Asked Questions
- Conclusion
Requirements for Network Sharing
Before sharing files or a printer, check the following requirements:
- Connect both computers to the same local network.
- Use a private network profile on computers running Windows 10 or Windows 11.
- Enable Network Discovery and File and Printer Sharing.
- Make sure the computers are switched on and connected to the network.
- Allow file and printer sharing through Windows Firewall on trusted private networks.
- Use suitable folder and printer permissions.
A wired Ethernet connection and a Wi-Fi connection can work together on the same local network. Both computers do not need to use the same type of network connection.
If your computer cannot connect to the network, first follow our guide to fix Windows 11 Wi-Fi connection problems.
How to Share Files and Printers in Windows XP
The following instructions are for older Windows XP computers. Use them only when maintaining a legacy system on a controlled local network. Windows XP no longer receives security updates, and its older file-sharing protocols are unsafe for modern networks.
Step 1: Open Network Connections
- Click Start.
- Open Control Panel.
- Click Network Connections.
- Right-click your active network connection.
- Select Properties.
Step 2: Enable File and Printer Sharing
- Open the General tab.
- Find File and Printer Sharing for Microsoft Networks.
- Make sure the option is selected.
- Click OK.
Step 3: Share a Folder
- Open Windows Explorer.
- Find the folder you want to share.
- Right-click the folder and select Sharing and Security.
- Select the option to share the folder on the network.
- Enter a share name.
- Set the required permissions.
- Click Apply and then OK.
Do not enable write access for everyone unless it is necessary. Shared folders should have only the permissions required by the users who need access.
Step 4: Share a Printer
- Click Start and open Printers and Faxes.
- Right-click the printer you want to share.
- Select Properties.
- Open the Sharing tab.
- Select Share this printer.
- Enter a printer share name.
- Click Apply and OK.
Step 5: Access the Shared Printer
On another computer, open Windows Explorer and enter the following address in the address bar:
\\ComputerName
Replace ComputerName with the name of the computer sharing the printer. Open the shared printer and follow the installation instructions if the system supports the required driver.
How to Enable File and Printer Sharing in Windows 10 and 11
Windows 10 and Windows 11 provide built-in settings for network discovery and file and printer sharing. You should enable these settings only on a trusted private network.
Step 1: Set the Network Profile to Private
Windows uses network profiles to control how your computer is visible to other devices.
Windows 11:
- Open Settings.
- Select Network & internet.
- Open Wi-Fi or Ethernet, depending on your connection.
- Select your connected network.
- Under Network profile type, select Private network.
Windows 10:
- Open Settings.
- Select Network & Internet.
- Choose Wi-Fi or Ethernet.
- Select your connected network.
- Set the network profile to Private.
Do not set a public Wi-Fi network, such as a hotel or airport connection, to Private just to enable sharing.
Step 2: Turn On Network Discovery
Network Discovery allows your computer to find other devices on the local network.
Windows 11:
- Open Settings.
- Go to Network & internet.
- Select Advanced network settings.
- Open Advanced sharing settings.
- Expand Private networks.
- Turn on Network discovery.
Windows 10:
- Open Control Panel.
- Select Network and Sharing Center.
- Click Change advanced sharing settings.
- Expand the Private network profile.
- Select Turn on network discovery.
Step 3: Turn On File and Printer Sharing
In the same Advanced sharing settings area, find File and printer sharing.
- Expand the Private network settings.
- Select Turn on file and printer sharing.
- Save the changes if Windows displays a Save changes option.
These settings allow other devices on your private network to discover your computer and access the folders or printers you choose to share.
How to Share a Folder on a Network
After enabling network discovery and file sharing, you can share a folder with another computer.
Method 1: Use the Folder Properties Window
- Open File Explorer.
- Find the folder you want to share.
- Right-click the folder and select Properties.
- Open the Sharing tab.
- Click Advanced Sharing.
- Select Share this folder.
- Enter a suitable share name.
- Click Permissions to review access rights.
- Click Apply and OK.
Windows also applies file-system permissions. The permissions configured on the Sharing tab do not replace the Security tab permissions. A user must have suitable permissions at both levels to access shared files.
Method 2: Use the Share Option
- Open File Explorer.
- Right-click the folder.
- Select Give access to or Share, depending on your Windows version.
- Choose the user or account that should receive access.
- Follow the on-screen instructions.
The available options can differ between Windows versions and account configurations.
How to Access a Shared Folder from Another Computer
Once you share a folder, another computer on the same network can access it.
Method 1: Use the Computer Name
- Open File Explorer on the second computer.
- Click the address bar.
- Enter the following network address:
\\ComputerName
Replace ComputerName with the name of the computer that contains the shared folder.
- Press Enter.
- Open the shared folder.
- Enter the required network credentials if Windows asks for them.
Method 2: Use the Computer's IP Address
If the computer name does not work, try its local IP address.
\\192.168.1.10
Replace the example address with the actual local IP address of the computer sharing the folder.
Map a Shared Folder as a Network Drive
You can map a shared folder so that it appears as a drive in File Explorer.
- Open File Explorer.
- Select This PC.
- Click the three-dot menu in Windows 11, or open the Computer tab in Windows 10.
- Select Map network drive.
- Choose a drive letter.
- Enter the shared folder address, for example:
\\ComputerName\SharedFolder
- Select Reconnect at sign-in if you want Windows to reconnect automatically.
- Click Finish.
How to Share a Printer on a Network
You can share a USB printer connected to one computer with other computers on the same local network. The computer connected directly to the printer acts as the host.
Step 1: Open Printer Settings
In Windows 11:
- Open Settings.
- Select Bluetooth & devices.
- Click Printers & scanners.
- Select the printer you want to share.
In Windows 10, open Settings > Devices > Printers & scanners.
Step 2: Open Printer Properties
- Open the printer's settings.
- Select Printer properties. If necessary, open the printer management options first.
- Open the Sharing tab.
- Select Share this printer.
- Enter a short printer share name.
- Click Apply and then OK.
Do not confuse Printer properties with Printing preferences. You need the Sharing tab in Printer properties.
Step 3: Keep the Host Computer Available
The host computer must remain switched on and connected to the network while other computers use its shared printer. If the host computer is turned off, the shared printer will not be available.
How to Connect to a Shared Printer from Another Computer
After sharing the printer on the host computer, connect to it from another Windows computer.
Method 1: Add the Printer Through Windows Settings
- Open Settings.
- Go to Bluetooth & devices > Printers & scanners.
- Click Add device.
- Wait for Windows to search for available printers.
- If the shared printer appears, select it and follow the instructions.
Method 2: Connect Using the Shared Printer Address
- Press Windows + R.
- Enter the host computer name using this format:
\\ComputerName
- Press Enter.
- Find the shared printer.
- Double-click the printer to connect.
- Allow Windows to install the required driver if prompted.
You can also try entering the printer's full network path:
\\ComputerName\PrinterShareName
Replace both names with the actual computer name and printer share name.
Can Two Computers Share the Same Printer?
Yes. Two or more computers can use the same printer. There are two common methods.
Method 1: Share the Printer Through a Host Computer
Connect the printer to one computer using USB. Enable printer sharing on that computer. Other computers can then connect to the shared printer through the local network.
Limitation: The host computer must remain switched on. If it shuts down or disconnects from the network, other computers cannot print through it.
Method 2: Connect the Printer Directly to the Network
If your printer supports Wi-Fi or Ethernet, connect it directly to your router. Then add the printer on each computer using Windows printer settings.
This method does not require a separate host computer to remain switched on.
Can You Connect One USB Printer to Two Computers?
A standard USB printer normally connects directly to one computer at a time. To share it with two computers, you can use Windows printer sharing or a compatible USB printer switch.
A USB printer switch lets you select which computer has access to the printer. It does not provide the same automatic network access as a network-connected printer.
How to Add a Network Printer in Windows 11
If your printer is connected directly to your router or local network, you can add it without sharing it through another computer.
- Connect the printer to the network using Wi-Fi or Ethernet.
- Make sure the computer is connected to the same local network.
- Open Settings.
- Select Bluetooth & devices.
- Open Printers & scanners.
- Click Add device.
- Select the printer when Windows finds it.
- Follow the installation instructions.
If Windows cannot find the printer, select the option to add it manually. Depending on the printer and network configuration, you may be able to add it using its hostname, IP address, or shared printer path.
Fix File and Printer Sharing Problems
Network sharing does not always work immediately. The following checks can help you identify common problems.
1. Check the Network Connection
Make sure both computers are connected to the same local network. Check that the router is working and that neither computer is using a guest network that isolates connected devices.
2. Check Network Discovery
Open Advanced sharing settings and confirm that Network Discovery is enabled for the Private network profile.
3. Check File and Printer Sharing
Confirm that File and Printer Sharing is enabled on the computer that shares the folder or printer.
4. Check Windows Firewall
Windows Firewall can block network sharing when its rules are disabled or incorrectly configured.
- Open Windows Security.
- Select Firewall & network protection.
- Open Allow an app through firewall.
- Check that File and Printer Sharing is allowed on trusted private networks.
Do not turn off Windows Firewall as a permanent solution. Avoid enabling sharing rules on public networks.
5. Check the Computer Name
Open Settings and check the device name of the computer hosting the shared folder or printer. Use that exact name in the network path.
6. Check Folder and Printer Permissions
Confirm that the account trying to access the shared resource has the required permissions. For folders, check both Sharing permissions and Security permissions. For printers, check the printer's Security settings.
7. Check Network Credentials
Windows may ask for a username and password when you connect to another computer. Enter credentials for an account on the host computer that has permission to access the shared resource.
If you recently changed the password, remove outdated saved credentials from Windows Credential Manager and try again with the correct account details.
8. Restart the Computers and Router
Restart both computers and the router if the network connection or shared resource is not responding. Then test the connection again.
9. Check the Printer Driver
A printer may appear on the network but fail to install because Windows cannot find a compatible driver. Download the correct driver for your printer model and Windows version from the printer manufacturer's official website.
10. Check the Print Spooler Service
The Print Spooler manages print jobs in Windows. If printing stops working, check that the service is running.
- Press Windows + R.
- Type services.msc and press Enter.
- Find Print Spooler.
- Check its status.
- If it is stopped, right-click it and select Start.
- If it is already running but the printer is stuck, try restarting the service.
Restarting the Print Spooler can interrupt pending print jobs.
11. Check the RPC Printer Connection Error
If Windows displays an error such as Windows cannot connect to the printer or an RPC-related message, check the following:
- Make sure the host computer is switched on.
- Confirm that the printer is still shared.
- Check that both computers can communicate over the network.
- Install the correct printer driver.
- Check Windows updates and printer compatibility.
- Review the Print Spooler service and firewall settings.
Do not immediately change Windows registry security settings to solve an RPC error. First identify the exact error and check whether the problem is caused by a driver, permissions, firewall, or Windows update.
Understanding RpcAuthnLevelPrivacyEnabled
RpcAuthnLevelPrivacyEnabled is a Windows registry setting associated with RPC privacy enforcement for remote printer connections. It became relevant to printer-sharing problems after Microsoft strengthened Windows print-related security.
Some older troubleshooting guides recommend changing this registry value to make a shared printer work. However, setting it to 0 weakens the RPC privacy protection. It should not be treated as a normal or permanent printer-sharing fix.
Before changing this setting:
- Check the exact printer connection error.
- Install current Windows updates.
- Install a compatible printer driver.
- Check printer-sharing permissions and network configuration.
- Follow current Microsoft guidance for your Windows version and environment.
Do not copy registry changes from old guides without understanding their security impact. If an organization manages your computers, ask its IT administrator before changing printer-related registry settings.
Should File and Printer Sharing Be On or Off?
File and Printer Sharing should be enabled only when you need to share folders or printers with trusted devices on your local network.
Turn it on when:
- You need to access shared folders from another trusted computer.
- You want multiple computers to use a shared printer.
- You manage a trusted home or office network.
Turn it off when:
- You use public Wi-Fi in hotels, airports, or cafes.
- You do not need to share files or printers.
- You are connected to an untrusted network.
For better security, use a Private network profile only on networks you trust. Share only the folders and printers that other users need. Avoid giving everyone full access to your files.
Related Articles
- Windows 11 Wi-Fi Not Working: 15 Ways to Fix It
- How to Share Internet Between Two PCs Using Bluetooth
- How to Check System Information in Windows
Frequently Asked Questions
1. How do I allow file and printer sharing?
Set your network profile to Private, open Advanced sharing settings, enable Network Discovery, and turn on File and Printer Sharing. Share the required folder or printer and check its permissions.
2. How can I share my printer with others?
Connect the printer to a computer or network. If it is connected to a computer through USB, open Printer properties, select the Sharing tab, and enable Share this printer. Other computers can then connect using the shared printer name.
3. Should file and printer sharing be on or off?
Keep it on only when you need to share resources with trusted devices on a private network. Turn it off when using public or untrusted networks.
4. Can two computers share the same printer?
Yes. You can share a USB printer through a host computer or connect a network-capable printer directly to your router. A network-connected printer is usually more convenient because it does not depend on another computer remaining switched on.
5. How do I connect a printer to another computer through a network?
Enable printer sharing on the host computer. On the second computer, open Settings, select Printers & scanners, and add the printer. You can also connect using the shared printer address, such as \\ComputerName\PrinterShareName.
6. Why can't Windows 11 connect to a shared printer?
Common causes include an offline host computer, incorrect sharing settings, firewall restrictions, missing drivers, insufficient permissions, or an RPC-related problem. Check these settings before changing registry values.
7. How can I connect one USB printer to two computers?
You can enable Windows printer sharing on the computer connected to the printer. Alternatively, use a compatible USB printer switch to select which computer controls the printer.
8. Do both computers need to use the same Wi-Fi network?
Both computers must be able to communicate on the same local network. One computer can use Ethernet while the other uses Wi-Fi, provided the router allows communication between them.
Conclusion
Windows 10 and Windows 11 make it possible to share folders and printers between computers on a local network. Enable Network Discovery and File and Printer Sharing on a trusted private network, then configure the correct folder or printer permissions.
If a shared printer does not work, check the network connection, host computer, firewall, drivers, permissions, and Print Spooler service. Avoid weakening Windows security settings as a first troubleshooting step.
Use network sharing only with devices and users you trust.
