Edit

Share via


"The specified module could not be found" error when using the Open terminal session action

This article provides a resolution for an error that occurs when you use the Open terminal session action with an HLLAPI provider in Power Automate for desktop.

Applies to:   Power Automate

Symptoms

When you use the Open terminal session action to open a new connection with an HLLAPI provider, you receive the following error message:

The specified module could not be found.

Cause

The terminal emulator requires access to some extra DLL files that aren't present in the Power Automate for desktop installation directory.

Resolution

  1. Find out what DLL files might be needed:

    1. In the terminal emulator installation directory, locate the HLLAPI DLL file referenced in the Open terminal session action.

    2. Use System Informer (or a similar tool) to identify its dependencies.

    3. In System Informer, select Tools > Inspect executable file.

      Screenshot of the Inspect executable file option in System Informer.

    4. Select the HLLAPI DLL file and go to the Imports tab. The tab shows all the DLL files that the HLLAPI DLL file depends on.

      Screenshot of the Imports tab that contains the HLLAPI DLL files.

  2. Copy the DLL files from the terminal emulator installation directory to the Power Automate for desktop installation directory. The default installation path for Power Automate for desktop is usually C:\Program Files (x86)\Power Automate Desktop.

Third-party information disclaimer

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.