Yeah this a simple tutorial for protect your PC from WannaCry Ransomware.
1. open your start and type "Powershell"
2. Run As Adminstrator
3. Wait a minute, after that copy and paste on powershell for non-active your SMB1
After that check your SMB 1 and 2 Active or not:
for made them active again just change 0 to 1 like this one:
1. Wait a minute, after that copy and paste on powershell for active your SMB1
1. open your start and type "Powershell"
2. Run As Adminstrator
3. Wait a minute, after that copy and paste on powershell for non-active your SMB1
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force4. After that copy and paste on powershell for non-active your SMB2
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 0 -Force
After that check your SMB 1 and 2 Active or not:
Get-SmbServerConfiguration | Select EnableSMB1Protocol, EnableSMB2Protocol
for made them active again just change 0 to 1 like this one:
1. Wait a minute, after that copy and paste on powershell for active your SMB1
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 1 -Force2. After that copy and paste on powershell for active your SMB2
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 1 -Force
Be First to Post Comment !
Posting Komentar