之前,我写过一篇文章,如果你在同一个网络上有两台具有相同IP 地址(IP address)的计算机会发生什么:IP 地址(IP address)冲突。但是,当您在网络上有两台同名的计算机时会发生什么?
如果您运行的是较新版本的Windows ,例如Windows 10、Windows 8 或Windows 7,那么一切都会正常工作。只有在Windows XP、Windows 2000、Windows 98等依赖NETBIOS 和 WINS的较旧版本的(NETBIOS and WINS)Windows中,您才会遇到问题。
在第二种情况下,您最终可能会看到如下消息:
Duplicate name exists on the network

起初,您可能认为显而易见的答案是重命名其中一台计算机,对吧?好吧,即使网络上没有两台计算机具有相同的名称,您也可能会收到此错误!
该问题可能是由系统上不再存在的旧网络适配器引起的。(network adapter)在重命名计算机之前,您可以尝试以下几种方法来解决此问题。
方法 1 – IPCONFIG
首先,简单的发布和更新(release and renew)IP 地址(IP address)可能会解决您的问题。转到Start,然后Run并输入CMD。在命令提示符下(command prompt),继续输入
ipconfig /release
ipconfig /renew
如果您仍然收到错误,请继续使用以下可能的解决方案。
方法 2 (Method 2) – 删除隐藏的网络适配器(– Remove Hidden Network Adapters)
转到开始、运行,然后在框中键入DEVMGMT.MSC。现在在设备管理器(Device Manager)中,单击查看(View)并选择显示隐藏的设备(Show Hidden Devices)。

现在向下滚动到网络适配器(Network Adapters)并卸载任何带有透明图标的显示。如果什么都没有变灰,那么你的问题也不在于旧的网络适配器(network adapter)。

方法 3 – 重命名计算机
如果这两种方法都不起作用,那么您可能只需要重命名计算机。这可能是由于以下两个原因之一:
- 您实际上在网络上有两台机器具有相同的NETBIOS 名称(NETBIOS name)
- 其中一台计算机的名称与工作组的名称相同
您可以转到Start,运行,输入CMD,然后在命令提示符下输入nbtstat -n (command prompt),(nbtstat –n)如果有冲突的工作站,它会显示给您。

确保(Make sure)查看您当前正在使用的网络连接,即(network connection)Local Area Connection或Wireless Network Connection。
您可以通过右键单击桌面上的“我的电脑”图标(My Computer icon),选择“属性(Properties)” ,然后单击“计算机名称”(Computer Name)选项卡来重命名计算机。

单击更改(Change) 按钮并输入(button and type)计算机的新名称。重新启动计算机,问题应该消失了。如果您仍有问题,请在此处发表评论,我会尽力提供帮助!享受!
“Duplicate name exists on the network” Windows Error
Previously, I wrote an article аbout what would happen if уou hаd two computers with the same IP address on the same network: an IP address conflict. However, what happens when you have two computers with the same name on a network?
If you’re running newer versions of Windows like Windows 10, Windows 8, or Windows 7, then everything will work fine. It’s only with older versions of Windows like Windows XP, Windows 2000, Windows 98, etc. that rely on NETBIOS and WINS where you will run into issues.
In the second case, you might end up seeing a message like the following:
Duplicate name exists on the network

At first, you might think the obvious answer is to just rename one of the computers, right? Well, you may also get this error even if no two computers on the network have the same name!
The problem could be caused by an old network adapter that is no longer present on the system. Here are a couple of ways you can try to solve this issue before renaming computers.
Method 1 – IPCONFIG
Firstly, a simple release and renew of the IP address might solve your problem. Go to Start, then Run and type in CMD. At the command prompt, go ahead and type in
ipconfig /release
ipconfig /renew
If you still get the error, then move on to the following possible solutions.
Method 2 – Remove Hidden Network Adapters
Go to Start, Run, and type in DEVMGMT.MSC in the box. Now in Device Manager, click on View and choose Show Hidden Devices.

Now scroll down to Network Adapters and uninstall any that are showing with transparent icons. If nothing is grayed out, then your problem is also not with an old network adapter.

Method 3 – Rename computer
If neither of these two methods worked, then you will probably just have to rename the computer. This can occur for one of two reasons:
- You actually have two machines on the network with the same NETBIOS name
- One of the computers has the same name as the name of the workgroup
You can go to Start, run, type in CMD, and then type in nbtstat –n at the command prompt and it’ll show you a conflicting workstation if there is one.

Make sure to look at the one for network connection you are currently using, i.e. Local Area Connection or Wireless Network Connection.
You can rename a computer by right-clicking on the My Computer icon on the desktop, choosing Properties and then clicking on Computer Name tab.

Click the Change button and type in a new name for the computer. Restart your computer and the problem should be gone. If you’re still having issues, post a comment here and I’ll try to help! Enjoy!