码迷,mamicode.com
首页 > Windows程序 > 详细

How to enable SMB version of windows clients

时间:2015-04-15 15:04:54      阅读:261      评论:0      收藏:0      [点我收藏+]

标签:smb version

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

 

 

How to enable SMB version of windows clients

标签:smb version

原文地址:http://silversnow.blog.51cto.com/285506/1632861

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!