How to enable SMB version of windows clients
With fresh installation of Windows 2012 and Windows 8, you can’t access old SMB share or CIFS share correct.
The solution is following.
· To enable SMBv1 on the SMB client, run the following commands:
sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb10 start= auto
· To enable SMBv2 and SMBv3 on the SMB client, run the following commands:
sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb20 start= auto
Run following Powershell command to disable new security negotiate on SMB 3 which some third party doesn’t support.
Be aware once you disable this security negotiate, you need to disable all Windows 8 and Windows 2012 in your environment so they can talk to each other.
Set-SmbClientConfiguration -RequireSecuritySignature $false
Or
Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” RequireSecureNegotiate -Value 0 -Force
Powershell command to enable win8/2012 to access EMC VNX cifs server:
Set-SmbClientConfiguration -RequireSecuritySignature $true
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" RequireSecureNegotiate -Value 0 -Force
原文:http://silversnow.blog.51cto.com/285506/1632861