Add Windows Terminal to the Desktop Right-Click Menu
You can add frequently used programs to the Windows right-click menu so they can be launched directly from the desktop background. For example, after adding Windows Terminal, the context menu will show a custom entry that opens it immediately.

Using Windows Terminal as an example
- Open Registry Editor: press
Win + R, typeregedit, and press Enter. - In Registry Editor, go to the following location:
HKEY_CLASSES_ROOT\Directory\Background\shell
- In the tree view on the left, right-click the
shellkey, choose New, and then choose Key. - Name the new key with the text you want to appear in the right-click menu, such as
Open Windows Terminal. - Under this newly created key, create another key: right-click it, choose New, and then choose Key.
- Name this subkey
command. - Set the default value in the right pane: double-click the default value under the
commandkey, and in the string editor, enter the executable path for Windows Terminal. By default, the Windows Terminal executable path is:
C:\Users\你的用户名\AppData\Local\Microsoft\WindowsApps\wt.exe
Note: If you installed a different version of Windows Terminal, or installed it in another location, change the path accordingly.
Add an icon to the menu item
The steps above only add the launch entry. If you also want the right-click menu item to display a Windows Terminal icon, add an Icon string value to the same registry key.
- Prepare an icon file, usually in ICO or PNG format. You can look for one in the program’s installation directory or use your own icon file.
- In Registry Editor, find the Windows Terminal menu item you just created and navigate to:
HKEY_CLASSES_ROOT\Directory\Background\shell\Open Windows Terminal
- In the right pane, right-click an empty area, choose New, and then choose String Value.
- Name the new string value
Icon. - Double-click the
Iconstring value and set its value data to the full path of your icon file. For example, if the icon file is namedterminal.icoand is stored in theC:\Iconsfolder, the path would be:
C:\Icons\terminal.ico
Make sure the path is correct and that the icon file can be accessed from that location.