Console window title: please replace "Administrator: " with something shorter or even remove it
Command prompts opened as administrator are indistinguishable in the task bar because of the long prefix "Administrator: " added to its title.
The `title` command changes only the part of the title that goes after this prefix. Please do something about it: shorten it to "Admin:", or even just "A", or a bomb emoji, or change the icon in the task bar and remove the prefix altogether, or add a setting for the user to choose, etc.
People go as far as modifying cmd.exe in a hex editor to get rid of this prefix:
Joe Coutcher commented
As a workaround, you can override the title by overriding the Prompt function in your profile. Here's an example of the one I use:
Joel "Jaykul" Bennett commented
I agree it should be "Admin: "
But I always change it myself in my profile script. 😉
You can just echo an escape sequence like: ESC]2;<your title text>BEL
E.g. in PowerShell:
"$([char]27)]2;This is my title$([char]7)"
Georgii D commented
Or move it to the end of the title like it was done in VS Code.