Personalization Add or Remove "Open in Terminal" context menu in Windows 11


  • Staff
Windows_Terminal_banner.png

Windows Terminal is included by default in Windows 11.

The Windows Terminal is a modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL. Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles, and configurations.

See also:

Windows 11 includes a Open in Terminal context menu by default when you right click or shift + right click on a folder or folder background, but this does not open Windows Terminal elevated (run as administrator).

This tutorial will show you how to add or remove the Open in Terminal context menu for your account or all users in Windows 11.

Contents

  • Option One: Add or Remove "Open in Terminal" context menu for Current User
  • Option Two: Add or Remove "Open in Terminal" context menu for All Users


EXAMPLE: "Open in Terminal" context menu

Open_in_Terminal.png






OPTION ONE

Add or Remove "Open in Terminal" context menu for Current User


1 Do step 2 (add) or step 3 (remove) below for what you would like to do.


2 Add "Open in Terminal" context menu for Current User

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Add_Open_in_Windows_Terminal_context_menu_for_current_user.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=-


3 Remove "Open in Terminal" context menu for Current User

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Remove_Open_in_Windows_Terminal_context_menu_for_current_user.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=""

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.





OPTION TWO

Add or Remove "Open in Terminal" context menu for All Users


You must be signed in as an administrator to use this option.


1 Do step 2 (add) or step 3 (remove) below for what you would like to do.


2 Add "Open in Windows Terminal" context menu for All Users

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Add_Open_in_Windows_Terminal_context_menu_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=-


3 Remove "Open in Terminal" context menu for All Users

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Remove_Open_in_Windows_Terminal_context_menu_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=""

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • Windows_Terminal.png
    Windows_Terminal.png
    5.5 KB · Views: 59
  • Add_Open_in_Windows_Terminal_context_menu_for_all_users.reg
    708 bytes · Views: 146
  • Remove_Open_in_Windows_Terminal_context_menu_for_all_users.reg
    710 bytes · Views: 187
  • Add_Open_in_Windows_Terminal_context_menu_for_current_user.reg
    702 bytes · Views: 172
  • Remove_Open_in_Windows_Terminal_context_menu_for_current_user.reg
    704 bytes · Views: 155
Last edited:

ThrashZone

Minor Threat
Power User
VIP
Local time
1:59 AM
Posts
1,140
OS
Linux-Mint-Cinnamon-20.2 Win-7-10-11Pro's
Hi,
Nice
I did the add terminal as admin to context menu so sure don't need the vanilla one :cool:
 

My Computer

System One

  • OS
    Linux-Mint-Cinnamon-20.2 Win-7-10-11Pro's
    Computer type
    PC/Desktop
    Manufacturer/Model
    asus x3
    CPU
    10900k & 9940x & 5930k
    Motherboard
    z490-Apex & x299-Apex & x99-Sabertooth
    Memory
    Trident-Z Royal 4000c16 2x16gb & Trident-Z 3600c16 4x8gb & 3200c14 4x8gb
    Graphics Card(s)
    Titan Xp & 1080ti FTW3 & evga 980ti gaming
    Sound Card
    Onboard Realtek x3
    Monitor(s) Displays
    1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24"/ 3rd LG 43" series
    Screen Resolution
    1920-1080 not sure what the t.v is besides 43" class scales from 1920-1080 perfectly
    Hard Drives
    To many to list
    PSU
    1000p2 & 1200p2 & 850p2
    Case
    D450 x2 & 1 Test bench in cherry Entertainment center
    Cooling
    Custom water loops x3 with 2x mora 360mm rads only 980ti gaming air cooled
    Keyboard
    G710+x3
    Mouse
    Redragon x3
    Internet Speed
    xfinity gigabyte
    Browser
    Firefox
    Antivirus
    mbam pro

Bug locker

Active member
Local time
9:59 AM
Posts
104
Location
Athens
OS
Windows 11 Pro

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton 360

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
1:59 AM
Posts
4,873
OS
Windows 11 Pro for Workstations
Hi. At least at my system , remove requires a restart explorer or sign out to work. (y) :wink:

Hello mate, :-)

Odd. The changes get applied immediately for me. It'll be interesting to hear from others if it's the same for them or not.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Bug locker

Active member
Local time
9:59 AM
Posts
104
Location
Athens
OS
Windows 11 Pro
Hello mate, :)

Odd. The changes get applied immediately for me. It'll be interesting to hear from others if it's the same for them or not.
I think that in any case it would be good to add to the article "if it does not work immediately restart explorer or sign-out....". (y)
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton 360

hal9001

New member
Local time
11:59 PM
Posts
1
OS
Windows 11 Pro
For me, installed Windows Terminal through micro store in win 11, but the context menu not appear! In registry it was not blocked (not in current user, not in local machine). Used laptop, maybe somebody else already disabled it other way? I used to have context menu in my old win 10 laptop with no effort, sad to be missing it now.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Precision 3551
    CPU
    Core i7-10850H
    Graphics Card(s)
    Quadro

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
1:59 AM
Posts
4,873
OS
Windows 11 Pro for Workstations
For me, installed Windows Terminal through micro store in win 11, but the context menu not appear! In registry it was not blocked (not in current user, not in local machine). Used laptop, maybe somebody else already disabled it other way? I used to have context menu in my old win 10 laptop with no effort, sad to be missing it now.

Hello, and welcome, :-)

If you like, you might try the context menu added by the tutorial below to see if it may work better for you.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium
Top Bottom