Skip to content
Follow
Windows

How to Enable File and Printer Sharing in Windows 11

Richard
Written by
Richard
Feb 12, 2022 Updated Oct 6, 2026 6 min read
How to Enable File and Printer Sharing in Windows 11
How to Enable File and Printer Sharing in Windows 11

This guide explains how to manage File and Printer sharing in Windows 11. It covers the Settings app method, the Command Prompt method, and what to check when sharing does not work.

Advertisement
⚡ Quick Answer

Open Settings Network & internet Advanced network settings Advanced sharing settings, then toggle File and printer sharing to On under your network profile. The setting takes effect immediately without a restart, and other devices on your network can then access your shared files and printers.

Advertisement

Why Enable File Printer Sharing?

Enabling file and printer sharing lets other computers on your network use your shared files and printers. You can share documents or a printer with family or colleagues without copying files around or plugging a printer into each PC. Several people can then work from the same files or print to the same printer.

Why: It simplifies collaboration by allowing multiple users to access a single shared resource.

What happens: Once enabled, your computer becomes visible to other devices on the same network, allowing them to open, copy, or print your shared items.

📝Good to KnowOne thing to know up front: turning this setting on does not share anything by itself.

It opens the door. You still choose which folders and printers to share, and who can use them. Until you do, other devices will find nothing to open.

Prerequisites for Network Sharing

Before you begin, check these things:

Advertisement
  • All devices must be connected to the same local area network (LAN). They must be on the same subnet to communicate.
  • You need an administrator account on the PC, especially for the Command Prompt method.
  • If you are in a domain environment, your network administrator may have restricted these settings via Group Policy. In that case the toggles may be greyed out or switch back after a restart. Ask your administrator rather than trying to work around it.

How to Change Sharing Settings in 🪟 Windows 11

You can change your file and printer sharing settings in Windows 11 through the main Settings app. The path is Settings Network & internet > Advanced network settings Advanced sharing settings This is where you control who can access your shared files and printers. The steps below match current Windows 11. The page looks slightly different on early builds of Windows 11, but the names are the same.

  1. Open Settings by pressing Windows key + I on your keyboard, or by clicking Start and then Settings. The Settings window opens with a list of categories on the left.
    windows 11 start settings
    windows 11 start settings
  2. Click Network & internet in the left pane. You will see your connection status and a list of network options.
    windows 11 network internet pane
    windows 11 network internet pane
  3. Scroll down and click Advanced network settings near the bottom of the list.
    windows 11 advanced network settings
    windows 11 advanced network settings
  4. Under More settings, select Advanced sharing settings. The page that opens lists your network profiles.
    Advanced sharing settings menu in Windows 11 network configuration
    windows 11 advanced sharing settings tile
  5. Click Private or Public networks to expand that section and see its options. Use the profile that matches the network you are on. If you are not sure, see the next section.
  6. Use the toggle switch to turn File and printer sharing to On or Off. The toggle changes straight away, and you do not need to click a Save button. Network discovery sits in the same section. Turn it on too if you want other PCs to see yours in the Network list.
    Windows 11 toggle switch for enabling file and printer sharing
    windows 11 file and printer sharing pane updated

To undo the change, return to the same page and set the toggle back to Off. A restart is normally not needed.

Understanding Network Profiles: Private vs. Public

Windows treats different networks differently, and the settings you change apply only to the profile you pick.

  • A Private network profile is intended for home or work where you trust the other devices.
  • A Public network profile is for coffee shops or airports. Windows automatically tightens security here, often disabling discovery to prevent unauthorized access.

If sharing does not work at home, check which profile your connection uses. If it is set to Public, open the properties page for your Wi-Fi or Ethernet connection in Settings Network & internet and change the network profile type to Private. Then go back and check the toggles for the Private section.

Advertisement

How to Use Command Prompt (Admin Required)

You can turn file and printer sharing on using the Command Prompt if you have administrator rights. This is a quick way to manage sharing when you have admin access, or when you need to do it on several PCs.

  1. Click Start and type cmd.
  2. Right-click Command Prompt and choose Run as administrator. Click Yes if User Account Control asks for permission. A window opens with "Administrator: Command Prompt" in the title bar.
  3. Type the command 'netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes' and press Enter. This turns sharing on for all networks. You should see a message saying the rules were updated.

This command works on the Windows Firewall rules. It does not change your network profile or the toggles in Settings. The rule group name is also translated on some language versions of Windows, so on a non-English system the command may report that no rules match. If so, use the Settings method instead.

To turn sharing On for all networks, type this command and press Enter:

💻Code
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes

To turn sharing Off for all networks, type this command and press Enter:

Advertisement
💻Code
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=No

Troubleshooting Persistent Sharing Issues

If you're having trouble with file and printer sharing, work through these checks in order.

  1. Check the Function Discovery Provider Host service. Press Windows key + R, type 'services.msc' in the Run dialog, and press Enter. Find Function Discovery Provider Host in the list and look at the Status column. If it is not running, right-click it and choose Start. Function Discovery Resource Publication is a related service that helps your PC show up in the Network list, so check it as well.
  2. Check Windows Firewall. Make sure Windows Firewall isn't blocking sharing traffic. In Windows Security, open Firewall & network protection and select Allow an app through firewall. Confirm that File and Printer Sharing is ticked for the profile you use. If you run a third-party firewall or security suite, check its rules too.
  3. Check the network profile. A connection set to Public blocks most sharing. See the profile section above.
  4. Consider SMB 1.0 only as a last resort. Very old devices, such as old NAS drives or printers, may need it. It is less secure, so enable it only if nothing else works and the device cannot be updated. It is a Windows feature you can turn on under Control Panel Programs Turn Windows features on or off, and it needs a restart. Turn it off again once you no longer need it.

Summary

⚠️WarningFile and printer sharing lets other devices on your network access your files or printers.

You can turn this feature on or off using Windows Settings or the Command Prompt. Remember to keep sharing off on public networks for safety. After you enable it, share the specific folders or printers you want, and check Microsoft's documentation for more details.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 Related Tutorials

How to Turn On or off File and Printer Sharing in Windows 11
Windows How to Turn On or off File and Printer Sharing in Windows 11
How to Map Network Shares as Drives in Windows 11
Windows How to Map Network Shares as Drives in Windows 11
How to Enable or Disable Network Discovery in Windows 11
Windows How to Enable or Disable Network Discovery in Windows 11
How to Access Command Prompt in Windows 11
Windows How to Access Command Prompt in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *