Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RunAsTI.reg feature to optionally open Terminal doesn't open ANY console with Build 26100 LTSC/IoT with manually installed Terminal #16

Open
espanafly opened this issue Nov 17, 2024 · 0 comments

Comments

@espanafly
Copy link

espanafly commented Nov 17, 2024

== Feature that's broken ==

After installing the Terminal app into Windows 11 build 26100 LTSC/IoT and choosing "PowerShell / Terminal" from the context menu, nothing happens. Neither the Terminal or a PowerShell console opens.

== What's supposed to happen ==

As of 2022.04.07, RunAsTI.reg has a "Use-Terminal-if-installed" feature which is supposed to open the Terminal if it's installed.

== "Work-around" (regression) ==

Remove the 2022.04.07 "Use-Terminal-if-installed" feature
After performing the regression step, choosing "PowerShell / Terminal" opens the PowerShell console even if the Terminal is installed

== How to perform the work-around ==

Use @he3als pull request version: Capitalise TrustedInstaller & PowerShell for RunAsTI

Alternative Kludge regression approach

This alternative regression, also works, but @he3als pull request version is a proper solution and also fixes some typos.

==== modify line 113 ===
-- From: ---
"31"=" $env:wt='powershell'; dir "$env:ProgramFiles\WindowsApps\Microsoft.WindowsTerminal*\wt.exe" -rec|% {$env:wt='"'+$.FullName+'" "-d ."'}"
--- to ---
"31"=" $env:wt='powershell'; {$env:wt='"'+$
.FullName+'" "-d ."'}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant