How to get "Open in Terminal" context menu option on Windows 10 LTSC?

Discussion in 'Windows 10' started by knownbyfew, Nov 27, 2023.

  1. knownbyfew

    knownbyfew MDL Novice

    Aug 17, 2021
    13
    1
    0
    Hey,

    So, I recently installed Windows 10 LTSC and have the Microsoft Store installed on it as well.

    I regularly use Windows Terminal so I downloaded it from the Store but for some reason I don't get the "Open in Terminal" option on the context menu like you do on consumer editions of Windows 10.

    Any solutions?
    Thanks
     
  2. Peter Zimmermann

    Peter Zimmermann MDL Novice

    Oct 5, 2020
    11
    2
    0
    WinaeroTweaker
     
  3. knownbyfew

    knownbyfew MDL Novice

    Aug 17, 2021
    13
    1
    0
    Tried it before, didn't work.
     
  4. knownbyfew

    knownbyfew MDL Novice

    Aug 17, 2021
    13
    1
    0
    Tried the first one, it made no difference whether it was for the current users or all users.

    Also, I just wanted the "Open in Terminal" option just like you'd find on Windows 10's consumer editions.
     
  5. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,357
    2,532
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. stayboogy

    stayboogy MDL Addicted

    May 1, 2011
    855
    228
    30
    OpenCMDHereAsAdmin.reg

    Code:
    [HKEY_CLASSES_ROOT\Directory\background\shell\OpenElevatedCmd]
    @="Open command prompt here as administrator"
    "Icon"="imageres.dll,-5324"
    
    [HKEY_CLASSES_ROOT\Directory\background\shell\OpenElevatedCmd\command]
    @="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k,pushd,%V' -Verb RunAs\""
     
  7. knownbyfew

    knownbyfew MDL Novice

    Aug 17, 2021
    13
    1
    0
    Is this a .reg or a .bat file?
     
  8. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,854
    2,111
    60
    i don't see the point here, it's all on the web
     
  9. patapout

    patapout MDL Member

    Jun 23, 2014
    207
    107
    10
    the name is OpenCMDHereAsAdmin.reg