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

Issue: Window Title prefix stay "Administrator:" after execution gsudo #266

Closed
237dmitry opened this issue May 20, 2023 · 2 comments
Closed

Comments

@237dmitry
Copy link

237dmitry commented May 20, 2023

Issue Description

After execution command the window title stay in Administrator: <title> format

Steps to Reproduce

PS > gsudo cleanmgr

# After execution the title stay "Administrator"
# I have to set it back manually:

PS > $host.ui.rawui.windowtitle = "pwsh " + $PSVersionTable.PSVersion

I don't know what changes the title of the window. gsudo or Windows.

Context:

  • Windows version: Win11 22H2
  • gsudo version: 2.0.9
  • Windows terminal, conhost
@trparky
Copy link

trparky commented Jul 19, 2023

I have the same problem as well. It doesn't matter what program I execute with GSUDO, the window title is never changed back to a non-administrator title.

gerardog added a commit that referenced this issue Aug 27, 2023
Preserve console title after gsudo exit (#266)
@gerardog
Copy link
Owner

gerardog commented Aug 28, 2023

Fixed on v2.4.0
Thanks for reporting!

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

3 participants