[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.


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.


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:


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.

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

  1. Thank You! I lost my history just a couple weeks back. Nov 2018. I had no idea why…?
    My desktop.ini file was there still and had the same text in it that your suggestion to paste in was.

    But what did work for me was
    “2. Reset the System Attributes for the History folder”
    After I pushed Enter in admin cmd prompt, it seemed like nothing happened. But after closing then opening ie11 again, I found my history back to normal!
    Much appreciate your help. I didn’t want to reset ie, at all. Aweome!
    Brent Rossiter. 4 Dec 2018.

Leave a Comment