Solved

Show the user name in IE when use RUN AS

Posted on 2009-05-13
3
182 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I spend far too much time on the web keeping up with the news: politics, the environment, computer stuff, the Experts Exchange. It's never-ending. But many of the most informative web pages are overwhelmed with noise: scrolling banners, flashing tex…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

810 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