Hacker News new | past | comments | ask | show | jobs | submit login

ConEmu manages the whole elevated/non-elevated situation better than Windows Terminal in my opinion.

As mentioned in the article elevated and non-elevated Windows Terminal windows are two different apps. In ConEmu they are tabs in the app.

The real benefit is that you can easily start either a elevated or non-elevated window within ConEmu, of course this is only possible if ConEmu was started in elevated mode in the first place.




In Windows Terminal, I'm sure you can create a new profile with your chosen shell prepended with "start-process -Verb RunAs" that will offer similar fuctionality.


And it seems some improvements to mixed elevation is coming soon:

https://github.com/microsoft/terminal/pull/8455


Only small improvements; that report specifically says that the full feature isn't possible:

> For a long time, we've been researching adding support to the Windows Terminal for running both unelevated and elevated (admin) tabs side-by-side, in the same window. However, after much research, we've determined that there isn't a safe way to do this without opening the Terminal up as a potential escalation-of-privilege vector.


It still opens a separate window, unfortunately.


I use the gsudo program for that gives you sudo in windows terminal and just elevates current shell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: