Windbg 无法附加到进程.访问被拒绝.

编程入门 行业动态 更新时间:2024-10-28 22:24:22
本文介绍了Windbg 无法附加到进程.访问被拒绝.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我尝试使用 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:

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

Anti-virus software usually protects its processes from interference, including debugging. There may be an option to turn this off, look for "tamper protection" or similar. If there is no option to disable tamper protection, there is probably no straightforward way to debug the process.

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

更多推荐

[db:关键词]

本文发布于:2023-04-25 23:39:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1125557.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:被拒   进程   Windbg

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!