Windows 10: Use terminal instead of console host when doing right click -> run as administrator

Discus and support Use terminal instead of console host when doing right click -> run as administrator in Windows 10 Software and Apps to solve the problem; Hello,When using right click -> run as administrator on powershell it launches console host instead of terminal app - works fine when running terminal... Discussion in 'Windows 10 Software and Apps' started by Eldair, Jul 16, 2024.

  1. Eldair Win User

    Use terminal instead of console host when doing right click -> run as administrator


    Hello,When using right click -> run as administrator on powershell it launches console host instead of terminal app - works fine when running terminal as administrator and opening powershell tab or starting powershell regularly. Is it possible to change this behavior since it is not affected by "default terminal app"?

    :)
     
    Eldair, Jul 16, 2024
    #1

  2. Windows Terminal: Administrator windows open as Command Prompt with the old style (Windows Console Host)

    I have Windows 11 Insider Preview.

    The default terminal app is Windows Terminal, but when I start Command prompt as administrator, it opens in the Windows Console Host, and not in Windows Terminal. Can I fix this somehow so it opens in Windows Terminal?
     
    Michał Pustelnik_724, Jul 16, 2024
    #2
  3. zebal Win User
    Failure to run Windows terminal as Administrator

    It would make a lot of sense because using elevated account (and inherently everything in it) for everyday life vs just having elevated console (or any other program) is a huge difference to keep system protected while not limiting the functionality that is needed at the moment.
    You know we can normally run CMD and PowerShell as Administrator right? Windows terminal is a tool that combines multiple consoles within same process container, additional consoles can be opened simply by using a drop down menu in the terminal, this means if it could be started as Administrator, then opening additional consoles (within terminal) would not bring up UAC, because elevation has already been granted to terminal process, (it works so in elevated account just fine) Another benefit is that we can have multiple working consoles with it's own history and simply switch between them. This all works well and is productive, but there is no way to run it as administrator like it's possible to do it with command prompt or powershell on it's own. Why do I need to run it as Admin? Because I run commands that require elevation a lot of times and because I don't log into Administrator account for security reasons, to keep system clean as long as possible and to reduce attack surface of my system only to privilege escalation methods and to be able to 100% cleanup my system by simply deleting standard user account and creating a new one every now and then. I can't simply have Administrator account even if just used for work and nothing else because my work includes browsing the web, which is no.1 reason why windows account must be restricted. I have 3 options: 1. To forget about windows terminal and run desktop version of the powershell as Administrator 2. To convert my account to Administrator and reduce security 3. To use virtual machine and run Windows terminal there in an elevated windows account Obviously It's much safer to throw away windows terminal and do things old fashioned way in host system, but virtual machine seems like a good alternative but not a real solution. I now understand that design behind store apps includes the protection of users as to not "accidently hurt them self" but in this case it's not about protecting myself from running dangerous commands nor am I afraid of malware being injected into elevated windows terminal, but rather protecting everything else while being able to do the job. I use standard account for safety reasons but also need to run elevated prompt a lot, it's a very contradictory situation only because there is no desktop version of the windows terminal. *cry
     
    zebal, Jul 16, 2024
    #3
  4. zebal Win User

    Use terminal instead of console host when doing right click -> run as administrator

    Failure to run Windows terminal as Administrator

    Hello and Merry Christmas! I have standard user account on my system that I use for work, onto which I installed Windows terminal. Issue is I need to start terminal as Administrator, and when I do it I get following:
    Use terminal instead of console host when doing right click -> run as administrator 355660d1640431283t-failure-run-windows-terminal-administrator-untitled.png
    It starts fine to start it as normal (standard user). To attempt to resolve this problem I logged into my Administrator account and installed Windows terminal there, and it works to start it in Administrator account. Then I tried again to start it in standard user account but I got the same error message box. Do you have any suggestions or solutions on how to solve this problem? Btw. here is how I start the terminal: I pinned it to start menu and then right click -> more -> run as Administrator:
    Use terminal instead of console host when doing right click -> run as administrator 355661d1640431822t-failure-run-windows-terminal-administrator-asdf.png
     
    zebal, Jul 16, 2024
    #4
