Information Technology Reference
In-Depth Information
Solution
Using a Graphical User Interface
1.
Open the Network Connections applet.
2.
Double-click on the Local Area Connection icon.
3.
From the Advanced tab, click Settings. This will launch the Windows Firewall Control
Panel applet.
4.
From the Exceptions tab, place a check mark next to File and Printer Sharing.
5.
To define the scope of the exception, click on Edit, followed by Change Scope, and
select from one of the following three options:
￿ Any computer (including those on the Internet).
￿ My network (local subnet).
￿ Custom list. For this option, enter a single IP address using the syntax 192.168.1.151 ,
and/or enter a range of addresses using the network ID of the range followed by its
subnet mask, such as 192.168.1.1/255.255.255.0 . Separate multiple entries using
a comma.
6.
Click OK when you're finished.
Using a Command-Line Interface
The following command enables the file and printer sharing exception.
> netsh firewall set service type = fileandprint mode = ENABLE
Using Group Policy
Tables 3-17 and 3-18 show the settings that control the file and printer sharing exception
within the Windows Firewall in the domain and standard profiles respectively.
Table 3-17. Configure File and Printer Sharing Exception—Domain Profile
Computer Configuration\Administrative Templates\Network\
Network Connections\Windows Firewall\Domain Profile
Path
Policy name
Windows Firewall: Allow file and printer sharing exception
Enabled to allow file and printer sharing. Disabled to prevent it.
Value
Table 3-18. Configure File and Printer Sharing Exception—Standard Profile
Computer Configuration\Administrative Templates\Network\
Network Connections\Windows Firewall\Standard Profile
Path
Policy name
Windows Firewall: Allow file and printer sharing exception
Enabled to allow file and printer sharing. Disabled to prevent it.
Value
Search WWH ::




Custom Search