ERROR_DUP_NAME 0x80070034

Error code 52 · HRESULT 0x80070034

WINDOWS

You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Panel to change the computer name and try again. If joining a workgroup, choose another workgroup name.

Windows troubleshooting diagram: Device Manager warning and a system file scan
Windows errors: check drivers, system files and Event Viewer, in that order.

What it means

ERROR_DUP_NAME is a Windows error code (system error 52, returned as HRESULT 0x80070034) reported by Windows. Its official message is: “You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Panel to change the computer name and try again. If joining a workgroup, choose another workgroup name.”

How to fix ERROR_DUP_NAME

  1. Reboot once — many one-off system codes disappear with a clean restart
  2. Repair system files: 'sfc /scannow' then 'DISM /Online /Cleanup-Image /RestoreHealth'
  3. Find the source in Event Viewer → System: filter for this exact code and open its provider link

Related errors

Source: Microsoft WinError.h

Last updated: