How to Enable File and Printer Sharing in Windows 11
This guide explains how to manage File and Printer sharing in Windows 11.
Why: You need this feature if you want to let other computers on your home or office network access your files or use your printer.
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.
File and printer sharing is a helpful tool, but it is important to understand how it works:
- File sharing: Lets others view or change files and folders you have shared.
- Printer sharing: Lets others send documents to a printer connected to your computer.
Windows treats different networks differently. For example, you might want to share files on your home network but keep them hidden while using public Wi-Fi at a coffee shop. You can manage these settings for a Private or Public network profile separately.
How to change sharing settings in Windows 11
You can manage this feature through the main Windows Settings menu.
- Open your computer Settings by pressing the Windows key + I on your keyboard, or by clicking Start then Settings.

- Click on Network & internet.

- Click on Advanced network settings near the bottom of the list.

- Select Advanced sharing settings.

- Click on Private or Public networks to see more options.
- Use the toggle switch to turn File and printer sharing to On or Off.

By default, Windows keeps this feature Off for public networks to keep your computer safe. You can now close the Settings app.
How to use Command Prompt
You can also use the Command Prompt as administrator if you prefer to use text commands. Note: This requires admin privileges.
To turn sharing On for all networks, type this command and press Enter:
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=YesTo turn sharing Off for all networks, type this command and press Enter:
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=NoRelated posts:
- How to enable Network discovery and sharing in Windows 11
- How to find other Windows computers on a network in Windows 11
- How to map a network drive in Windows 11
- How to turn on Firewall in Windows 11 How to change network profiles in Windows 11
- How to turn on or off network discovery in Windows 11
Summary
Enabling File and Printer sharing allows other devices on your network to access your files or printers. You can easily toggle this feature on or off through your Windows Settings or by using the Command Prompt. Always keep sharing turned off on public networks to protect your information.
Was this guide helpful?
Leave a Reply Cancel reply