Solved

How to remove the menu bar in ie7

Posted on 2007-11-27
11
1,641 Views
Last Modified: 2013-12-08
I would like to remove/disable the menu bar in ie7 altogether.  At the moment the menu bar is auto-hidden but if the user clicks the Alt or F10 keys then the menu bar appears.  Is there anyway to stop this behaviour so the menu bar cannot be accessed at all?

Thanks
0
Comment
Question by:nicksbell
  • 6
  • 4
11 Comments
 
LVL 20

Accepted Solution

by:
IndiGenus earned 125 total points
ID: 20360136
I'm sure it's doable with a reg edit. May want to take a look at this first.

http://technet.microsoft.com/en-us/ie/bb219541.aspx
0
 
LVL 97

Assisted Solution

by:war1
war1 earned 125 total points
ID: 20360185
Hello nicksbell,

You can hide the command bar with this registry edit
http://www.tech-recipes.com/rx/2036/ie7_how_to_hide_command_bar

But you cannot hide the entire Menu bar.

Hope this helps!
war1
0
 
LVL 2

Author Comment

by:nicksbell
ID: 20360543
I have looked at IEAK7 and although that allows you to disable varies menu items it doesn't actually give you the option to remove the menu bar.

It must be possible to do it via the registry as I have one user where the menu is disabled altogether and have created a new user where it shows if you press the Alt key.  I am trying to find the setting for the first user but have been unsuccessful so far.
0
 
LVL 97

Expert Comment

by:war1
ID: 20360585
nicksbell, did you try the registry edit that I posted?
0
 
LVL 2

Author Comment

by:nicksbell
ID: 20361575
yes, I have previously hidden the command bar, thats not a problem.  Its the menu ar I am having the problem with.
0
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.

 
LVL 97

Expert Comment

by:war1
ID: 20361808
There is no other way to hide the menu bar than to hit the ALT key.
0
 
LVL 2

Author Comment

by:nicksbell
ID: 20363857
mmmm, well thats very curious as I have one user where it works.  I guess I will have to do a registry comparison and see if I can spot the difference.
0
 
LVL 2

Author Comment

by:nicksbell
ID: 20363973
ok, I have discovered the difference.  The user where the menu is disabled has the following registry key:

hkcu/software/microsoft/internet explorer/toolbar/webbrowser/ITBar7Layout

This is a reg_binary key with what appears to be a few settings but when I apply it to a new user it disables the menu.  Only trouble is it is hard to tell what else it is doing.  Does anyone have any documentation as to what this key is used for?

0
 
LVL 2

Author Comment

by:nicksbell
ID: 20364917
After a bit of trial and error I have worked it out.  Strangely enough it was nothing to do with the ITBar7Layout binary key, but the WebBrowser key itself.  This is acting a bit more like a bug than an actual tweak but it seems to do what I want it to.  For anyone that is interested I have disabled the menu bar completely with the following 2 steps:

1. Add the DWORD value AlwaysShowMenus (set the value to 0) to the following key:

    [HKCU\Software\Policies\Microsoft\Internet Explorer\Main]

2. Add the following key

    [HKCU\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser]

The WebBrowser key doesn't require any values it simply needs to be present.  Don't ask me how this works but it does.
0
 
LVL 97

Expert Comment

by:war1
ID: 20366531
nicksbell, glad you had a working registry to compare to.  Wonder how the registry got changed?
0
 
LVL 2

Author Comment

by:nicksbell
ID: 20367017
well it was the existence of the WebBrowser key that caused the menu to be removed.  That user obviously had an add-on or some other setting that required the ITBar7Layout value which is included in the WebBrowser key.  All very strange but it works.

As the two of you replied and both replies were useful, if not a solution, I'll split the points.

Thanks
Nick
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

How many times have you been browsing the internet, with multiple tabs open, and closed the wrong one? Have you ever clicked 'Close all tabs' instead of 'Close current tab' ? Internet Explorer 8 now brings to you, what Firefox has had for a wh…
Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
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.
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…

910 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

21 Experts available now in Live!

Get 1:1 Help Now