Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Although a near identical question was asked, the answer won't work (for me at least) with my Vista system.

I am using an elevated prompt to run a batch file. Since the batch file takes awhile to run through, I want to update the "title" with progress updates.

Using the "title" command updates the text after the "Administrator:" but because of the "Administrator:" text, you cannot read it... example: "Admnistrator: Tes..." instead of "Testing 1-2-3"

How can I remove the "Administrator:" text completely (while still using an elevated prompt)?

share|improve this question

Are you completely dead set on using cmd.exe? If you wanted to use powershell to run the batch script, you can use $host.ui.RawUI.WindowTitle = "Status Here" for full control of the title bar.

share|improve this answer

If you start your shell using RUNAS then "Administrator" doesn't appear in the title and using TITLE completely replaces the one that is displayed.

c:\> RUNAS /user:computer\adminuser cmd

Or you can create a shortcut using that line.

share|improve this answer
Just tried that on Vista, as user who is an Administrator, and it still had Administrator: in the title after TITLE cmd – yhw42 Sep 5 '10 at 14:36
@yhw42: Are you running it from an already elevated shell? Try it from a normal shell. – Dennis Williamson Sep 5 '10 at 16:44
I am always administrator (no lecture please). I also have a complex password. Maybe it's impossible... – Donny Sep 6 '10 at 1:21

A workaround I stumbled upon is that the second command on the same line when using "&&" will replace the command window title without the "Administrator:" prefix.

For example, instead of the batch file line with your command:

long-running-command /flags

Try this:

true && long-running-command /flags

Not sure how to set a custom title, though.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.