Solved

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

Posted on 2014-09-26
1
144 Views
Last Modified: 2014-10-09
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
Comment
Question by:MJCS
1 Comment
 
LVL 1

Accepted Solution

by:
elesh shah earned 500 total points
ID: 40347249
Use below mentioned command from elevated prompt

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now