Windows

為什麼某些伺服器上存在 Print$ 共享以及如何禁用它

  • March 11, 2020

我正在嘗試清理所有 Windows Server 2012R2 伺服器上的伺服器文件共享。我大約一半的伺服器有列印 $ share even though they do not share any printers (only 2 of my servers legitimately share printers). Why does this share appear on some but not others and how do I go about disabling it without disabling file sharing as well? All the solutions I have found involve disabling File and Printer Sharing or disabling all the admin shares (C $ , D $ , ADMIN $ 等)-我都不想這樣做。

列印共享是文件和列印服務的基本功能。Windows 不會分離這些角色,因此您可以在所有文件伺服器上獲得 print$ 共享。如果您在伺服器上打開“電腦管理”而不是伺服器管理器,則有一個共享管理可能允許您刪除列印共享,但這對我來說聽起來是個壞主意。這會使您進入非標準且可能不受支持的配置。

舊文章我知道,但是在 windows 2016 上有這個,它不會通過安全掃描轉到 C:\Windows\system32\spool\drivers ,右鍵點擊它,選擇屬性,點擊共享選項卡,點擊高級共享.. . ,取消選中共享此文件夾。

引用自:https://serverfault.com/questions/842769