Windows

How to Enable File and Printer Sharing in Windows 11

Richard
Written by
Richard
Feb 12, 2022 Updated Apr 15, 2026 2 min read

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.

  1. Open your computer Settings by pressing the Windows key + I on your keyboard, or by clicking Start then Settings.
    windows 11 start settings
  2. Click on Network & internet.
    windows 11 network internet pane
  3. Click on Advanced network settings near the bottom of the list.
    windows 11 advanced network settings
  4. Select Advanced sharing settings.
    Advanced sharing settings menu in Windows 11 network configuration
  5. Click on Private or Public networks to see more options.
  6. Use the toggle switch to turn File and printer sharing to On or Off.
    Windows 11 toggle switch for enabling file and printer sharing

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:

💻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:

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

Related posts:

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?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Leave a Reply

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

Exit mobile version