Since the applications won’t open with the Windows Console Host option is enabled, the only way to disable this behavior is through the Windows Terminal settings. 'On Windows 11, you are able to set Windows Terminal as your default experience. Once you complete the steps, the command-line tools will no longer open by default inside the Windows Terminal application. Use the “Default terminal application” setting and select the Windows Console Host option. To make again the Windows Console Host the default app experience for PowerShell, WSL, and Command Prompt, use these steps:
Set Windows Console Host default app for Command Prompt and PowerShell Under the “Default Terminal Application” section, select the Windows Terminal option.Īfter you complete the steps, the apps will launch automatically using the Windows Terminal application. So it may be tricky to implement in it's current state. Proposed technical implementation details (optional) I attempted to implement this myself but was unable to get conhost to call windows terminal as it works the other way around. Right-click the title bar and select the Defaults option. Allow setting the Windows Terminal as the default console instead of the legacy one that windows currently uses.
Search for Command Prompt or PowerShell and click the top result to open the app. Set default terminal app in Windows Console HostĪlternatively, you can always enable the feature within the Windows Console Host with these steps: Once you complete the steps, the next time you open Command Prompt or PowerShell, the command-line tool will open on Windows Terminal instead of the legacy Windows Console Host. Use the “Default terminal application” setting and select the Windows Terminaloption. To open Command Prompt, PowerShell, and WSL with the Windows Terminal app by default, use these steps:Ĭlick the menu (down-arrow) button and select the Settings option. Set Windows Terminal default app for Command Prompt and PowerShell Set Windows Console Host default app for Command Prompt and PowerShell To set the default terminal in Windows 10, open Settings > System > Default app and select the desired application.Users need to have Windows Terminal version 1.15 (released. Set Windows Terminal default app for Command Prompt and PowerShell Users can see this this change in Settings > Privacy & security > For developers.In this guide, you will learn the steps to make the Windows Terminal experience the default application for launching Command Prompt and PowerShell on Windows 10. However, you can only undo the option from the Terminal app settings. The startup behavior can be set in the Windows Console Host defaults configuration and the Windows Terminal settings.
On Windows 10, you can now open Command Prompt, PowerShell, and WSL directly into the Windows Terminal app instead of the legacy Windows Console Host. The ability to set the default terminal emulator for the command-line interpreters is available starting with Windows 10 build 21390 and higher and Windows Terminal version 1.9 and higher releases.
Always open Windows Terminal as an admin with ShortcutĪlternatively, you can also create a shortcut that you can specify to run as an administrator on Windows 10. Open a Powershell window in the directory where you download the file. Once you complete the steps, the next time you open Command Prompt, PowerShell, or any other command terminal, it will open elevated. Turn on the “Run this profile as Administrator” toggle switch to run Command Prompt, PowerShell, and any other profile elevated automatically.