啟用或禁用檔案和印表機共用例外

來源:互聯網
上載者:User
啟用或禁用檔案和印表機共用例外
  1. 開啟“Windows 防火牆”。
  2. 單擊“例外”選項卡。

    要啟用檔案和印表機共用例外,請在“程式和服務”中,選擇“檔案和印表機共用”複選框,然後單擊“確定”。

    要禁用檔案和印表機共用例外,請在“程式和服務”中,清除“檔案和印表機共用”複選框,然後單擊“確定”。

注意

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure.
  • To start Windows Firewall, click Start, point to Control Panel, and then click Windows Firewall.
  • You can also use the netsh command with the firewall context to perform this procedure and configure other Windows Firewall settings.
  • You can also use Group Policy settings to perform this procedure and configure other Windows Firewall settings.
  • You can configure Windows Firewall settings in the standard profile or the domain profile. The domain profile is used when a computer is connected to a network in which the computer's domain account resides. The standard profile is used when a computer is connected to a network in which the computer's domain account does not reside, such as a public network or the Internet. Make sure Windows Firewall is using the correct profile when you perform this procedure.
  • If a Windows Firewall setting appears dimmed in the graphical user interface, and on the General tab, you see For your security, some settings are controlled by Group Policy, the setting might be managed by Group Policy. If all Windows Firewall settings appear dimmed, and on the General tab, you see You must be a computer administrator to change these settings, you do not have administrative rights to configure Windows Firewall.
  • On Windows Server 2003, Windows Firewall is turned off by default and the Windows Firewall/Internet Connection Sharing service is disabled by default. You might have to start the Windows Firewall/Internet Connection Sharing service if you try to perform this procedure and you have never started Windows Firewall.
  • Windows Firewall is not included in the original release of the Windows Server 2003 operating systems.
  • 檔案和印表機共用例外允許非請求傳入通訊通過 TCP 通訊埠 139 和 445 以及 UDP 連接埠 137 和 138。
  • 如果啟用檔案和印表機共用例外,也就允許傳入 網際網路控制訊息通訊協定 (ICMP) (ICMP) 響應通訊,這會使電腦能夠 Ping 您的電腦。要阻止傳入 ICMP 響應通訊,必須編輯檔案和印表機例外,以禁用 TCP 通訊埠 445。
  • 編輯或禁用檔案和印表機共用例外可阻止其他電腦訪問您的共用資料夾、檔案和印表機。務必測試這些更改對檔案和印表機共用功能可能造成的影響。
  • 應該為啟用的任何例外配置範圍選項。
  • 啟用檔案夾和印表機例外將允許其他電腦使用 ping 命令訪問您的電腦。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.