0XC002003D

Fix RPC_NT_ENTRY_ALREADY_EXISTS 0XC002003D on Windows Server

Duplicate RPC entry on Windows Server breaks services. Delete the stale entry via registry or re-register the DLL. Takes 5 minutes.

Quick answer

Delete the stale RPC entry from the registry key HKLM\SOFTWARE\Microsoft\Rpc\Server or re-register the offending DLL, then restart the RPC service.

Here's the deal. I've seen this error pop up on Windows Server 2016 and 2019 boxes, usually after a botched software install or when someone manually copied an old DLL over a new one. The RPC subsystem (Remote Procedure Call) keeps a lookup table of registered endpoints. When a service tries to register an endpoint that's already there — but the registration is orphaned or half-baked — you get 0XC002003D. The entry already exists, but it's not actually usable. It's like finding a file on your desk with the right name but it's blank. The system won't let you write over it because it thinks it's there, but it's garbage.

Last month, a client's print server started throwing this for their spooler service. Every time the spooler tried to start, it hit this error and died. The print queue went silent. We fixed it in under ten minutes. Here's exactly what you do.

Fix steps

  1. Identify which service or DLL is failing. Check the Event Viewer (Application log) for the source. It'll often name the DLL or service that triggered the error. If not, check the service that won't start — that's your culprit.
  2. Open regedit as admin. Navigate to HKLM\SOFTWARE\Microsoft\Rpc\Server. You'll see subkeys named by the interface UUID. Find the one that matches the service you're having trouble with — the UUID is usually in the event log or in the service's registry entry under HKLM\SYSTEM\CurrentControlSet\Services\[Servicename]\Parameters.
  3. Export the key first. Right-click, Export, save it to a .reg file. You don't want to screw this up without a backup.
  4. Delete the offending subkey. Right-click the subkey that's causing the conflict and delete it. If you're not sure which one, you can export the whole Server key, then delete the whole thing — Windows will rebuild it on next RPC start. But that's more aggressive, so try the targeted delete first.
  5. Re-register the DLL or service. If it's a known DLL (like a custom print driver or an in-house app), run regsvr32 /u [dllname.dll] then regsvr32 [dllname.dll] from an elevated command prompt. For a service, just restart it.
  6. Restart the RPC service. Open Services.msc, find Remote Procedure Call (RPC) — but wait, you can't restart it properly because it auto-restarts and other services depend on it. Instead, just reboot the server if the above didn't clear it. A reboot forces a clean re-registration of all RPC endpoints.

Alternative fixes if that doesn't work

  • Run SFC and DISM. Corrupted system files can cause this. Open an elevated cmd and run sfc /scannow. If it finds issues, follow up with DISM /Online /Cleanup-Image /RestoreHealth.
  • Check for third-party interference. Antivirus or security software that hooks into RPC can cause duplicate entries. Temporarily disable and test.
  • Restore from a recent registry backup. If you have a system restore point from before the error, roll back. The registry is the root here, so a clean snapshot fixes it.

Prevention tip

Don't manually copy DLLs or overwrite system files. Always use the vendor's installer or an MSI. I know that sounds basic, but every time I see this error, it's because someone tried to "help" by grabbing a DLL from a colleague's machine. Also, keep your server patched — some Windows updates have fixed RPC handling bugs that cause this. And if you're running a line-of-business app that uses custom RPC endpoints, make sure the developer follows proper unregistration on uninstall.

That's it. Ten minutes and you're back in business. If you hit a snag, check the event log again — the UUID it gives you is your map. You can also use rpcdump.exe (from the Windows SDK) to list all registered endpoints and see what's stale.

Related Errors in Server & Cloud
Serverless Function Times Out After 30 Seconds? Here’s the Fix E_FAIL (0x80004005) VirtualBox 'Failed to open a session' error fix E_FAIL (0x80004005) VirtualBox VM Black Screen on Boot — 3 Fixes 0XC00002C3 STATUS_MUTUAL_AUTHENTICATION_FAILED (0XC00002C3) Fix

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.