Skip navigation

Q. How can I disable the Internet Explorer 7 Menu bar?

The Internet Explorer 7 Menu bar contains the File, Edit, View, Favorites, Tools, and Help sub-menus.

NOTE: See tip 10987 » How can I configure the Menu bar of Internet Explorer 7 to be at the top of the Window?

I have scripted NoIEMenu.bat to remove the Internet Explorer 7 Menu bar.

The syntax for using NoIEMenu.bat is to close all instances of Internet Explorer and run NoIEMenu.bat

NoIEMenu.bat contains:

@echo off
setlocal
call :quiet >nul 2>&1
endlocal
goto :EOF
:quiet
set key1="HKCU\Software\Microsoft\Internet Explorer\Toolbar"
set key2="HKCU\Software\Microsoft\Internet Explorer\Main"
set State=X
for /f "Tokens=3" %%a in ('reg query %key1% /V Locked^|find "REG_DWORD"') do (
if "%%a" EQU "0x1" set State=L&reg ADD %Key1% /V Locked /T REG_DWORD /F /D 0
)
REG ADD %key2% /V Show_Toolbar /T REG_SZ /F /D "no"
if "%State%" EQU "L" reg ADD %Key1% /V Locked /T REG_DWORD /F /D 1


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish