Solved

Show the user name in IE when use RUN AS

Posted on 2009-05-13
3
177 Views
Last Modified: 2013-12-08
Hello
I always  use "RUN AS" from shortcut menue when i use  Inernet Explorer , to test somethings and to act as diffrent users .....
, I need the User Name in the tool bar or anywhere in the explorer to distingush between the users who run The IE by using RUN AS
by hte way i saw it in a tutorial video , the instructor was explian how RUN As work
Thanks
0
Comment
Question by:ali_alannah
  • 2
3 Comments
 
LVL 35

Expert Comment

by:torimar
ID: 24373057
Try this:

Start > Run > type: regedit [ENTER]

In the registry editor, browse to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
Right-click the "Main" key in the left tree view and select "Export" - give it any name you like, this is just a backup.

In the list of values on the right hand side, search for one called "Window Title"; if you find it, delete it.
Then right click inside the "Type" or "Value" column, select "New" > "Expandable String Value", call it "Window Title". It will be created as an empty REG_EXPAND_SZ data type; right-click on the name, select "Change", and in the text box type:
%USERNAME%

Click Ok, leave the registry editor, and test with IE.
0
 

Author Comment

by:ali_alannah
ID: 24386435
Hello: torimar:
Your hint  not solve the problem , really it show the user name in the title bar of IE but when i run the IE by  another User by using RUN AS , so the title not showing the user name
 
0
 
LVL 35

Accepted Solution

by:
torimar earned 500 total points
ID: 24387853
I see.
There is no other environment variable in Windows that would hold a user name, especially not that of the "run as..." user. So I hoped that my suggestion would work.
Also, there is no known "Window Title" data string for Internet Explorer in the HKEY_LOCAL_MACHINE branch of the registry.

Which means that, in my firm opinion, there is ultimately no way to achieve what you are trying to do.

Are you certain that the username changed in the video you saw? Because it might have been just the same thing as when you tried my suggestion: the active user's name, but not the one that it was run as.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Bada platform is becoming more and more famous this days and people talking about same. Some friends included those who have bada OS mobile asked me "what is bada?"and "what its features?". That encouraged me to research and write this article. [st…
I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now