?
Solved

You were not connected because a duplicate name exists on the network.

Posted on 2014-09-02
31
Medium Priority
?
541 Views
Last Modified: 2015-01-11
I created a CNAME record (ACCOUNTS) in our DNS that points to host record (SERVER01).
I can ping the CNAME record and host record

However, when trying to browse to the CNAME \\ACCOUNTS I see an error...
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 machine generating the error is running Windows Server 2003 R2 (SP2 installed)
I've tested from Windows 7 and Windows Server 2008 clients and they do not have the issue, however XP and other 2003 servers do

We do not use WINS and do not have a GNZ, there are no other records for "SERVER01" and the hosts file does not have anything in it.

Any help would be greatly appreciated!
0
Comment
Question by:antonioking
  • 15
  • 8
  • 6
  • +1
30 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 40298006
On an affected machine

open regedit and navigate to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
Create a new DWORD with the following details:
Value name: DisableStrictNameChecking
Data type: REG_DWORD
Type: Decimal
Value: 1
Then reboot the Host.

Any difference?
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40298009
Sorry - do that on the SERVER!
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40298014
Actually some sites say client, others say server, my gut feeling is change the client
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:antonioking
ID: 40298040
Hi Pete
I really should have mentioned, I have already set the DisableStrictNameChecking DWORD registry setting on the problem client server.
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 40298066
Please see below KB, you might need to add SPN which is a common practice for duplicate names -

http://support.microsoft.com/kb/281308
0
 

Author Comment

by:antonioking
ID: 40298106
setspn is not a recognised command on our 2003 servers

Do I run this command on our DNS servers?
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 40298207
You need to have admin tools installed on 2003 server for setspn command
0
 

Author Comment

by:antonioking
ID: 40298249
Ok, I've installed Admin tools and searched C drive... setspn.exe doesn't exist!
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 40298273
are you able to execute it in command prompt?
0
 

Author Comment

by:antonioking
ID: 40298285
Sure, when running from command line...
'setspn' is not a recognized as an internal or external command, operable program or batch file.

This is why I searched the C drive for the exe.
0
 

Author Comment

by:antonioking
ID: 40298317
Ok, the setspn.exe is actually part of the 2003 Support tools not Admin tools
Downloadable from here... http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=7911

I've ran the command but got an error
C:\Documents and Settings\Administrator>"C:\Program Files\Support Tools\
setspn.exe" -a DOMAIN/ACCOUNTS SERVER01.DOMAIN.NET
FindDomainForAccount: DsGetDcNameWithAccountW failed!
Unable to locate account SERVER01.DOMAIN.NET
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 40298346
my bad, it is support tools not admin tools.

execute below two commands (assuming accounts is ur alias and server01 is actual server name; replace domain.com with your actual domain name) -


setspn -a host/accounts server01
setspn -a host/accounts.domain.com  server01
0
 

Author Comment

by:antonioking
ID: 40298358
Hi
Thanks for that, commands executed successfully
Unfortunately the error is still occurring when trying to browse to \\accounts
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 40298378
Have you done registry changes? It will take some to replicate SPNs in AD.
Also you might need to reboot server01.
0
 

Author Comment

by:antonioking
ID: 40298392
Sure, I did the registry change. I have rebooted server01. still not working but I can wait

I performed the setspn commands on server01. Wouldn't it be best for me to do this from a DC?
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 40298505
Yes, it helps in replication but by this time it should get replicated.
 Can you try accessing the share with \\accounts.domain.com or check if there is any duplicate name in WINS or set a diff. alias if possible
0
 

Author Comment

by:antonioking
ID: 40298535
Hi, thanks for taking the time to reply!
Unfortunately the same error occurs when trying to ping the FQDN
0
 

Author Comment

by:antonioking
ID: 40298538
Also, we do not have WINS installed.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40298593
You should only need to run setspn on a 2008R2 (or newer server)?

I've just replicated it it on the test bench with XP clients and a 2003 server, change the reg key on the server, bounce the server service. and reboot the client - and it works

Make sure you have CNAME and not A records in DNS and make sure there's nothing in the hosts files.

PL
0
 

Author Comment

by:antonioking
ID: 40298613
Hi PL
Records are definately CNAME records.
Hosts file is definately empty

I've created another CNAME 'TESTCNAME' pointed it to a different A record.
Same error, and interestingly the error also occurs on Windows 7 clients too (when trying to access \\TESTCNAME)

Regards
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40298630
Server 2003 and clients are Win 7 correct?
0
 

Author Comment

by:antonioking
ID: 40298641
The DNS servers are 2008 R2
The server I am creating an alias for is 2003
The clients experiencing the issues initially were XP and 2003 only
But since creating another alias, 7 clients also see the same error.. but only for the new 'test' cname created.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40299425
I've just done the same and the registry change on the server fixed it straight away
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40299452
OK Install this update http://support.microsoft.com/kb/970536

Then try the setspn commands i.e.

setspn
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 40302272
0
 

Author Comment

by:antonioking
ID: 40302916
Hi thanks for the suggestions
I've installed the update, checked the registry setting is correct (it is) restarted the server service and performed the setspn commands again.
The issue is still persisting.

Did you note my earlier comment that a test cname I created is un-browsable from Windows 7 clients as well?

Regards
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 40468388
Optionalnames in the lanmanserver portion of the registry always works for me.

You have to reboot the server service after making the change.

http://www.techrepublic.com/blog/the-enterprise-cloud/adding-multiple-netbios-names-for-windows-servers/
0
 

Author Comment

by:antonioking
ID: 40507312
Hi Kevin
The server has been rebooted, I have also tried restarting the server service.
0
 

Accepted Solution

by:
antonioking earned 0 total points
ID: 40535178
I have removed the 2003 server off the network and replaced with a new 2008 server. Which of course, means the issue is no longer presented.
0
 

Author Closing Comment

by:antonioking
ID: 40542943
Server removed
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question