gpt4 book ai didi

c# - 进程调试管理器 (PDM) 安全问题

转载 作者:行者123 更新时间:2023-11-30 04:58:08 25 4
gpt4 key购买 nike

我对 AD 中的所有计算机都有问题:

我在使用调试标志创建 VBScriptEngine 后收到此错误:未提供所需的模拟级别,或者提供的模拟级别无效。

(Exception from HRESULT: 0x80070542)

问题出在这一行:

processDebugManager.AddApplication(debugApplication, out debugApplicationCookie))

其中 processDebugManager 是 COM:

{78A51822-51F4-11D0-8F20-00805F2CD064} [IProcessDebugManager]

在本地政治中启用模拟。

有什么限制吗?

最佳答案

忘记添加解决方案。这个错误意味着我们已经从 VS2002(不再使用)安装了 mdm(机器调试管理器)。要修复它,我们应该执行以下步骤:

  1. 停用 MDM 服务
  2. 打开系统服务窗口:

    click "Start" -> then type "services" and select it (or find this console via "Control Panel" -> "Administrative Tools"):

  3. 单击鼠标右键单击“机器调试管理器”并打开“属性”停止服务(单击停止按钮)并禁用它(更改状态类型)

  4. 注册系统 DCOM MDM以管理员身份打开cmd:

    click "Start" -> type "cmd" -> right mouse click -> "Run As Administrator" Register the server: WIN 32 (x86): type the command: mdm.exe /regserver

    WIN 64 (x64):键入以下内容(我们必须将目录更改为 SysWOW64):

    cd ..\SysWOW64 mdm.exe /regserver

重新启动计算机。

如果遇到访问问题,请检查 DCOM 权限

(Run -> "dcomcnfg" -> Find "Machine Debug Manager") Go to: "Component Services" -> "Computers" -> "My Computer" -> "DCOM Config" -> "Machine Debug Manager" Right mouse click -> select "Properties"

打开“安全”选项卡并重新检查权限。尝试添加每个人(或特别的人)以了解这是一个权限问题。

我在这里描述的问题(带图片):https://www.zaptest.com/forum/zaptest-best-practices/4057-impersonation-level-is-invalid-0x80070542

关于c# - 进程调试管理器 (PDM) 安全问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51791497/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com