• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1652
  • Last Modified:

How to remove the menu bar in ie7

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
nicksbell
Asked:
nicksbell
  • 6
  • 4
2 Solutions
 
IndiGenusCommented:
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
 
war1Commented:
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
 
nicksbellAuthor Commented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
war1Commented:
nicksbell, did you try the registry edit that I posted?
0
 
nicksbellAuthor Commented:
yes, I have previously hidden the command bar, thats not a problem.  Its the menu ar I am having the problem with.
0
 
war1Commented:
There is no other way to hide the menu bar than to hit the ALT key.
0
 
nicksbellAuthor Commented:
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
 
nicksbellAuthor Commented:
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
 
nicksbellAuthor Commented:
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
 
war1Commented:
nicksbell, glad you had a working registry to compare to.  Wonder how the registry got changed?
0
 
nicksbellAuthor Commented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now