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
Export/import windows server DNS zones
You can use Export-DnsServerZone and Import-DnsServerZone . Export: Export-DnsServerZone -Name "test.com" -Filename "test...
Mais vistos
-
Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike "*" -and En...
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
First you have to configure a wpad site in your IIS Open the proxypac.pac file you have previously created and save as wpad.dat. Copy wpa...