# Dynamic Folder - Command Window always pops out

**URL:** https://community.royalapps.com/t/dynamic-folder-command-window-always-pops-out/2044
**Category:** Royal TS (for Windows)
**Created:** [December 30, 2024, 1:44am UTC](https://community.royalapps.com/t/dynamic-folder-command-window-always-pops-out/2044 "2024-12-30T01:44:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nathan\_frankish](https://community.royalapps.com/letter_avatar_proxy/v4/letter/n/74df32/32.png) [@nathan\_frankish](https://community.royalapps.com/u/nathan_frankish)
#### Post date: [December 30, 2024, 1:44am UTC](https://community.royalapps.com/t/dynamic-folder-command-window-always-pops-out/2044/1 "2024-12-30T01:44:58Z")

</div>

Hi -

Im trying to embed access to aws servers (via ssm) as dynamic folders - So far i successfully have it pulling the server list down, building the connection commands etc.

However i dont seem to be able to get it to stay embedded when i double click a connection - it launches a command prompt which works fine - but RoyalTS loses control of it, and puts an error in the log.

Ive tried power shell versions etc, and always have the same issue it pops up and stays in a external window.

I cant really find any good documentation on how to embed it correctly - Any suggestions?

 ![image](https://community.royalapps.com/uploads/default/original/2X/5/530556d2b809f5e089cd81a19a6e414501eca1b2.png)

---

<div class="post-metadata">

### Author: ![christoph\_muehlberger](https://community.royalapps.com/user_avatar/community.royalapps.com/christoph_muehlberger/32/1572_2.png) [@christoph\_muehlberger](https://community.royalapps.com/u/christoph_muehlberger)
#### Post date: [December 30, 2024, 12:40pm UTC](https://community.royalapps.com/t/dynamic-folder-command-window-always-pops-out/2044/2 "2024-12-30T12:40:15Z")

</div>

Hi Nathan,

could you please paste screenshot(s) of your Dynamic Folder / connection configuration, so we can look into this?

Alternatively, you can also open a new support ticket via the following link:

[https://www.royalapps.com/go/support-ticket-new](https://www.royalapps.com/go/support-ticket-new)

Best regards,

Christoph

---

<div class="post-metadata">

### Author: ![nathan\_frankish](https://community.royalapps.com/letter_avatar_proxy/v4/letter/n/74df32/32.png) [@nathan\_frankish](https://community.royalapps.com/u/nathan_frankish)
#### Post date: [December 30, 2024, 10:49pm UTC](https://community.royalapps.com/t/dynamic-folder-command-window-always-pops-out/2044/3 "2024-12-30T22:49:30Z")

</div>

Attached - Let me know if you want more -

Can move to a support ticket if needed, just figured others might learn from my mistakes when we work out what the issue is.

 ![image](https://community.royalapps.com/uploads/default/original/2X/1/19750c095c6290c5294214e1248c859be84e2a22.png)

 ![image](https://community.royalapps.com/uploads/default/original/2X/5/5c35799b3e46a8094acd8c88a0a3e0b57969a919.png)

---

<div class="post-metadata">

### Author: ![christoph\_muehlberger](https://community.royalapps.com/user_avatar/community.royalapps.com/christoph_muehlberger/32/1572_2.png) [@christoph\_muehlberger](https://community.royalapps.com/u/christoph_muehlberger)
#### Post date: [December 31, 2024, 7:51am UTC](https://community.royalapps.com/t/dynamic-folder-command-window-always-pops-out/2044/4 "2024-12-31T07:51:19Z")

</div>

Hi Nathan,

thanks for the screenshots.

Can you try configuring the “Process Tracking” options, found in the Advanced section of the External Application, as shown in this example for Notepad++:

 ![](https://community.royalapps.com/uploads/default/original/2X/7/7e0295943b51cfeb81afb3872d550fd2d5a03025.jpeg)

You can find out the Window Title Match/Process Name, Command Line Match via the Task Manager.

Please let me know if this helped, or you need further assistance.

Best regards,

Christoph

---

<div class="post-metadata">

### Author: ![nathan\_frankish](https://community.royalapps.com/letter_avatar_proxy/v4/letter/n/74df32/32.png) [@nathan\_frankish](https://community.royalapps.com/u/nathan_frankish)
#### Post date: [January 8, 2026, 8:54pm UTC](https://community.royalapps.com/t/dynamic-folder-command-window-always-pops-out/2044/5 "2026-01-08T20:54:09Z")

</div>

I know im bumping an old thread, but for anyone else having issues with embedding AWS SSM or other aws commands, you need to set windows to default to Windows Console Host as the default terminal app.

Open **Settings** by pressing the `Windows` key + `I`.

1. In the left sidebar, click on **System**.

2. Scroll down and select **For developers**.

3. Under the **Terminal** section, use the drop-down menu to select **Windows Console Host**.
