Personalization Add "Open in Windows Terminal (Admin)" context menu in Windows 11


  • Staff
Windows_Terminal_elevated_banner.png

This tutorial will show you how to add or remove a Open in Windows Terminal as administrator context menu for all users in Windows 11.

Windows Terminal is a modern host application for the command-line shells you already love, like Command Prompt, PowerShell, and bash (via Windows Subsystem for Linux (WSL)). Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and the ability to create your own themes and customize text, colors, backgrounds, and shortcuts.

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).

The Open in Windows Terminal as administrator context menu will allow you to select to open an elevated Windows Terminal to the current folder path with the default shell profile, Command Prompt shell profile, or Windows PowerShell shell profile.


You must be signed in as an administrator to add, remove, and use the "Open in Windows Terminal as administrator" context menu.


EXAMPLE: "Open in Windows Terminal as administrator" context menu

Show_more_options.png
Open_in_Windows_Terminal_as_administrator.png




Here's How:

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

2 Add Expandable Right Click "Open in Windows Terminal as administrator" Context Menu

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

Add_expandable_Open_in_Windows_Terminal_as_administrator.reg

Download

If you installed PowerShell 7 and would like to add it to this context menu, then you can download and merge the Add_PowerShell_7_as_admin.reg file below afterwards.

Download

If you installed Ubuntu for WSL and would like to add Ubuntu to this context menu, then you can download and merge the Add_Ubuntu_as_admin.reg file below afterwards.

Download


(Contents of .Add_Open_in_Windows_Terminal_as_administrator.reg file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\OpenWTHereAsAdmin]
"HasLUAShield"=""
"MUIVerb"="Open in Windows Terminal as administrator"
"Extended"=-
"SubCommands"=""

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\001flyout]
"MUIVerb"="Default Profile"
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\001flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-d','\"\"\"%V\\.\"\"\"')\""


[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\002flyout]
"MUIVerb"="Command Prompt"
"Icon"="imageres.dll,-5324"

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\002flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Command Prompt\"\"\"','-d','\"\"\"%V\\.\"\"\"')\""


[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\003flyout]
"MUIVerb"="PowerShell"
"HasLUAShield"=""
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHereAsAdmin\shell\003flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Windows PowerShell\"\"\"','-d','\"\"\"%1\\.\"\"\"')\""



[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHereAsAdmin]
"HasLUAShield"=""
"MUIVerb"="Open in Windows Terminal as administrator"
"Extended"=-
"SubCommands"=""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\001flyout]
"MUIVerb"="Default Profile"
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\001flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-d','\"\"\"%V\\.\"\"\"')\""


[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\002flyout]
"MUIVerb"="Command Prompt"
"Icon"="imageres.dll,-5324"

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\002flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Command Prompt\"\"\"','-d','\"\"\"%V\\.\"\"\"')\""


[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\003flyout]
"MUIVerb"="PowerShell"
"HasLUAShield"=""
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHereAsAdmin\shell\003flyout\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-p','\"\"\"Windows PowerShell\"\"\"','-d','\"\"\"%V\\.\"\"\"')\""


3 Add "Open in Windows Terminal as administrator" Context Menu

This will add a non-expandable "Open in Windows Terminal as administrator" context menu that opens with your default profile.


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

Add_Open_in_Windows_Terminal_as_administrator.reg

Download

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

[-HKEY_CLASSES_ROOT\Directory\shell\OpenWTHereAsAdmin]

[HKEY_CLASSES_ROOT\Directory\shell\OpenWTHereAsAdmin]
"HasLUAShield"=""
"MUIVerb"="Open in Windows Terminal as administrator"
"Extended"=-

