/
/

How to Add or Remove “Open in Windows Terminal” Expandable Context Menu in Windows 10

How to Add or Remove Open in Windows Terminal expandable context menu in Windows 10 blog banner image

The “Open in Windows Terminal” context menu in Windows 10 lets you open files with Microsoft’s unified command tool. While modern features make it a must-have for advanced users, removing the Open in Windows Terminal from the list can make the context menu look cleaner. In this article, we will show you the steps on how to add or remove the “Open in Windows Terminal” expandable context menu in Windows 10.

For more customization, you can also add or remove profiles in Windows Terminal to tailor your command-line experience.

How to add “Open in Windows Terminal” to the context menu

Option 1: Install Windows Terminal

Installing the Windows Terminal app adds the “Open in Windows terminal” option to your context menu. Here’s how:

  1. Press the Windows key + S and search for the Microsoft Store.
  2. Search for the official Windows Terminal in the store.
  3. Click on Get and wait for the download to finish.
  4. Follow the on-screen prompts to install the app.
  5. Press the Windows key + I to open your Settings.
  6. Navigate to Apps > Optional features to verify that Windows Terminal has been installed.
  7. Restart your computer.
  8. Hold down Shift on your keyboard, and then right-click a folder to check if “Open in Windows Terminal” appears.

Option 2: Use the Registry Editor to add the “Open in Windows Terminal” option

This method requires administrator privileges and modifies deep-root settings in your Windows Registry.

💡Tip: Before you start, it’s advisable to create a backup for your Windows Registry.

  1. Press the Windows key + R to open the Run dialog.
  2. Type regedit and hit Enter.
  3. On the left-hand panel, navigate to HKEY_CLASSES_ROOT > Directory > shell.
  4. Right-click on the shell folder and select New > Key.
  5. Name the new key OpenWTHere.
  6. Double-click on its (Default) value and enter Open in Windows Terminal.
  7. Create a new string value named Icon and enter wt.exe.
  8. Right-click on OpenWTHere and select New > Key.
  9. Name the new key command.
  10. Double-click on its (Default) value and enter wt -d “%1”.
  11. Click Apply, then choose OK.
  12. Restart your computer to apply the changes.

How to remove “Open in Windows terminal” from the context menu

One method requires administrator privileges and modifies specific system settings in your Windows Registry, so before you start, make sure you create a backup.

Option 1: Uninstall Windows Terminal

Deleting the Windows Terminal app removes the “Open in Windows Terminal” option in your context menu. Here’s how you do it:

  1. Press the Windows key + I to open Settings.
  2. Navigate to Apps > Installed apps.
  3. Scroll down to find the Windows Terminal app.
  4. Click on Uninstall to remove it from your system.
  5. Restart your computer to apply the changes.

Option 2: Use the Registry Editor to remove the “Open in Windows Terminal” option

  1. Press the Windows key + R to open the Run dialog.
  2. Type regedit and hit Enter.
  3. On the left-hand panel, navigate to HKEY_CLASSES_ROOT > Directory > shell.
  4. Right-click on OpenWTHere and choose Delete. Confirm your choice.
  5.  Click Apply, then choose OK.
  6. Restart your computer to apply the changes.

Troubleshooting common issues

Adding or removing the “Open in Windows Terminal” expandable context menu uses advanced settings. This may pose some bottlenecks and present unwanted issues. Here are some of the most common problems users encounter and their potential solutions.

Issue: “Open in Windows terminal” is missing even after installing Windows terminal

Still not seeing the “Open in Windows Terminal” expandable context menu? Try the following fixes:

Reinstall Windows Terminal

  1. Go to Settings > Apps > Installed apps and look for Windows Terminal.
  2. Click the three dots next to it and select Uninstall.
  3. Restart your computer to apply the changes.
  4. Install Windows Terminal from the Microsoft Store.

Repair or reset Windows Terminal

  1. Go to Settings > Apps > Installed apps and look for Windows Terminal.
  2. Click on Advanced options.
  3. Scroll down to find the Repair and Reset options.
  4. Click on Repair.
  5. If the expandable menu is still missing, go back and select Reset.

Check for updates

Head to Settings > Windows Update to get the latest patches, which tackle performance issues, bugs, and more.

Issue: Cannot remove the context menu option after uninstalling the Windows terminal

To fix this:

  • Restart Windows Explorer through Task Manager by pressing Ctrl + Shift + Esc.
  • Scroll down to locate the Windows Explorer task, right-click on it, and select Restart.

If the “Open in Windows Terminal” expandable context menu still appears, you’ll need to access your Registry Editor to make the necessary changes.

Issue: Context menu still shows “Windows console host” instead of Windows Terminal

If this happens, set the terminal as your default command-line application. To do this:

  • Open the Windows Terminal and go to Settings.
  • Navigate to Settings > Startup.
  • Under Default Terminal Preview, choose the Windows Terminal.

Frequently Asked Questions (FAQs)

Does this work in Windows 11, or is it only for Windows 10?

The “Open in Windows Terminal” context menu option is available for both Windows 11 and Windows 10. It comes pre-installed on all Windows 11 systems and can be downloaded on your Windows 10 computer.

How do I restore the “Open in Windows Terminal” option if I accidentally remove it?

Lose access to the “Open in Windows Terminal” context menu? Check your apps list to see if it’s still installed or use the Registry Editor to manually add it back.

Can I customize Windows Terminal when opening it from the context menu?

Yes, you may modify your preferences in the app when you open it from the context menu option. To do this, open Windows Terminal and go to Settings > Profiles. Afterward, you can customize each profile to your liking, configuring the features you want to see every time you access it.

Why does “Open in Windows Terminal” sometimes not appear in certain folders?

Folder type restrictions, Windows updates, and a corrupted Windows Explorer cache are the known causes for the “Open in Windows Terminal” context menu option being unavailable for certain folders.

Control your options with the “open terminal in Windows” menu

The “Open in Windows Terminal” context menu lets you quickly access Microsoft’s powerful, unified command-line app. This program comes with Windows 11 by default and can be installed on Windows 10 devices. While it provides a lot of convenience, users have the option to remove it from their right-click menu in various ways.

System reboots and Windows Terminal updates can fix most problems you may come across. Learning how to add or remove “Open in Windows Terminal” from your context menu lets you control your workspace, giving you more potential to optimize workflows.

You might also like

Ready to simplify the hardest parts of IT?
×

See NinjaOne in action!

By submitting this form, I accept NinjaOne's privacy policy.

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).