How to Hide a File or Folder from Search Results in Microsoft Windows

This wikiHow article will teach you the steps to hiding a file or folder (de-indexing it) from your PC's search results in Microsoft Windows. Open File Explorer. Click the File Explorer taskbar icon which resembles a file folder.

Method 1 of 4:

Using the Advanced Attributes in Properties for Either Files and Folders

  1. Picture 1 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Open File Explorer. Click the File Explorer
    Picture 2 of How to Hide a File or Folder from Search Results in Microsoft Windows
    taskbar icon which resembles a file folder.
    1. Alternatively, press the Win+E keys simultaneously.
  2. Picture 3 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Navigate to the item you wish to hide. This method works for both files and folders.
  3. Picture 4 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Open the item Properties. Right-click the item and click Properties from the context menu.
    1. You can also click the "Properties" option in the ribbon, which is present in the Windows 10 and 8 File Explorer.
  4. Picture 5 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Open Advanced Attributes. Click the Advanced button towards the bottom of the Properties window, on the same line as "Attributes:" and the checkboxes.
  5. Uncheck:
    1. For files: allow this file to have contents indexed in addition to file properties
    2. For folders: allow files in this folder to have contents indexed in addition to file properties
  6. Picture 6 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click the OK button in the Advanced Attributes window.
  7. Picture 7 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click the OK or Apply button in the Properties window.
    1. The only difference between the two is that clicking OK will save your changes and close the window, whereas Apply will save your changes while leaving the Properties window open.
  8. Picture 8 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Confirm the attribute changes, if you've opted to de-index a folder. You'll be asked to confirm that you want to disable indexing. Ensure the radio button next to "Apply changes to this folder, subfolders and files" is selected, then click OK.
Method 2 of 4:

Using the Indexing Options for Folders

  1. Picture 9 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Open Indexing Options. Click the Start
    Picture 10 of How to Hide a File or Folder from Search Results in Microsoft Windows
    button or search bar to initiate the search feature, type indexing options, then choose the matching result.[1]
  2. Picture 11 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click the "Users" folder from the included locations list.
  3. Picture 12 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click Modify.
  4. Picture 13 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Double-click "Users" in the bottom box (Summary of selected locations).
  5. Picture 14 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Navigate down the hierarchy until you find the folder you wish to de-index. Use the > button to expand down the tree.
    1. If wanted, uncheck folders along the way.
  6. Picture 15 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Uncheck the box next to the folder you wish to de-index. Unchecking a folder will de-index everything placed underneath it in the hierarchy.
  7. Click the OK button. It's at the bottom of the Indexed Locations window.
  8. Picture 16 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click Close. It's at the bottom of the Indexing Options window.
Method 3 of 4:

Hiding Items for Files and Folders (Windows 10 and 8)

  1. Picture 17 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Open File Explorer. Click the File Explorer
    Picture 18 of How to Hide a File or Folder from Search Results in Microsoft Windows
    taskbar icon which resembles a file folder.
    1. Alternatively, press the Win+E keys simultaneously.
  2. Picture 19 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Navigate to the item you wish to hide. This method works for both files and folders.
  3. Picture 20 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click the item you wish to de-index.
  4. Picture 21 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click the View tab in the ribbon. It's located at the top of the File Explorer window.
  5. Picture 22 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click "Hide selected items". It's in the "Show/hide" portion of the ribbon.
  6. Picture 23 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Ensure the "Hidden items" checkbox is unchecked. It's in the "Show/hide" portion of the ribbon.
Method 4 of 4:

Hiding Items for Files and Folders (Windows 7 and Under)

  1. Picture 24 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Open Windows Explorer. Click the File Explorer
    Picture 25 of How to Hide a File or Folder from Search Results in Microsoft Windows
    taskbar icon which resembles a file folder.
    1. Alternatively, press the Win+E keys simultaneously.
    2. In Windows XP, a shortcut to Explorer can be found under "start > All Programs > Accessories > Windows Explorer".[2]
  2. Picture 26 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Navigate to the item you wish to hide. This method works for both files and folders.
  3. Picture 27 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click the item you wish to de-index.
  4. Picture 28 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Open the item Properties. Right-click the item and click Properties from the context menu.
  5. Picture 29 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Check the "Hidden" box in the Attributes section. It's towards the bottom of the Properties Window.
  6. Picture 30 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Click the OK or Apply button in the Properties window.
    1. The only difference between the two is that clicking OK will save your changes and close the window, whereas Apply will save your changes while leaving the Properties window open.
  7. Picture 31 of How to Hide a File or Folder from Search Results in Microsoft Windows
    Confirm the attribute changes, if you've opted to hide a folder. You'll be asked to confirm that you want to hide it. Ensure the radio button next to "Apply changes to this folder, subfolders and files" is selected, then click OK.
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile