注册DLL出现0x80070005 错误的解决办法

Error 0x80070005 means Access denied. This error can be avoided by starting a command prompt window with Administrator privileges and running regsvr32.exe from there. Click on Start, then go to Accessories and right-click on Command Prompt and click on Run as in the context menu. You must select a user account with Administrator privileges in the window which then appears. When you then run regsvr32.exe from the Command Prompt you won't get the Access denied error.


如果尝试使用 Regsrv32 注册 DLL,而您登录所使用的帐户(例如作为标准用户组成员的帐户)没有管理凭据时,则会出现这种现象。当帐户没有管理凭据时,则不能写入注册表或更改 System32 文件夹中的文件。

出现这种现象的原因是,Windows XP 和 Windows 7 使用了比以前版本的 Windows 限制性更强的安全方案。该方案阻止标准用户注册 DLL。

注意:由于出现这种现象,标准用户可能无法使用其 ID 运行自行注册 DLL 的程序。

使用管理员帐户登陆,然后注册 DLL。

转载于:https://www.cnblogs.com/sandman/archive/2011/09/16/2179294.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值