Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This error code is supposed to mean 'Access Denied', and the solution given everywhere on the net (eg. is to open a cmd with Administrator rights. However, in my case, the same error occurs even on a cmd opened with admin rights (tested with the answers on


regsvr32.exe "C:\Program Files (x86)\GitExtensions\GitExtensionsShellEx64.dll"


 C:\windows\SysWOW64\regsvr32.exe  "C:\Program Files (x86)\GitExtensions\GitExtensionsShellEx64.dll"

fails with the same error message, that the given module was loaded but the call to DllRegisterServer failed with the code 0x80070005.

I tried to monitor registry accesses as given in , but there are no ACCESS DENIED or ACCDENIED results at all in the resulting list.

Edit: I've now even tried

runas /user:Administrator "regsvr32.exe \"C:\Program Files (x86)\GitExtensions\GitExtensionsShellEx64.dll\""

from within a cmd that was itself run as Administrator but that too results in the same error!

share|improve this question
If you move the file to a non-protected folder does it work? – Ramhound Sep 4 '13 at 15:48
@Ramhound Unfortunately yes, the same happens wherever I put the dll files. – sundar Sep 4 '13 at 15:58
use ProcessMonitor instead of regMon to monitor the activity. – magicandre1981 Sep 4 '13 at 18:17
@magicandre1981 Yes, I read that regmon had been merged into procmon so that's what I used. I made a filter to observe only regsvr32.exe to filter out the (tons of) noise, and also made it show only registry changes. There were many SUCCESS, REPARSE and NAME NOT FOUND results but no ACCESS DENIED. – sundar Sep 4 '13 at 18:24

Run the regsvr32 command from an elevated Command Prompt.

Select Start > All Programs > Accessories', then right-clickCommand Promptand selectRun as administrator` from the context menu. Finally, type the command.

share|improve this answer
And if the error persists... ? – bigp Jun 6 at 12:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.