Error 0x80004005 accessing CIFS from Windows server 2012

Issue: Accessing shares hosted on third party file server (like NetApp or EMC) from Windows server 2012 returns error

Windows cannot access \\ServerName

Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose.

Error code: 0x80004005
Unspecified error

image

 

Cause:

With Windows server 2012 and Windows 8, Secure dialect negotiation is introduced in SMB 3.0. This feature depends upon the correct signing of error responses by all SMBv2 servers, including servers that support only protocol versions 2.0 and 2.1. Some third-party file servers do not return a signed error response. Therefore, the connection fails.

Resolution:

Method 1: Configure the following registry value on Windows server 2012

Key: “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters”
Value Name: RequireSecureNegotiate
Value Type: DWORD
Value Data: 0

Method 2: Or, Run the Powershell command

Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” RequireSecureNegotiate -Value 0 –Force

Method 3: Run the Powershell cmdlet:

Set-SmbClientConfiguration – RequireSecureNegotiate 0

Or, you can enable the feature on the third party file server.