"The server threw an unexpected exception" when trying to open Windows Terminal from File Explorer #12507

Open
opened 2026-01-31 03:17:30 +00:00 by claunia · 0 comments
Owner

Originally created by @alexgilevich on GitHub (Feb 11, 2021).

Environment

OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.18363 N/A Build 18363
image

Steps to reproduce

After re-installing Window Terminal from Windows Store go to an arbitrary folder in File Explorer, click on empty space to show up the context menu and click on Open in Windows Terminal.

Expected behavior

Windows Terminal is shown up with the working directory set to the current folder.

Actual behavior

An error saying "The server threw an exception" is shown up
image

Notes

The error does not show up when trying to open WIndows Terminal in one of the sub-directories in the current folder. Windows Terminal opens normally in this case. The error only pops up in case if Windows Terminal is opened in the current directory and not in one of its sub-folders.

Originally created by @alexgilevich on GitHub (Feb 11, 2021). ### Environment OS Name: Microsoft Windows 10 Enterprise OS Version: 10.0.18363 N/A Build 18363 ![image](https://user-images.githubusercontent.com/2484265/107620543-ebe3be80-6c65-11eb-81ec-9e667df215fc.png) ### Steps to reproduce After re-installing Window Terminal from Windows Store go to an arbitrary folder in File Explorer, click on empty space to show up the context menu and click on Open in Windows Terminal. ### Expected behavior Windows Terminal is shown up with the working directory set to the current folder. ### Actual behavior An error saying "The server threw an exception" is shown up ![image](https://user-images.githubusercontent.com/2484265/107621109-d0c57e80-6c66-11eb-9f5d-4a6c2b953a6c.png) ### Notes The error does not show up when trying to open WIndows Terminal in one of the sub-directories in the current folder. Windows Terminal opens normally in this case. The error only pops up in case if Windows Terminal is opened in the current directory and not in one of its sub-folders.
claunia added the Resolution-Duplicate label 2026-01-31 03:17:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12507