1
0
mirror of https://github.com/TommyTran732/Windows-Setup.git synced 2024-11-24 17:11:43 -05:00

Add DisableSMB1.ps1

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-04-18 02:17:07 -07:00
parent 4b89e17eb5
commit 947c1078c2
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
2 changed files with 6 additions and 1 deletions

1
Scripts/DisableSMB1.ps1 Normal file
View File

@ -0,0 +1 @@
Set-SmbServerConfiguration -EnableSMB1Protocol $false

View File

@ -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.
- 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.