If you have a missing menu bar, or toolbar, in Internet Explorer, or Windows Explorer, it is generally caused by a corrupt ITBarLayout Value Name, in one of the sub-keys of the Toolbar registry key.

I have scripted ITBarLayout.bat to resolve the problem:

1. Copy / Paste the following to Notepad, and save it as ITBarLayout.bat into a folder in your path:

@echo off
setlocal
if /i \{%1\}<h1><a name="_I_set_param_WebBrowser_amp_goto_del_if_i_1_">\{I\} set param=WebBrowser&goto del
if /i \{%1\}</a></h1>\{W\} set param=Explorer&goto del
if /i \{%1\}==\{S\} set param=ShellBrowser&goto del
endlocal
@echo Syntax: ITBarLayout I ^| W ^| S
goto :EOF
:del
(
 @echo REGEDIT4
 @echo/
 @echo \[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\%param%\]
 @echo "ITBarLayout"=-
) >"%TEMP%\ITBarLayout.reg"
regedit /s "%TEMP%\ITBarLayout.reg"
del /q "%TEMP%\ITBarLayout.reg"
endlocal
2. Close all open instances of Windows Explorer AND Internet Explorer.

3. Open a CMD.EXE window.

4. Type ITBarLayout x, where x isĀ  I if Internet Explorer has the problem, or W if Windows Explorer has the problem. If both have the problem, run the command twice.

5. Open the 'fixed' application.

6. If the problem persists, close the 'fixed' application and type ITBarLayout S.

NOTE: This fix will restore default settings, so any toolbar customization will be lost.

NOTE: See How do I remove the address bar from Internet Explorer and prevent users from re-enabling it?

NOTE: See Internet Explorer hangs without completing the Search?