本文介绍了Windbg 无法附加到进程.访问被拒绝.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用 windbg 附加到一个进程(属于防病毒软件).我以管理员身份运行 windbg,但在尝试附加到进程时出现以下错误:

I tried attaching to a process (which belongs to an antivirus) using windbg. I ran windbg as administrator but I get the following error when I try to attach to the process:

Unable to examine process id 6128. Win32 error 0n5
Cannot debug pid 6128, Win32 error 0n5
Access is denied

有什么我忽略的吗?感谢您的帮助

Is there anything that I am overlooking? Thank you for your help

推荐答案

即使您以管理员身份登录,您也可能需要以提升的管理员身份运行 windbg.尝试右键单击 windbg 图标并选择以管理员身份运行".然后尝试附加到进程.

Even though you're logged on as an administrator, you may need to run windbg as an elevated administrator. Try right clicking the windbg icon and select "Run as administrator". Then attempt to attach to the process.

同样来自上面的 Harry Johnston 评论:

Also from Harry Johnston comment above:

防病毒软件通常会保护其进程免受干扰,包括调试.可能有一个选项可以关闭它,寻找篡改保护"或类似的.如果没有禁用选项篡改保护,可能没有直接的调试方法过程.

这篇关于Windbg 无法附加到进程.访问被拒绝.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-02 02:37