Server side:
Get smbv1 status
get-SmbServerConfiguration
Get-WindowsFeature | Where-Object {$_.name -eq "FS-SMB1"} | ft Name,Installstate
Active audit
Set-SmbServerConfiguration –AuditSmb1Access $true
Applications and Services -> Microsoft -> Windows -> SMBServer -> Audit and see if any clients accessed the file server over SMB1.
Remove SMB1
disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -Remove
Disable SMB1
set-SmbServerConfiguration -EnableSMB1Protocol $False -Force
Enable SMB1
set-SmbServerConfiguration -EnableSMB1Protocol $True -Force
Client side
Test w10
Dism /online /Get-Features /format:table | find "SMB1Protocol"
Disable SMBV1 on Windows server 2012/2016
Apt error Could not get lock /var/lib/apt/lists/lock
sudo fuser -vik -TERM /var/lib/apt/lists/lock
Mais vistos
-
A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell Dfsdiag /TestDCs D...
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike "*" -and En...