From 233634d47594cc27740ae8c3ed2cbd59607d96fb Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 11 Mar 2026 14:57:07 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=81=9C=E7=94=A8=20SMB?= =?UTF-8?q?=20=E6=9C=8D=E5=8B=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- %E5%81%9C%E7%94%A8-SMB-%E6%9C%8D%E5%8B%99.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 %E5%81%9C%E7%94%A8-SMB-%E6%9C%8D%E5%8B%99.md diff --git a/%E5%81%9C%E7%94%A8-SMB-%E6%9C%8D%E5%8B%99.md b/%E5%81%9C%E7%94%A8-SMB-%E6%9C%8D%E5%8B%99.md new file mode 100644 index 0000000..1dc8a68 --- /dev/null +++ b/%E5%81%9C%E7%94%A8-SMB-%E6%9C%8D%E5%8B%99.md @@ -0,0 +1,17 @@ +# 停用 SMB1 功能 + +```powershell +Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol +``` + +# 停用開機啟動 + +```powershell +Set-Service -Name LanmanServer -StartupType Disabled +``` + +# 立即停止服務 + +```powershell +Stop-Service -Name LanmanServer -Force +``` \ No newline at end of file