Windows Server 2012 UNC Path using Alias (CNAME) on local server prompt for credentials
I have a server upgraded from Windows 2008 R2 to Windows Server 2012.
I need to access the share on a server locally with an alias (CNAME). \\alias.domain.name\localshare
The DFS still work but not with the alias.
It was working before the upgrade.
There are fixes for 2003/2000 but it is not working for Win2012.
Ex: Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name http://support.microsoft.com/kb/281308?wa=wsignin1.0
Any idea how to fix this for Windows Server 2012?
January 5th, 2013 7:22pm
Hi,
Have you try to access it with FQDN? Does it work? Please also verify the currently logon user have proper right to access the Share folder.
Best Regards,
Aiden
Aiden Cao
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
January 7th, 2013 9:21am
Hello,
FQDN/Netbios/DFS it all works when I acces the share remotely. No prompt for credentials.
Locally on the server where the share is, logged in as administrator (or a domain admins user) I am prompt for credentials if I use the CNAME (alias) of the server. If I use the server name/FQDN/DFS it all works.
It may be something with SMB 3 being more strict. On win2k3/Win2008 aplying the regkey DisableStrictNameChecking worked.
Quote from the fix: http://support.microsoft.com/kb/281308?wa=wsignin1.0
Start Registry Editor (Regedt32.exe).
Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
On the Edit menu, click
Add Value, and then add the following registry value:
Value name: DisableStrictNameChecking
Data type: REG_DWORD
Radix: Decimal
Value: 1
January 8th, 2013 12:56am
Workaround:
1. Open regedit.exe
2. Go to HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / Lsa
3. Create REG_DWORD with name DisableLoopbackCheck and value 1
4. Now you can test it :)
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2013 6:05am
Thanks. It works.
January 23rd, 2013 8:59am
Workaround:
1. Open regedit.exe
2. Go to HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / Lsa
3. Create REG_DWORD with name DisableLoopbackCheck and value 1
4. Now you can test it :)
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2013 2:01pm