JSI Tip 8134. You have a missing menu bar or toolbar?

Jerold Schulman

June 8, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today


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 offsetlocalif /i {%1}
{I} set param=WebBrowser&goto delif /i {%1}
{W} set param=Explorer&goto delif /i {%1}=={S} set param=ShellBrowser&goto delendlocal@echo Syntax: ITBarLayout I ^| W ^| Sgoto :EOF:del( @echo REGEDIT4 @echo/ @echo [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerToolbar%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?



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like