Welcome, Guest. Register New User
Remember me
Best Practices for ZAPTEST
Here you can find the best practices for using ZAPTEST!

TOPIC: Impersonation Level is Invalid: 0x80070542

Impersonation Level is Invalid: 0x80070542 3 years 4 months ago #4949

  • AndreySh
  • AndreySh's Avatar
  • Offline
  • ZAPTEST Team
  • User rank
  • Posts: 214
  • Thank you received: 36
  • Karma: 9

If you get the following error regarding the impersonation - it could be the problem with wrong registered Machine Debug Manager:

It means that we have installed the mdm (Machine Debug Manager) from VS2002 (which is not used anymore). To fix it we should perform the following steps:

  1. Disable MDM service
    • Open system services window: click "Start" -> then type "services" and select it (or find this console via "Control Panel" -> "Administrative Tools"):
    • Click right mouse click on " Machine Debug Manager" and open "Properties"
    • Stop the service (click the stop button) and disable it (change the status Type)
  2. Reregister system DCOM MDM
    • Open cmd as an Administrator: 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): type the following (we have to change the directory to SysWOW64):

        • cd ..\SysWOW64
        • mdm.exe /regserver

    • Restart the computer.

  3. Work with ZAPTEST. If you get access issues, please check DCOM permissions (Run -> "dcomcnfg" -> Find "Machine Debug Manager")
    • Go to: "Component Services" -> "Computers" -> "My Computer" -> "DCOM Config" -> "Machine Debug Manager"
    • Right mouse click -> select "Properties"

    • Open "Security" tab and recheck permissions. Try to add everyone to understand that it's a permission issue.

Thank you,
Last Edit: 3 years 3 months ago by AndreySh.
The topic has been locked.

Contact Us

1425 Market Blvd Suite 530-230

Roswell, GA 30076, USA

(800) 795-3552