Solved

Show the user name in IE when use RUN AS

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Due to recent concerns over the inevitable depletion of the current pool of IPv4 addresses and the desire to provide additional functionality for modern devices, an upgrade to IPv6 on my Internet connection was needed for me to explore the world of …
Several part series to implement Internet Explorer 11 Enterprise Mode
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

708 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

14 Experts available now in Live!

Get 1:1 Help Now