[HKEY_CLASSES_ROOT\Directory\shell\OpenWTHereAsAdmin\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-d','\"\"\"%V\\.\"\"\"')\""


[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHereAsAdmin]
"HasLUAShield"=""
"MUIVerb"="Open in Windows Terminal as administrator"
"Extended"=-

[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHereAsAdmin\command]
@="powershell.exe -WindowStyle Hidden \"Start-Process -Verb RunAs cmd.exe -ArgumentList @('/c','start wt.exe','-d','\"\"\"%V\\.\"\"\"')\""


4 Remove "Open in Windows Terminal as administrator" Context Menu

This is the default setting.


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

Remove_Open_in_Windows_Terminal_as_administrator.reg

Download

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

[-HKEY_CLASSES_ROOT\Directory\shell\OpenWTHereAsAdmin]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHereAsAdmin]

5 Save the .reg file to your desktop.

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 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • Windows_Terminal_elevated.png
    Windows_Terminal_elevated.png
    8.4 KB · Views: 166
  • Remove_Open_in_Windows_Terminal_as_administrator.reg
    344 bytes · Views: 456
  • Add_Ubuntu_as_admin.reg
    1 KB · Views: 169
  • Add_PowerShell_7_as_admin.reg
    1 KB · Views: 138
  • Add_expandable_Open_in_Windows_Terminal_as_administrator.reg
    2.9 KB · Views: 106
  • Add_Open_in_Windows_Terminal_as_administrator.reg
    1,000 bytes · Views: 42
Last edited:
Is there a way to reorder this list? I like in your screenshot that the Admin prompt is right below the standard one... however mine has "Atom" in between them.

Screenshot 2022-01-23 21.56.16.png
 

My Computers

System One System Two

  • OS
    Windows 11 Pro β
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion Laptop 15-eg0070wm
    CPU
    Intel® Core™ i7-1165G7
    Memory
    32 GB DDR4-3200 SDRAM
    Graphics Card(s)
    Intel® Iris® Xᵉ Graphics
    Screen Resolution
    1920x1080
    Hard Drives
    2TB PCIe® NVMe™ M.2 SSD
  • Operating System
    macOS Ventura
    Computer type
    PC/Desktop
    Manufacturer/Model
    Apple iMac 27" 5K (2017)
    CPU
    3.4 GHz Quad-Core Intel Core i5
    Memory
    40 GB 2400 MHz DDR4
    Graphics card(s)
    Radeon Pro 570 4 GB
    Monitor(s) Displays
    27" 5K, 34" UW
    Screen Resolution
    Mon 1: 5120 × 2880 Mon 2: 2560 x 1080
    Hard Drives
    32GB NVME, 1TB SSD
Is there a way to reorder this list? I like in your screenshot that the Admin prompt is right below the standard one... however mine has "Atom" in between them.

Hello, :-)

You could add the line below to the first section of the REG file for each context menu to move them to the bottom so they be together there.

"Position"="Bottom"
 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
I was able to move the Admin prompt to the bottom, but got an error (I think it was about permissions) trying to move the normal terminal to the bottom as well. So I just removed that from the Admin prompt and moved Atom to the bottom instead and they are together now. Oh, and I renamed it. :)

Screenshot 2022-01-24 10.38.23.png
 

My Computers

System One System Two

  • OS
    Windows 11 Pro β
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion Laptop 15-eg0070wm
    CPU
    Intel® Core™ i7-1165G7
    Memory
    32 GB DDR4-3200 SDRAM
    Graphics Card(s)
    Intel® Iris® Xᵉ Graphics
    Screen Resolution
    1920x1080
    Hard Drives
    2TB PCIe® NVMe™ M.2 SSD
  • Operating System
    macOS Ventura
    Computer type
    PC/Desktop
    Manufacturer/Model
    Apple iMac 27" 5K (2017)
    CPU
    3.4 GHz Quad-Core Intel Core i5
    Memory
    40 GB 2400 MHz DDR4
    Graphics card(s)
    Radeon Pro 570 4 GB
    Monitor(s) Displays
    27" 5K, 34" UW
    Screen Resolution
    Mon 1: 5120 × 2880 Mon 2: 2560 x 1080
    Hard Drives
    32GB NVME, 1TB SSD
