Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Add or Remove File Types in Windows 10 Search Index

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Windows 10 Search can find files by name, but it only indexes certain file types by default. If you regularly work with less common formats (like .log, .md, or .tex), you can add them so they appear in search results. Conversely, you might want to remove file types to speed up indexing or reduce clutter. This guide shows you how to manage the file types that Windows Search indexes, using the built-in Indexing Options tool.

What You'll Need

  • An administrator account (required to change indexing options).
  • Knowledge of the file extension(s) you want to add or remove (e.g., .pdf, .docx, .log).

Step-by-Step

  1. Open Indexing Options: Press Windows Key + R to open the Run dialog, type control /name Microsoft.IndexingOptions, and press Enter. Alternatively, search for "Indexing Options" in the Start menu and click the result.
  2. Open Advanced Settings: In the Indexing Options window, click the Advanced button at the bottom. If prompted by User Account Control, click Yes.
  3. Switch to the File Types tab: In the Advanced Options window, click the File Types tab.
  4. Add a file type: In the text box at the bottom (labeled "Add new extension to list"), type the extension without the dot (e.g., log). Click Add. The extension appears in the list above.
  5. Remove a file type: In the list of extensions, select the one you want to remove. Click Remove. Confirm if prompted.
  6. Choose how to index each extension: For each extension in the list, you can choose one of two options from the drop-down on the right:
    • Index Properties Only: Searches only the file's metadata (name, date modified, tags). Faster and uses less disk space.
    • Index Properties and File Contents: Also searches the text inside the file. This allows full-text search but uses more resources and can slow down indexing.
  7. Apply changes: Click OK to save. If you added or removed extensions, Windows may prompt you to rebuild the index. Click OK to start rebuilding (this can take a while, but you can continue using your PC).
  8. Verify (optional): After indexing completes, test by searching for a file with the new extension from the taskbar search box.

Common Mistakes

  • Typing the extension with a dot: The input field expects the extension without a leading dot. Entering ".pdf" will result in an error.
  • Not rebuilding the index: If you don't rebuild, existing files may not be indexed with the new settings immediately. New files will be indexed, but old ones may not appear.
  • Choosing "Index Properties and File Contents" for large files: For huge files (like video or database files), this can significantly slow down indexing and consume disk space. Use it only when you need full-text search.
  • Removing essential extensions: Removing common extensions like .txt or .docx can break search for those files. Only remove what you're sure you don't need.

Tips

  • To speed up indexing, use "Index Properties Only" for most file types, and reserve "Index Properties and File Contents" for text-based documents you frequently search.
  • If you work with code, adding extensions like .js, .py, or .cpp can be helpful, but be aware that indexing contents of source code can be resource-intensive.
  • You can also manage which folders are indexed from the main Indexing Options window. Limiting indexed locations can improve performance.
  • If you need to search inside PDFs, ensure the PDF reader's iFilter is installed (most popular readers install it automatically).

Troubleshooting

  • Search still doesn't find new files: Wait for indexing to complete. Check the Indexing Options window for the indexing status. If it's stuck, try restarting the Windows Search service (services.msc → Windows Search → Restart).
  • Changes don't take effect: Ensure you clicked OK and confirmed any rebuild prompt. If not, try restarting your PC.
  • Indexing is slow: If you added many extensions or enabled content indexing for large files, the indexer may take hours. You can pause indexing temporarily from the Indexing Options window, or remove some extensions.
  • Can't add an extension: Some extensions are reserved by the system. If you get an error, the extension may already be in the list or not supported.
  • Search returns no results for a known file: Verify the file is in an indexed location (like your user folder). If it's on an external drive or a system folder, it may not be indexed.

Frequently Asked Questions

Q: Can I add multiple extensions at once?
A: No, you must add them one by one. Type one extension, click Add, then repeat.

Q: What does "Index Properties Only" mean?
A: It indexes metadata like file name, size, date modified, and tags. Searches will only match those properties, not the text inside the file.

Q: Will adding file types slow down my computer?
A: It can, especially if you choose to index file contents. The indexer runs in the background and uses CPU and disk resources. Limiting to properties minimizes impact.

Q: How do I know if the index is rebuilt?
A: Open Indexing Options. The status bar shows "Indexing complete" when done. You can also see the number of indexed items.

Q: Can I remove a file type that Windows requires?
A: You can remove any extension, but Windows may re-add critical ones automatically. It's best to leave system extensions alone.

Q: Does this affect searching in File Explorer?
A: Yes, File Explorer search uses the same index. Changes apply to both the Start menu search and File Explorer.