Windows Server 2012 UNC Path using Alias (CNAME) on local server prompt for credentials
-
Saturday, January 05, 2013 4:22 PM
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?
All Replies
-
Monday, January 07, 2013 6:21 AMModerator
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
- Edited by Aiden_CaoMicrosoft Contingent Staff, Moderator Monday, January 07, 2013 6:22 AM
-
Monday, January 07, 2013 9:56 PM
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
- Locate and click the following key in the registry:
-
Wednesday, January 23, 2013 11:01 AM
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 :)
- Marked As Answer by RenaudLevesque Wednesday, January 23, 2013 1:53 PM
-
Wednesday, January 23, 2013 1:55 PM
Thanks. It works.

