From 947c1078c2955243714b5c4731409aa47ab13a41 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 18 Apr 2024 02:17:07 -0700 Subject: [PATCH] Add DisableSMB1.ps1 Signed-off-by: Tommy --- Scripts/DisableSMB1.ps1 | 1 + Scripts/README.md | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Scripts/DisableSMB1.ps1 diff --git a/Scripts/DisableSMB1.ps1 b/Scripts/DisableSMB1.ps1 new file mode 100644 index 0000000..facee54 --- /dev/null +++ b/Scripts/DisableSMB1.ps1 @@ -0,0 +1 @@ +Set-SmbServerConfiguration -EnableSMB1Protocol $false \ No newline at end of file diff --git a/Scripts/README.md b/Scripts/README.md index c4b3d49..ad75510 100644 --- a/Scripts/README.md +++ b/Scripts/README.md @@ -1,4 +1,8 @@ # Scripts - Put these in your NETLOGON directory -- In group policy objects, select the object you want to edit -> Computer Configuration -> Windows Setings -> Scripts -> Startup -> PowerShell Script, and add the scripts you want to use. Personally, I use all of these scripts in my Default Domain Policy object. \ No newline at end of file +- In group policy objects, select the object you want to edit -> Computer Configuration -> Windows Setings -> Scripts -> Startup -> PowerShell Script, and add the scripts you want to use. Personally, I use all of these scripts in my Default Domain Policy object. + +## Notes + +- The DisableSMB1.ps1 script is not stricly necessary as SMB1 shouldn't be installed anyways. It's just there for extra assurances. \ No newline at end of file