• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

How can I turn off File Sharing & Network Discovery for Public Networks quickly?

I was in a rush and accidentally clicked turn on file and printer sharing for all public networks on my server host.

What's the fastest way to undo this?
0
MJCS
Asked:
MJCS
1 Solution
 
elesh shahsystem adminCommented:
Use below mentioned command from elevated prompt

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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now