Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Show the user name in IE when use RUN AS

Posted on 2009-05-13
3
Medium Priority
?
189 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 1500 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
Following on from our article on "The Murky World of Consent and opt in", we thought we would issue some helpful guidance, not only on consent itself but knowing what information you are capturing, what you are doing with this data and how you can p…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

927 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