Solved

Show the user name in IE when use RUN AS

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Now-a-days, indirectly, postal services have been replaced by email services. Yes, whenever we hear the word "email" a lot of people only think of gmail. Some people still think that email and gmail are one and the same thing :-). Let's see some …
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…
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…
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 +…

756 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