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


windows_terminal_pre_banner.png

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

The Windows Terminal Preview app contains the latest features as they are developed. 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.

If you install the Windows Terminal Preview app, a Open in Terminal Preview context menu is added by default for when you right click or shift + right click on a folder or folder background.


Contents

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


EXAMPLE: "Open in Terminal Preview" context menu

Open_in_Terminal_Preview_context_menu.png





Option One

Add or Remove "Open in Terminal Preview" 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 Preview" 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_Preview_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]
"{02DB545A-3E20-46DE-83A5-1329B1E88B6B}"=-

3 Remove "Open in Terminal Preview" 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_Preview_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]
"{02DB545A-3E20-46DE-83A5-1329B1E88B6B}"=""

4 Save the .reg file to your desktop.

5 If you have Smart App Control turned on, you will need to unblock the downloaded REG file.

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

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

8 Sometimes you may need to restart the explorer process to apply.

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




Option Two

Add or Remove "Open in Terminal Preview" 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 Preview" 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_Preview_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]
"{02DB545A-3E20-46DE-83A5-1329B1E88B6B}"=-

3 Remove "Open in Terminal Preview" 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_Preview_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]
"{02DB545A-3E20-46DE-83A5-1329B1E88B6B}"=""

4 Save the .reg file to your desktop.

5 If you have Smart App Control turned on, you will need to unblock the downloaded REG file.

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

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

8 Sometimes you may need to restart the explorer process to apply.

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


That's it,
Shawn Brink


 

Attachments

Last edited:
wonder if there is a reg file to remove "Open in Terminal" without the "Preview" suffix
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
wonder if there is a reg file to remove "Open in Terminal" without the "Preview" suffix

Hello, and welcome to the forum. :alien:

Here you go:

 

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
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender

Latest Support Threads

Back
Top Bottom