locked
Script execution gets blocked in remote application when accessed from a Word process RRS feed

  • Question

  • I've developed a document generator as a Word-based AddIn that reads its data from a system engineering tool (i.e. PTC Integrity Modeler). Some of the model properites in the engineering tool are derived at runtime via VB scripts (tool internal). Since Office version 1806, script execution gets blocked when the Word process tries to read model data via the COM interface of system engineering tool.

    Is it possible to allow this script execution for a specific process or component? I also tried to exclude the COM interface from ASR rules (attac surface reduction rules) via corresponding GPO, but had no success so far...

    I can provide a simple test component to reproduce this behavior (without the need to install the system engineering tool): a DLL that evaluates a formula via a VB script; when it's called from another VB-Script it runs correctly, whereas when it's called from a Word VBA environment it doesn't....



    Thursday, June 18, 2020 2:37 PM

Answers

  • I'd try asking for help over here.

    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Guido Franzke Monday, June 22, 2020 6:46 AM
    • Marked as answer by Guido Franzke Friday, June 26, 2020 6:16 AM
    Friday, June 19, 2020 3:28 AM
  • Finally, the following blog entry solved this problem:

    https://gallery.technet.microsoft.com/scriptcenter/Registry-key-to-re-enable-835fba77
    • Marked as answer by KnowBody-RG Monday, July 13, 2020 10:37 AM
    Monday, July 13, 2020 10:36 AM

All replies

  • Hi,

    Thanks for posting here.

    Since this forum is for discussing the Windows Desktop Development issue.

    I will redirect this thread to the correct forum to get better support, Thanks for you understanding.

    Best Regards,

    Drake


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, June 19, 2020 3:18 AM
  • I'd try asking for help over here.

    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Guido Franzke Monday, June 22, 2020 6:46 AM
    • Marked as answer by Guido Franzke Friday, June 26, 2020 6:16 AM
    Friday, June 19, 2020 3:28 AM
  • Finally, the following blog entry solved this problem:

    https://gallery.technet.microsoft.com/scriptcenter/Registry-key-to-re-enable-835fba77
    • Marked as answer by KnowBody-RG Monday, July 13, 2020 10:37 AM
    Monday, July 13, 2020 10:36 AM