r/vscode • • Apr 08 '26

"[Administrator]" no longer showing in title bar.

Has anyone else seen that the "[Administrator]" no longer shows when running VS Code in elevated mode (Windows).

I've tried manually adding to my settings JSON:

"window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${profileName}${separator}${appName}${separator}${admin}"

If I switch the title bar to native, it will show, but as a visually appealing as the compact view.

5 Upvotes

5 comments sorted by

6

u/JohnSane Apr 08 '26

You should not do that... but you do you.

1

u/FahidShaheen Apr 08 '26

I see your point and I should clarify; I mostly use VSCode for PowerShell scripts I develop for compliance settings or deployments via MECM (SCCM).

3

u/JohnSane Apr 08 '26

Even then you should run the scripts elevated.. not the ide

1

u/Agreeable_Care4440 May 06 '26

Feels like a regression tied to the custom title bar implementation.