[Solved] Internet Explorer History Bar “View By” Options Missing

When you open the History Bar (CTRL + SHIFT + H) in Internet Explorer, the following “View By” options may be missing, listing only the “Search History” entry in the drop down box.

  • View By Date
  • View By Site
  • View By Most Visited
  • View By Order Visited Today

This problem can happen in these cases:

  1. The History folder is missing the Desktop.ini file.
  2. The History folder has lost its "System" Attribute.
  3. The History User Shell Folder registry value is incorrect.

If you use a 3rd party cache maintenance program, it may have wiped out the entire History folder, which could have caused the problem in the first place.

Solution

1. Fix the Desktop.ini File Contents

Press WinKey + R to bring up the Run dialog.

Type the following and press ENTER:

notepad %localappdata%\Microsoft\Windows\History\desktop.ini

Note: If the file doesn’t exist, Notepad offers to create a new file. Click Yes when prompted.

If the file already exists, erase the contents, add the following lines and save the file.

[.ShellClassInfo]
ConfirmFileOp=0
DefaultToFS=0
CLSID={FF393560-C2A7-11CF-BFF4-444553540000}
UICLSID={7BD29E00-76C1-11CF-9DD0-00A0C9034933}

2. Reset the System Attributes for the History folder

If the above step doesn’t solve the problem, follow these instructions:

Open a Command Prompt window (cmd.exe) and type:





attrib +s +h +i "%localappdata%\Microsoft\Windows\History"

Press {ENTER}

This resets the “System” (along with “Hidden” and “No Content Index”) Attribute for History folder.

3. Fix the History User Shell Folder registry value

Press WinKey + R, type Regedit.exe and press ENTER.

Go to the following branch:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

In the right-pane, double-click History and set its value data as follows:

%USERPROFILE%\AppData\Local\Microsoft\Windows\History

Note: Make sure that the value type is REG_EXPAND_SZ. If it’s REG_SZ, delete the value and create a new value of type REG_EXPAND_SZ, and set the above value data.

Exit the Registry Editor.

Close all instances of Internet Explorer, reopen it. The "View By…" options should be back in the History Bar.

This post was originally written for Internet Explorer 11.

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.