I was able to move the Admin prompt to the bottom, but got an error (I think it was about permissions) trying to move the normal terminal to the bottom as well. So I just removed that from the Admin prompt and moved Atom to the bottom instead and they are together now. Oh, and I renamed it. :)
That'll work. :party:
 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
I can't get the entry to the bottom on Desktop unless I create a .reg for DesktopBackground...,
and..., to get it ALL the way to the bottom, you have to prefix the key with a blank character...

Edit:
It's actually advantageous when you have an MUIVerb, then you can change the key name to shuffle the hierarchy but the entry in the menu remains where it should, un-bulleted.

0002058.png
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
Great! But how about just "Open in Windows Terminal as administrator" on default profile? Thanks!
 

My Computer

System One

  • OS
    Windows 10
Great! But how about just "Open in Windows Terminal as administrator" on default profile? Thanks!

Hello,

I'm afraid a profile is just the shell (ex: Command Prompt vs PowerShell) instead of "Open in Windows Terminal" vs "Open in Windows Terminal as administrator". :(

 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
I have tried everything, Windows Terminal works from the Windows+X or right click on the start menu, but when installing the shell integration to the right click menu, it "starts" to open terminal, then goes to a cmd window and says:

Windows can not find 'wt.exe'. Make sure you typed the name correctly, and then try again. I have tried everything out there. The curious part is that if I log in on the "REAL" Administrator Account (turned on from gpedit.msc..) it works properly on that user. I am baffled and very tired of searching for an answer to this.
 

Attachments

  • wt.exe_error.png
    wt.exe_error.png
    29.9 KB · Views: 70
Last edited:

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    In-house build
    CPU
    AMD Ryzen Threadripper 3970X 32-Core Processor 3.70
    Motherboard
    Gigabyte TRX40 DESIGNARE, Rev 1.1
    Memory
    256 GB 8 X 32 GB DDR4-3200 DDR4 SDRAM (24-20-20-38 @ 1600 MHz) XMP 3200 MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3080 Ti (12 GB)
    Sound Card
    AMD K17.3 - High Definition Audio Controller
    Monitor(s) Displays
    2 X Gigabyte Aorus FI27Q-X
    Screen Resolution
    2560X1440
    Hard Drives
    Samsung 2TB 990 EVO PCI-e 4.0 M.2 SSD
    Sabrent Rocket 4.0 2TB, Seagate FireCuda 520 SSD ZP2000GM30002, 2 X ST2000DM008-2FR102, TOSHIBA MQ01ABD100, WDC WD4003FRYZ-01F0DB0
    PSU
    Super Flower LEADEX Gold 1300 watt
    Case
    Corsair Obsidian Series 750D Airflow Edition
    Cooling
    ICEGIANT ProSiphon Elite
    Keyboard
    Corsair Strafe RGB MK2
    Mouse
    Logitech M705 Marathon Wireless Mouse
    Internet Speed
    100Mbps
    Browser
    Vivaldi
    Antivirus
    ESET NOD 32
I have tried everything, Windows Terminal works from the Windows+X or right click on the start menu, but when installing the shell integration to the right click menu, it "starts" to open terminal, then goes to a cmd window and says:

Windows can not find 'wt.exe'. Make sure you typed the name correctly, and then try again. I have tried everything out there. The curious part is that if I log in on the "REAL" Administrator Account (turned on from gpedit.msc..) it works properly on that user. I am baffled and very tired of searching for an answer to this.

Hello, and welcome. :alien:

As a test, if you open Run (Win+R), type wt.exe into Run, and press Enter, does it open Windows Terminal?
 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Hello, and welcome. :alien:

As a test, if you open Run (Win+R), type wt.exe into Run, and press Enter, does it open Windows Terminal?

