How do I disable the Command Bar in IE8

Posted on 2011-10-04
Last Modified: 2012-05-12
Hi, I am trying to customize Internet Explorer 8 so the user cannot access the Command Bar.  I can hide the Command Bar using the CommandBarEnabled registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\CommandBar.

The problem I have is that the user can simply re-enable it using the context (right-click) menu.  In IE7 I used the NoBandCustomize key under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer but this seems to have no effect in IE8.

Does anyone know how I can disable this context menu.

Question by:nicksbell
    LVL 13

    Expert Comment

    hi there, this may work

    HKEY_Current_USER\software\policies\microsoft\internet explorer\toolbars\restrictions
    Value name: NoCommandBar
    Type: DWORD
    Value: 1 (on)
    LVL 13

    Expert Comment

    or if that doesn't work, maybe try the suggestions here -
    LVL 2

    Author Comment

    Unfortunately the NoCommandBar key, which is your suggestion as well as the suggestion in the link you provided, removes the entire command bar, including the Tabs.  This doesn't help me as I need to keep the tabs.  CommandBarEnabled is the key used to remove just the command button elements of the command bar but it can be simply reinstated by the user using the context menu.  What I need is to disable the context menu.
    LVL 6

    Accepted Solution

    How about network group policy?

    Can be set via local group policy as well.
    gpedit.msc (in run statement)
     Computerconfigeration --> Administrative Templates --> windows Components --> Internet Explorer --> Toolbars    (lock all toolbars)

    Pulled from this link, approx 1500 different ways to set IE
    LVL 2

    Author Closing Comment

    Thanks CanusRufus,

    That is a very useful link.  In fact the Lock All Toolbars doesn't do what I need but I noticed that there is a Hide the Command Bar setting which, unlike the registry key I used, also disables the context menu item.

    Thanks again.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    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…
    This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
    The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
    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 whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

    745 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

    15 Experts available now in Live!

    Get 1:1 Help Now