In Windows Vista, is there a way to remove the word 'Administrator:' from the title of a command prompt window?
The 'title' command just updates the part after 'Administrator:', so that will not do.
|
In Windows Vista, is there a way to remove the word 'Administrator:' from the title of a command prompt window? The 'title' command just updates the part after 'Administrator:', so that will not do. | ||||
|
feedback
|
|
There are another two possibilities here:
(from this thread - note, you can use a space, but it has to be something.) | |||||||
feedback
|
|
While it has been proven not to solve the problem in this bug, not everyone knows you can use the title command and set the title to whatever you want it to be. | |||||||||||
feedback
|
|
Run the command prompt as a standard user (ie be logged in as a standard user). If needed, you can always use runas to run commands as any other user including whatever adminstrative users you have. | |||
|
feedback
|
|
Why do you want to remove it? It's there to signify that you're running an elevated command prompt as opposed to a regular command prompt. If you've disabled the UAC then you might see this on all your command prompts as you're basically always running in elevated mode | |||||
feedback
|
|
I haven't tried this, but what about creating an Administrator account called "a", and then changing your CMD shortcut to be a "runas," calling CMD with "a" as the user. That will shorten up the name so you can fit the real title nicely in the taskbar (which you indicated was your goal for doing this). | |||||
feedback
|
|
I set out to solve this problem for the same reason as Eli (I couldn't distinguish my multiple cmd windows without alt+tabing through them all) by writing a small utility that changes the window title using the win32api method SetWindowText(). I quickly discovered that wouldn't suffice because any time the command window changed titles (like when you run an application) it quickly restored the Administrator: text. So I wrote a background process that polled all top level windows for command prompts on a regular interval. It's not the greatest solution but it's definitely easier and safer than the solutions provided by CRB. @CRB, please don't take offesnse, modifying the MUI data is the better answer, but Zerker's post proves the solution isn't for everyone :) | |||
|
feedback
|
|
I stopped using the standard cmd.exe shell, and am now using Console2 which does not have this 'administrator' problem. | |||
|
feedback
|
|
The instructions on updating the cmd.exe.mui worked well for me, although I had to search for the Hex pattern 41 00 64 00 6d 00 69 00 6e 00 69 00 73 00 74 00 since my editor doesn't let me search files that are combined unicode and binary. I deleted the "Administrator: %0" part, saved the file, and ran mcbuilder. I did not have to reboot - the next window I opened was fine. Thanks for the help! Don't forget to make a backup of cmd.exe.mui in case you mess up! | |||
|
feedback
|