Yes it sure does, The Windows X menu works.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    In-house build
    CPU
    AMD Ryzen Threadripper 3970X 32-Core Processor 3.70
    Motherboard
    Gigabyte TRX40 DESIGNARE, Rev 1.1
    Memory
    256 GB 8 X 32 GB DDR4-3200 DDR4 SDRAM (24-20-20-38 @ 1600 MHz) XMP 3200 MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3080 Ti (12 GB)
    Sound Card
    AMD K17.3 - High Definition Audio Controller
    Monitor(s) Displays
    2 X Gigabyte Aorus FI27Q-X
    Screen Resolution
    2560X1440
    Hard Drives
    Samsung 2TB 990 EVO PCI-e 4.0 M.2 SSD
    Sabrent Rocket 4.0 2TB, Seagate FireCuda 520 SSD ZP2000GM30002, 2 X ST2000DM008-2FR102, TOSHIBA MQ01ABD100, WDC WD4003FRYZ-01F0DB0
    PSU
    Super Flower LEADEX Gold 1300 watt
    Case
    Corsair Obsidian Series 750D Airflow Edition
    Cooling
    ICEGIANT ProSiphon Elite
    Keyboard
    Corsair Strafe RGB MK2
    Mouse
    Logitech M705 Marathon Wireless Mouse
    Internet Speed
    100Mbps
    Browser
    Vivaldi
    Antivirus
    ESET NOD 32
Yes it sure does, The Windows X menu works.

Is there anything changed in the account this doesn't work in?

For example, did you disable UAC, change the user profile folder location, etc?

Is app execution aliases turned on, and turned on for Terminal?

 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Is there anything changed in the account this doesn't work in?

For example, did you disable UAC, change the user profile folder location, etc?

Is app execution aliases turned on, and turned on for Terminal?


One thing was changed, the UAC was set to not notify. Curiously when I turn it back on, the terminal opens and stay open while I am dealing with UAC. Then once I select "yes" on UAC, the terminal changes into a cmd.exe and gives me the error I posted above. Thanks in advance for your assistance.

Oh,

Is app execution aliases turned on, and turned on for Terminal?
And it has been customized, but it's not hacked all that much.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    In-house build
    CPU
    AMD Ryzen Threadripper 3970X 32-Core Processor 3.70
    Motherboard
    Gigabyte TRX40 DESIGNARE, Rev 1.1
    Memory
    256 GB 8 X 32 GB DDR4-3200 DDR4 SDRAM (24-20-20-38 @ 1600 MHz) XMP 3200 MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3080 Ti (12 GB)
    Sound Card
    AMD K17.3 - High Definition Audio Controller
    Monitor(s) Displays
    2 X Gigabyte Aorus FI27Q-X
    Screen Resolution
    2560X1440
    Hard Drives
    Samsung 2TB 990 EVO PCI-e 4.0 M.2 SSD
    Sabrent Rocket 4.0 2TB, Seagate FireCuda 520 SSD ZP2000GM30002, 2 X ST2000DM008-2FR102, TOSHIBA MQ01ABD100, WDC WD4003FRYZ-01F0DB0
    PSU
    Super Flower LEADEX Gold 1300 watt
    Case
    Corsair Obsidian Series 750D Airflow Edition
    Cooling
    ICEGIANT ProSiphon Elite
    Keyboard
    Corsair Strafe RGB MK2
    Mouse
    Logitech M705 Marathon Wireless Mouse
    Internet Speed
    100Mbps
    Browser
    Vivaldi
    Antivirus
    ESET NOD 32
Here is the behavior with UAC turned on on the lowest settinng.
 

