Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Impersonation Level is Invalid: 0x80070542

Impersonation Level is Invalid: 0x80070542

Home Forums ZAPTEST Best Practices Impersonation Level is Invalid: 0x80070542

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #32042
    Valentin ZAP
    Keymaster

      Hello!

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

      [center]

      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
          [li]Open system services window: click “Start” -> then type “services” and select it (or find this console via “Control Panel” -> “Administrative Tools”):
          [center]
      2. Click right mouse click on ” Machine Debug Manager” and open “Properties”
      3. Stop the service (click the stop button) and disable it (change the status Type)

        [center]

      4. [/li]

      5. Reregister system DCOM MDM
          [li]Open cmd as an Administrator: click “Start” -> type “cmd” -> right mouse click -> “Run As Administrator”
      6. Register the server:
        [ul]
        [li]WIN 32 (x86): type the command:
        [ul]
        [li]mdm.exe /regserver
        [center]
      7. [/li]

      8. WIN 64 (x64): type the following (we have to change the directory to SysWOW64):
          [li]cd ..SysWOW64
      9. mdm.exe /regserver
        [center]

      10. [/li]
        [/ul]

        [/li]

      11. Restart the computer.
      12. [/ul]

        [/li]

      13. Work with ZAPTEST. If you get access issues, please check DCOM permissions (Run -> “dcomcnfg” -> Find “Machine Debug Manager”)
          [li]Go to: “Component Services” -> “Computers” -> “My Computer” -> “DCOM Config” -> “Machine Debug Manager”
      14. Right mouse click -> select “Properties”

        [center]

      15. Open “Security” tab and recheck permissions. Try to add everyone to understand that it’s a permission issue.
      16. [/li]

      Thank you,
      ZAPTEST Team

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.