Registering a dll returns 0x80020009 error

2019-02-11 11:48发布

I am trying to register with regsvr32.exe the prnadmin.dll (on a Win7 target machine) but i get this error 0x80020009

Any suggestions please?

标签: dll windows-7
6条回答
We Are One
2楼-- · 2019-02-11 12:11

regsvr32.exe needs to be run as an administrator. Maybe this was the cause?

查看更多
倾城 Initia
3楼-- · 2019-02-11 12:11

http://support.microsoft.com/kb/2466246

You'll need to use the 32bit version of regsvr32 as mentioned in the article.

查看更多
戒情不戒烟
4楼-- · 2019-02-11 12:12

For Windows Vista/Windows 7 users: Click Start > All Programs > Accessories, then right-click on Command Prompt and select Run as Administrator. Then type: regsvr32 filelocation\fileName Then you see that file which generate error is loadded successfully.

查看更多
贪生不怕死
5楼-- · 2019-02-11 12:20

Best method I have found is to open the PowerShell ise with administration rights then cd to c:\ and insert your command, for example

regsvr32 "c:\Program Files\Windows Media Player\wmpband.dll"
查看更多
我命由我不由天
6楼-- · 2019-02-11 12:24

For Windows Vista/Windows 7 users: Click Start>All Programs>Accessories, then right-click on “Command Prompt” and select “Run as Administrator” Type in the following command exactly as you see it and press ENTER. secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose Wait for the command to complete, it can take some time so please be patient. Once the command has completed, try to register a dll file again.

查看更多
姐就是有狂的资本
7楼-- · 2019-02-11 12:28

For Windows Vista/Windows 7 users: Click Start > All Programs > Accessories, then right-click on Command Prompt and select Run as Administrator.

查看更多
登录 后发表回答