Attachments

  • wt.exe_errorA.png
    wt.exe_errorA.png
    144.5 KB · Views: 87
  • wt.exe_errorB.png
    wt.exe_errorB.png
    58 KB · Views: 60

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    In-house build
    CPU
    AMD Ryzen Threadripper 3970X 32-Core Processor 3.70
    Motherboard
    Gigabyte TRX40 DESIGNARE, Rev 1.1
    Memory
    256 GB 8 X 32 GB DDR4-3200 DDR4 SDRAM (24-20-20-38 @ 1600 MHz) XMP 3200 MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3080 Ti (12 GB)
    Sound Card
    AMD K17.3 - High Definition Audio Controller
    Monitor(s) Displays
    2 X Gigabyte Aorus FI27Q-X
    Screen Resolution
    2560X1440
    Hard Drives
    Samsung 2TB 990 EVO PCI-e 4.0 M.2 SSD
    Sabrent Rocket 4.0 2TB, Seagate FireCuda 520 SSD ZP2000GM30002, 2 X ST2000DM008-2FR102, TOSHIBA MQ01ABD100, WDC WD4003FRYZ-01F0DB0
    PSU
    Super Flower LEADEX Gold 1300 watt
    Case
    Corsair Obsidian Series 750D Airflow Edition
    Cooling
    ICEGIANT ProSiphon Elite
    Keyboard
    Corsair Strafe RGB MK2
    Mouse
    Logitech M705 Marathon Wireless Mouse
    Internet Speed
    100Mbps
    Browser
    Vivaldi
    Antivirus
    ESET NOD 32
And it has been customized, but it's not hacked all that much.

What was changed with the app execution alias for Terminal? This may be the cause depending on what was changed.
 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
What was changed with the app execution alias for Terminal? This may be the cause depending on what was changed.
Nothing was, that was set properly.

I ended up just running an in place Windows 11 Update. Didn't lose too much. Thanks for your assistance. It works properly now so who knows what the root cause was...
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    In-house build
    CPU
    AMD Ryzen Threadripper 3970X 32-Core Processor 3.70
    Motherboard
    Gigabyte TRX40 DESIGNARE, Rev 1.1
    Memory
    256 GB 8 X 32 GB DDR4-3200 DDR4 SDRAM (24-20-20-38 @ 1600 MHz) XMP 3200 MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3080 Ti (12 GB)
    Sound Card
    AMD K17.3 - High Definition Audio Controller
    Monitor(s) Displays
    2 X Gigabyte Aorus FI27Q-X
    Screen Resolution
    2560X1440
    Hard Drives
    Samsung 2TB 990 EVO PCI-e 4.0 M.2 SSD
    Sabrent Rocket 4.0 2TB, Seagate FireCuda 520 SSD ZP2000GM30002, 2 X ST2000DM008-2FR102, TOSHIBA MQ01ABD100, WDC WD4003FRYZ-01F0DB0
    PSU
    Super Flower LEADEX Gold 1300 watt
    Case
    Corsair Obsidian Series 750D Airflow Edition
    Cooling
    ICEGIANT ProSiphon Elite
    Keyboard
    Corsair Strafe RGB MK2
    Mouse
    Logitech M705 Marathon Wireless Mouse
    Internet Speed
    100Mbps
    Browser
    Vivaldi
    Antivirus
    ESET NOD 32
Nothing was, that was set properly.

I ended up just running an in place Windows 11 Update. Didn't lose too much. Thanks for your assistance. It works properly now so who knows what the root cause was...

