Windows 10: Turn On or Off File and Printer Sharing in Windows 10  

Page 4 of 4 FirstFirst ... 234

  1. Posts : 31,328
    64-bit Windows 10 Pro build 18219
    Thread Starter
       4 Weeks Ago #30

    Odd. That command should be setting the "File and Printer Sharing" rule in Windows Defender Firewall "Allowed apps" like below based on the specified network profile in the command.

    Name:  Windows_Firewall_allowed_apps.jpg
Views: 24
Size:  61.1 KB
      My ComputersSystem Spec

  2. Posts : 4
    Windows 10, Server 2016
       4 Weeks Ago #31

    Ok, I found the correct command:

    Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True -Profile Any
      My ComputerSystem Spec

  3. Posts : 31,328
    64-bit Windows 10 Pro build 18219
    Thread Starter
       4 Weeks Ago #32

    Hmm, it should use "-Profile Any" by default when it isn't specified in the command.

    I've updated the tutorial to include that in the command to make it more specific.
      My ComputersSystem Spec

Page 4 of 4 FirstFirst ... 234

Tutorial Categories

Turn On or Off File and Printer Sharing in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone

Related Threads
Hotspot 2.0, also known as HS2 and Wi-Fi Certified Passpoint, is an approach to public access Wi-Fi by the Wi-Fi Alliance. Hotspot 2.0 is a standard for seamless authentication to hotspots. Hotspot 2.0 offers an encrypted connection between the...
Starting in Windows 10 Insider Preview build 10565, Microsoft is introducing a new mode that makes your default printer the last printer you used most recently at your current location. This change helps ensure the best printer is preselected in...
I have a Hyper-V virtual instance of Windows XP running under Windows 10. The network share from the Windows 10 side is failing to be usable under the XP instance due to a "you lack permission to access". I have a few other XP machines on the...
Hello, I am trying to make all of my machines to talk to each other (On my home network) as well as share a printer on one machine (wired via USB). I am running Windows 10 Pro on the machine with the printer. The other machines are running...
I'm using windows 10 prof 32 bit and joining a domain. I'm trying to share printer and folders but everytime people trying to connect it, they need to enter user and password to access it. I know the way to fix it is by turning off the password...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 09:41.
Find Us