Thema:

Use terminal instead of console host when doing right click -> run as administrator

Loading...
  1. Use terminal instead of console host when doing right click -> run as administrator - Similar Threads - terminal instead console

  2. Console Window Host using cpu

    in Windows 10 Gaming
    Console Window Host using cpu: i just recently discovered that console window host is using around 45% of my cpu all the time and fans are running as well. Here's the FRST Scan data:FRST file: https://drive.google.com/file/d/1edh45_DAtKArvdVJh9sNxaFABDSzcb0n/view?usp=drive_linkAddition file:...
  3. Use terminal instead of console host when doing right click -> run as administrator

    in Windows 10 Gaming
    Use terminal instead of console host when doing right click -> run as administrator: Hello,When using right click -> run as administrator on powershell it launches console host instead of terminal app - works fine when running terminal as administrator and opening powershell tab or starting powershell regularly. Is it possible to change this behavior since it...
  4. Single right click instead of double right click.

    in Windows 10 Gaming
    Single right click instead of double right click.: Help,In my laptop. I accidently changed settings and now it is a single right click instead of a double right click please help.When i click adobe acrobat, it opens 2 windows of acrobat, an internet shortcut would slow down my laptop even if it is a gaming pc.It is treating...
  5. Single right click instead of double right click.

    in Windows 10 Software and Apps
    Single right click instead of double right click.: Help,In my laptop. I accidently changed settings and now it is a single right click instead of a double right click please help.When i click adobe acrobat, it opens 2 windows of acrobat, an internet shortcut would slow down my laptop even if it is a gaming pc.It is treating...
  6. Script causes Powershell to open in Console Host instead of Windows Terminal

    in Windows 10 Drivers and Hardware
    Script causes Powershell to open in Console Host instead of Windows Terminal: I am trying to run a script that opens a powershell instance for every sub-directory and runs the command whisperPathHere's the code:Get-ChildItem -Directory -Recurse ForEach-Object { Start-Process -FilePath "pwsh.exe" -ArgumentList "-NoExit -Command Set-Location -LiteralPath...
  7. Script causes Powershell to open in Console Host instead of Windows Terminal

    in Windows 10 Gaming
    Script causes Powershell to open in Console Host instead of Windows Terminal: I am trying to run a script that opens a powershell instance for every sub-directory and runs the command whisperPathHere's the code:Get-ChildItem -Directory -Recurse ForEach-Object { Start-Process -FilePath "pwsh.exe" -ArgumentList "-NoExit -Command Set-Location -LiteralPath...
  8. Script causes Powershell to open in Console Host instead of Windows Terminal

    in Windows 10 Software and Apps
    Script causes Powershell to open in Console Host instead of Windows Terminal: I am trying to run a script that opens a powershell instance for every sub-directory and runs the command whisperPathHere's the code:Get-ChildItem -Directory -Recurse ForEach-Object { Start-Process -FilePath "pwsh.exe" -ArgumentList "-NoExit -Command Set-Location -LiteralPath...
  9. Can’t right click and run as administrator

    in User Accounts and Family Safety
    Can’t right click and run as administrator: Hi Even tried the built in administrator account, but when e.g.I right click on notepad and select run as administrator, nothing happens. Is there a solution to this ? Please thanks 179924
  10. Where is the option to enable the "Run as administrator" when right clicking on anything...

    in Windows 10 Ask Insider
    Where is the option to enable the "Run as administrator" when right clicking on anything...: The options is missing from the OS and I want to add it back. submitted by /u/bantheodor [link] [comments] https://www.reddit.com/r/Windows10/comments/g4t3gc/where_is_the_option_to_enable_the_run_as/