Fix: You Were Not Connected Because a Duplicate Name Exists on the Network – Windows
If you try to map a network drive in Windows, you may receive the following error which prevents you from connecting.
The mapped network drive could not be created because the following error has occurred:
You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.
The error is happening because you have duplicate DNS names (CNAME and A Record) pointing to the same server.
- Login to the server/host of which you are trying to map a network drive to.
- Open Windows Registry (type regedit into a run prompt) and add the following DWORD key. In the following path.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
Value name: DisableStrictNameChecking
Data type: REG_DWORD
Radix: Decimal
Value: 1
- Reboot the server host.
- If you still cannot map a network drive, you need to create SPN’s that match your DNS CNAME.
- On the same server/host you are trying to map a network drive to, open a Windows command prompt and type the following commands.
rsetspn -A host/<your_ALIAS_name> <ServerrName>
setspn -A host/<your_ALIAS_name.domain.com> <ServerNname>
- Reboot the server once again.
Comments