Skip to content

The Execute-Test.ps1 works fine outside SCOM but when executed from inside MP it fails #7

@delyan82

Description

@delyan82

The scripts works fine when started alone. When i configured the run as profile and started it from SCOM MP it fails with the error below. The Run As account has admin rights on the execution node and also Launch & Execution permissions on the IE DCOM object.

[12/03/2018 12:56:00.785]: *************** LAUNCHER SCRIPT BEGIN ***************
[12/03/2018 12:56:00.801]: SiteURL: http://*****.mv.lab/Citrix/MVDWeb
[12/03/2018 12:56:00.801]: UserName: MVD*****ser1
[12/03/2018 12:56:00.817]: Password: *****
[12/03/2018 12:56:00.817]: ResourceName: *********art_65
[12/03/2018 12:56:00.817]: Creating Internet Explorer COM object
[12/03/2018 12:56:50.993]: Exception caught by script
[12/03/2018 12:56:51.008]: Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
[12/03/2018 12:56:51.024]: At C:\Monitoring\Citrix\Scripts\Test-CitrixApp.ps1:185 char:49

  • New-Variable -Name internetExplorer -Value (New-Object -ComObject "InternetE ...
    
  •                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

[12/03/2018 12:56:51.274]: *************** LAUNCHER SCRIPT END ***************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions