Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I sometimes start applications with elevated rights and forget to close them later because they are not distinguishable. Through something like an "Open File..." someone can easily abuse those apps if my normal account is "compromised".

The question is if there is a way to indicate that a window is created by application with elevated rights.

I noticed that the windows are handled differently internally and access control is enforced: e.g. that extensions like dexpot cannot hook to those windows.

share|improve this question

4 Answers 4

Given the lengths that was required to get something like that to work for IE/Explorer ( see Privbar) , I do not think there is a solution that will affect all programs.

share|improve this answer

A command prompt run as administrator adds Administrator to the title bar, but this seems to be the only case of this built in.

share|improve this answer

The only thing I know of is code to check for administrative permissions.
Maybe someone could write a tool that draws a red border around elevated windows...

Maybe something similar should be suggested to Microsoft to be included in one of the next releases..

share|improve this answer

You have to find a way to parse username into tile windows.

You can test this in batch files: title %USERNAME% will add the user name to the title window.

I assume something equivalent for non-cmd/batch windows can be done via VBS. Anyway, it's env variables you should use.

share|improve this answer

Your Answer

 
discard

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.