{"id":53640,"date":"2023-06-14T23:02:36","date_gmt":"2023-06-14T17:32:36","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=53640"},"modified":"2023-08-07T20:32:59","modified_gmt":"2023-08-07T15:02:59","slug":"set-default-terminal-windows-11","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/set-default-terminal-windows-11\/","title":{"rendered":"How to Set the Default Terminal Application in Windows 11"},"content":{"rendered":"<p>The Windows Terminal becomes the default terminal. This means, all command line applications, such as Command Prompt and PowerShell, will open in Windows Terminal automatically. This article tells you how to change the default terminal to Windows Console Host or revert to Windows Terminal as the default host.<\/p>\n<h2>Set the default Terminal app in Windows 11<\/h2>\n<p>You can set the default terminal app using different methods.<\/p>\n<h3>Option 1: Using Settings<\/h3>\n<ol>\n<li>Open Settings, and click Privacy &amp; Security.<\/li>\n<li>Click &#8220;For developers&#8221;, and set the default terminal.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-53651\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/set-default-terminal-1.png\" alt=\"set default terminal settings\" width=\"752\" height=\"466\" \/><\/p>\n<p>Here are the options:<\/p>\n<ul>\n<li>Let Windows decide<\/li>\n<li>Windows Console Host<\/li>\n<li>Windows Terminal<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-53652\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/set-default-terminal-2.png\" alt=\"set default terminal settings - console host\" width=\"750\" height=\"251\" \/><\/li>\n<li>To revert to pre-Windows 11 behavior, set it to &#8220;Windows Console Host&#8221; so that the classic Command Prompt window opens when you run a console app.\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/reinstall-windows-terminal-windows-11\/\">How to Reinstall Windows Terminal in Windows 11<\/a><\/div>\n<\/li>\n<\/ol>\n<hr \/>\n<h3>Option 2: Using Windows Terminal settings<\/h3>\n<ol>\n<li>Launch Windows Terminal and access Settings (<code>Win<\/code> + <code>,<\/code>) by clicking on the chevron and clicking <strong>Settings<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-53654\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/set-default-terminal-3.png\" alt=\"set default terminal settings - Windows Terminal settings\" width=\"751\" height=\"236\" \/><\/li>\n<li>In the Settings window, set the default terminal application.\n<p>You get the same three options when you click on the list box.<\/p>\n<ul>\n<li>Let Windows decide<\/li>\n<li>Windows Console Host<\/li>\n<li>Windows Terminal<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-53655\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/set-default-terminal-4.png\" alt=\"set default terminal settings - Windows Terminal settings\" width=\"758\" height=\"407\" \/><\/li>\n<li>Once done, click Save and close Windows Terminal.<\/li>\n<\/ol>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/remove-windows-terminal-context-menu-windows-11\/\">How to Remove \u201cOpen in Windows Terminal\u201d Context Menu in Windows 11<\/a><\/div>\n<hr \/>\n<h3>Option 3: Using the Registry or Group Policies.<\/h3>\n<p>Here are the registry keys that apply to Windows 11 22H2 and higher.<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Registry key<\/b><\/td>\n<td>HKEY_CURRENT_USER\\Console\\%%Startup<\/td>\n<\/tr>\n<tr>\n<td><b>Registry values<\/b><\/td>\n<td>DelegationConsole<\/p>\n<p>DelegationTerminal<\/td>\n<\/tr>\n<tr>\n<td><b>Data type<\/b><\/td>\n<td>REG_SZ containing a GUID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following values are offered for the selection of the default console host.<\/p>\n<table>\n<thead>\n<tr>\n<th><b>Console host<\/b><\/th>\n<th>Values<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Automatic selection (Windows Terminal, if available)<\/td>\n<td><b>DelegationConsole<\/b><\/p>\n<p>{00000000-0000-0000-0000-000000000000}<\/p>\n<p><b>DelegationTerminal<\/b><\/p>\n<p>{00000000-0000-0000-0000-000000000000}<\/td>\n<\/tr>\n<tr>\n<td>Windows Console Host (legacy)<\/td>\n<td><b>DelegationConsole<\/b><\/p>\n<p>{B23D10C0-E52E-411E-9D5B-C09FDF709C7D}<\/p>\n<p><b>DelegationTerminal<\/b><\/p>\n<p>{B23D10C0-E52E-411E-9D5B-C09FDF709C7D}<\/td>\n<\/tr>\n<tr>\n<td>Windows Terminal<\/td>\n<td><b>DelegationConsole<\/b><\/p>\n<p>{2EACA947-7F5F-4CFA-BA87-8F7FBEEFBE69}<\/p>\n<p><b>DelegationTerminal<\/b><\/p>\n<p>{E12CFF52-A866-4C77-9A90-F570A7AA2C6B}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>Command Prompt window opens even though Windows Terminal is the default terminal?<\/h3>\n<p>Even after setting Windows Terminal as the default command host, your console applications (or running <code>cmd.exe<\/code> manually) may open the legacy Windows Console Host Command Prompt window instead of the Windows Terminal.<\/p>\n<p>This happens because the &#8220;Use legacy console&#8230;&#8221; option may have been enabled in Command Prompt settings. To disable the legacy console option, do the following:<\/p>\n<ol>\n<li>Open a Command Prompt window.<\/li>\n<li>Right-click on the title bar and click Properties.<\/li>\n<li>Uncheck &#8220;Use legacy console (requires relaunch, affects all consoles)<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-53658\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/cmd-enable-disable-legacy-console.png\" alt=\"command prompt legacy mode enable or disable\" width=\"390\" height=\"491\" \/><\/li>\n<li>Click OK.<\/li>\n<\/ol>\n<p>That&#8217;s it. Running a console application (or launching <code>cmd.exe<\/code> manually) should launch Windows Terminal if Windows Terminal is set as the default host.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Windows Terminal becomes the default terminal. This means, all command line applications, such as Command Prompt and PowerShell, will open in Windows Terminal automatically. This article tells you how to change the default terminal to Windows Console Host or revert to Windows Terminal as the default host. Set the default Terminal app in Windows &#8230; <a title=\"How to Set the Default Terminal Application in Windows 11\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/set-default-terminal-windows-11\/\" aria-label=\"Read more about How to Set the Default Terminal Application in Windows 11\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[869],"tags":[106],"class_list":["post-53640","post","type-post","status-publish","format-standard","hentry","category-windows-11","tag-command-prompt"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":24381,"url":"https:\/\/www.winhelponline.com\/blog\/add-open-command-window-here-menu-windows-11\/","url_meta":{"origin":53640,"position":0},"title":"How to Add &#8220;Open command window here&#8221; in Windows 11","author":"Ramesh","date":"October 10, 2021","format":false,"excerpt":"In Windows 11, the context menu \"Open Command window here\" doesn't exist by default. Instead, you'll see the \"Open in Windows Terminal\" and \"Open PowerShell window here\" (when you press Shift + right-click) options in the folder context menu. This article tells you how to add \"Open Command window here\"\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"windows terminal option in win+x start context menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/win-x-terminal-powershell-comd.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":24390,"url":"https:\/\/www.winhelponline.com\/blog\/reinstall-windows-terminal-windows-11\/","url_meta":{"origin":53640,"position":1},"title":"How to Reinstall Windows Terminal in Windows 11","author":"Ramesh","date":"October 10, 2021","format":false,"excerpt":"Windows Terminal is a modern terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and Windows Subsystem for Linux (WSL).\u00a0If you've uninstalled the Windows Terminal app in Windows 11 accidentally and need it back, you can reinstall the app using a couple of methods. It's also\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"reinstall windows terminal app microsoft store","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/reinstall-windows-terminal-ms-store.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/reinstall-windows-terminal-ms-store.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/reinstall-windows-terminal-ms-store.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":24389,"url":"https:\/\/www.winhelponline.com\/blog\/remove-windows-terminal-context-menu-windows-11\/","url_meta":{"origin":53640,"position":2},"title":"How to Remove &#8220;Open in Windows Terminal&#8221; Context Menu in Windows 11","author":"Ramesh","date":"October 10, 2021","format":false,"excerpt":"In Windows 11, the Windows Terminal context menu item appears in the right-click menu for folders and the desktop. Suppose you're already using the \"Open PowerShell window here\" or \"Open Command window here\" option and don't plan to launch Terminal via the right-click menu. In that case, you can remove\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"open command window here in windows 11 - windows terminal default","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/w11-open-command-prompt-terminal-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":28839,"url":"https:\/\/www.winhelponline.com\/blog\/cant-open-cmd-after-uninstalling-python-anaconda\/","url_meta":{"origin":53640,"position":3},"title":"Can&#8217;t Open CMD.exe After Uninstalling Python\/Anaconda; Exit Code 1","author":"Ramesh","date":"September 29, 2022","format":false,"excerpt":"After uninstalling Python\/Anaconda on your Windows computer, Command Prompt may not open. When you run cmd.exe, it flashes on the screen and immediately quits. Also, running DISM and SFC (to repair corrupt system files), repairing Windows installation, and running a thorough malware scan may not fix the issue. Also, when\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"vscode cmd.exe error 1","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/09\/vscode-cmd-error-code-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4516,"url":"https:\/\/www.winhelponline.com\/blog\/reset-firewall-defaults-restore-rules-advanced-security\/","url_meta":{"origin":53640,"position":4},"title":"How to Reset Windows Firewall Settings to Defaults","author":"Ramesh","date":"November 4, 2016","format":false,"excerpt":"You may want to occasionally reset Windows firewall settings or rules to clear any unused entries there in the aftermath of malware attack and removal, or when some of the networking features don't work due to misconfiguration of the Windows Firewall. Windows Firewall has predefined Inbound and Outbound connection rules\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"reset windows firewall settings","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":56584,"url":"https:\/\/www.winhelponline.com\/blog\/access-windows-recovery-environment\/","url_meta":{"origin":53640,"position":5},"title":"How to access Windows Recovery Environment (WinRE)","author":"Ramesh","date":"June 27, 2023","format":false,"excerpt":"Windows Recovery Environment (WinRE) is a recovery environment based on Windows PE that contains troubleshooting and diagnostic tools to repair an unbootable operating system. By default, WinRE is preinstalled into Windows 10 and Windows 11. WinRE has the following features: Start recovery, troubleshooting, and diagnostic tools. (System Restore, Startup Repair,\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"Automatic repair - Startup repair - Windows Recovery","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/startup-repair-advanced-options.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/startup-repair-advanced-options.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/startup-repair-advanced-options.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/startup-repair-advanced-options.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/53640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=53640"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/53640\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=53640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=53640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=53640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}