Server Service File And Printer Sharing Ports Blocked



Server Service File And Printer Sharing Ports Blocked

Jan 22, 2015 Opening Windows 2012 File Sharing Ports Overview. By default, the ports for file sharing are blocked on Windows Server 2012. Specifically, these ports are blocked: UDP 138, File and Printer Sharing (NB-Datagram-In) UDP 137, File and Printer Sharing (NB-Name-In) TCP 139, File and Printer Sharing (NB-Session-In) TCP 445, File and Printer Sharing. 4 Select (dot) Turn on file and printer sharing or Turn off file and printer sharing for what you want to do, and click/tap on Save changes. (see screenshots below) (see screenshots below) 5 When finished, you can close Network and Sharing Center if you like. Blocking File and Printer Sharing will break Active Directory Domain Services. If you review the Active Directory and Active Directory Domain Services Port Requirements you'll notice that following ports.

Allows inbound file and printer sharing. To do this Windows Firewall opens UDP ports 137 and 138 and TCP ports 139 and 445.If you enable this policy setting Windows Firewall opens these ports so that this computer can receive print jobs and requests for access to shared files. You must specify the IP addresses or subnets from which these incoming messages are allowed. In the Windows Firewall component of Control Panel the 'File and Printer Sharing' check box is selected and administrators cannot clear it.If you disable this policy setting Windows Firewall blocks these ports which prevents this computer from sharing files and printers. If an administrator attempts to open any of these ports by adding them to a local port exceptions list Windows Firewall does not open the port. In the Windows Firewall component of Control Panel the 'File and Printer Sharing' check box is cleared and administrators cannot select it.If you do not configure this policy setting Windows Firewall does not open these ports. Therefore the computer cannot share files or printers unless an administrator uses other policy settings to open the required ports. In the Windows Firewall component of Control Panel the 'File and Printer Sharing' check box is cleared. Administrators can change this check box.Note: If any policy setting opens TCP port 445 Windows Firewall allows inbound ICMP echo requests (the message sent by the Ping utility) even if the 'Windows Firewall: Allow ICMP exceptions' policy setting would block them. Policy settings that can open TCP port 445 include 'Windows Firewall: Allow inbound file and printer sharing exception' 'Windows Firewall: Allow inbound remote administration exception' and 'Windows Firewall: Define inbound port exceptions.'

Server service file and printer sharing ports blocked account

Policy path:

NetworkNetwork ConnectionsWindows FirewallStandard Profile

Scope:

Windows File Sharing Ports

Turn

Supported on:

Server service file and printer sharing ports blocked users

Registry settings:

HKLMSOFTWAREPoliciesMicrosoftWindowsFirewallStandardProfileServicesFileAndPrint!Enabled; HKLMSOFTWAREPoliciesMicrosoftWindowsFirewallStandardProfileServicesFileAndPrint!RemoteAddresses

File And Print Sharing Ports

Filename: