mirror of
https://github.com/TommyTran732/Windows-Setup.git
synced 2024-11-21 07:31:44 -05:00
Add DisableSMB1.ps1
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
4b89e17eb5
commit
947c1078c2
1
Scripts/DisableSMB1.ps1
Normal file
1
Scripts/DisableSMB1.ps1
Normal file
@ -0,0 +1 @@
|
||||
Set-SmbServerConfiguration -EnableSMB1Protocol $false
|
@ -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.
|
Loading…
Reference in New Issue
Block a user