Great news.
 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Me again. Hey is there anything I should know about the add Ubuntu registry file? I have WSL 2 installed and updated and Ubuntu 20.04 installed on Windows 11 and it just does absolutely nothing - doesn't even begin to open any sort of shell. Can you elaborate on that .reg file so hopefully I can connect the Linux Penguin with Ubuntu 20.04 on Windows shell? The rest work just fine. I wish I could understand the regular expressions or what is in the .reg files and the registry. I know where they are, but not what to do about them. Thanks in advance if you have any guidance.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    In-house build
    CPU
    AMD Ryzen Threadripper 3970X 32-Core Processor 3.70
    Motherboard
    Gigabyte TRX40 DESIGNARE, Rev 1.1
    Memory
    256 GB 8 X 32 GB DDR4-3200 DDR4 SDRAM (24-20-20-38 @ 1600 MHz) XMP 3200 MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3080 Ti (12 GB)
    Sound Card
    AMD K17.3 - High Definition Audio Controller
    Monitor(s) Displays
    2 X Gigabyte Aorus FI27Q-X
    Screen Resolution
    2560X1440
    Hard Drives
    Samsung 2TB 990 EVO PCI-e 4.0 M.2 SSD
    Sabrent Rocket 4.0 2TB, Seagate FireCuda 520 SSD ZP2000GM30002, 2 X ST2000DM008-2FR102, TOSHIBA MQ01ABD100, WDC WD4003FRYZ-01F0DB0
    PSU
    Super Flower LEADEX Gold 1300 watt
    Case
    Corsair Obsidian Series 750D Airflow Edition
    Cooling
    ICEGIANT ProSiphon Elite
    Keyboard
    Corsair Strafe RGB MK2
    Mouse
    Logitech M705 Marathon Wireless Mouse
    Internet Speed
    100Mbps
    Browser
    Vivaldi
    Antivirus
    ESET NOD 32
Me again. Hey is there anything I should know about the add Ubuntu registry file? I have WSL 2 installed and updated and Ubuntu 20.04 installed on Windows 11 and it just does absolutely nothing - doesn't even begin to open any sort of shell. Can you elaborate on that .reg file so hopefully I can connect the Linux Penguin with Ubuntu 20.04 on Windows shell? The rest work just fine. I wish I could understand the regular expressions or what is in the .reg files and the registry. I know where they are, but not what to do about them. Thanks in advance if you have any guidance.
Sorry about that. Looks like there was a change. I've updated the Add_Ubuntu_as_admin.reg download in the tutorial.

Please download and merge the updated version in the tutorial to see how it works for you now.
 

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,
    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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
I hate to trouble you further, but I thought I would report back...

Default profile goes to Powershell 7.3.1 as admin on the desktop where I clicked (as I have it installed.)
Command Prompt goes to command prompt as admin on the desktop where I clicked.
Ubuntu goes to Powershell 7.3.1 as admin on the desktop where I clicked. Not to Ubuntu.

To clarify, I only used:
Add_Open_in_Windows_Terminal_as_administrator.reg
and
Add_Ubuntu_as_admin.reg
as adding the PowerShell 7 entry would be redundant since PowerShell 7.3.1 is my "Default Profile"

I hope not to be too much of an inconvenience. Maybe it can't work, but this is progress.
 
Last edited:

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    In-house build
    CPU
    AMD Ryzen Threadripper 3970X 32-Core Processor 3.70
    Motherboard
    Gigabyte TRX40 DESIGNARE, Rev 1.1
    Memory
    256 GB 8 X 32 GB DDR4-3200 DDR4 SDRAM (24-20-20-38 @ 1600 MHz) XMP 3200 MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3080 Ti (12 GB)
    Sound Card
    AMD K17.3 - High Definition Audio Controller
    Monitor(s) Displays
    2 X Gigabyte Aorus FI27Q-X
    Screen Resolution
    2560X1440
    Hard Drives
    Samsung 2TB 990 EVO PCI-e 4.0 M.2 SSD
    Sabrent Rocket 4.0 2TB, Seagate FireCuda 520 SSD ZP2000GM30002, 2 X ST2000DM008-2FR102, TOSHIBA MQ01ABD100, WDC WD4003FRYZ-01F0DB0
    PSU
    Super Flower LEADEX Gold 1300 watt
    Case
    Corsair Obsidian Series 750D Airflow Edition
    Cooling
    ICEGIANT ProSiphon Elite
    Keyboard
    Corsair Strafe RGB MK2
    Mouse
    Logitech M705 Marathon Wireless Mouse
    Internet Speed
    100Mbps
    Browser
    Vivaldi
    Antivirus
    ESET NOD 32

Latest Support Threads

Back
Top Bottom