Skip to content
Follow
Windows 🟡 Intermediate

How to Index Encrypted Files in Windows 11 Search

Richard
Written by
Richard
Aug 4, 2026 Updated Sep 15, 2026 5 min read
How to Enable or Disable Include Encrypted Files in Search Index in Windows 11
How to Enable or Disable Include Encrypted Files in Search Index in Windows 11

Indexing encrypted files in Windows 11 search lets you find text inside protected documents directly from the taskbar without turning off your security. Windows Search relies on an index, which is a hidden catalog of file details and text, to show results in less than a second.

Advertisement

By default, Windows 11 skips encrypted files to protect your privacy, meaning words inside those documents will not show up when you search. Changing this setting allows Windows to read and list the contents of your secure files so you can find what you need quickly.

⚡ Quick Answer

Open Settings , navigate to Privacy & security, then Search, and click Advanced indexing options. In the File Settings section, check or uncheck “Index encrypted files” to enable or disable it.

Advertisement

Option 1Use Windows Settings

Windows Settings lets you index encrypted files so you can find them quickly when you use the search bar. Open Settings by pressing the Win and I, go to Privacy & security, select Search, and click Advanced indexing options. From there, check the box that allows search to include files with encrypted content.

  1. Open Settings. You can do this by pressing the Win+I on your keyboard.
    Windows 11 Start menu with Settings gear icon highlighted.
    Windows 11 Start menu with Settings gear icon highlighted.
  2. On the left side, click Privacy & security. Then, on the right side, click Search.  Open Search settings
    Windows 11 Search bar with the 'Search' tile highlighted.
    Windows 11 Search bar with the 'Search' tile highlighted.
  3. Look for Related settings and click on Advanced indexing options.
    Windows 11 advanced indexing options for file types.
    Windows 11 advanced indexing options for file types.
  4. In the window that appears, click the Advanced button.
    Clicking the Advanced button in Windows 11 indexing options.
    Clicking the Advanced button in Windows 11 indexing options.
  5. In the Index Settings tab, find the File Settings section. To include encrypted files in searches, check the box next to Index encrypted files. To stop including them, uncheck the box. This box is unchecked by default.
  6. Follow the instructions that appear on your screen.
    • If you see a message saying “Policy is in effect,” it means this setting was changed using a different method. Click OK.
    • If you turned on “Index encrypted files” and your drive is not encrypted, click Continue to confirm.
    • If you turned off “Index encrypted files,” click OK to confirm.
  7. Click OK to close the window.
  8. The search index will need to be updated. Click Close.
  9. You can now close the Settings window.

Option 2Use Local Group Policy Editor

Local Group Policy Editor lets you force Windows to index encrypted files across your entire computer if you use Windows Pro or Enterprise. Open the tool by pressing the Win and R, typing gpedit.msc, and hitting Enter. Go to Computer Configuration, expand Administrative Templates, open Windows Components, and click Search to find the policy.

  1. Open the Local Group Policy Editor. Type gpedit.msc into the Windows search bar and press Enter.
  2. In the left pane, go to: Computer Configuration > Administrative Templates > Windows Components > Search.
  3. In the right pane, find and double-click on the policy named Allow indexing of encrypted files.
  4. To turn ON including encrypted files in search:
    • Select the Enabled option.
    • Click OK.
  5. To turn OFF including encrypted files in search:
    • Select the Disabled option.
    • Click OK.
  6. To let Windows decide:
    • Select the Not Configured option.
    • Click OK.
  7. You can now close the Local Group Policy Editor.

Option 3Use Registry Editor (Manual Steps)

Registry Editor lets you index encrypted files by changing a specific system key if your version of Windows lacks the Group Policy Editor. Back up your registry first since mistakes can break your system. Open the tool by typing regedit in the Start menu , go to 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search, and add the correct DWORD value.

⚠️WarningBack up your Windows registry before you change settings.

This registry backup prevents data loss if you accidentally make an incorrect change to registry keys.

Advertisement
📝Good to KnowAdmin permission needed: You will need administrator rights to perform these steps.

Admin permission needed: You will need administrator rights to perform these steps.

  1. Open the Registry Editor. Type regedit in the Windows search bar and press Enter. Click Yes if prompted by User Account Control.
  2. Navigate to the following location in the Registry Editor's left pane:
    HKEY_LOCAL_USER\Software\Policies\Microsoft\Windows\Windows Search

    If the Windows Search key does not exist, you may need to create it. Right-click on the Windows key, select New > Key, and name it Windows Search.

  • To turn OFF including encrypted files in search:
    1. Right-click in the empty space on the right side, select New > DWORD (32-bit) Value.
    2. Name the new value AllowIndexingEncryptedStoresOrItems.
    3. Double-click the new value and set its Value data to 0.
    4. Click OK.
  • To use the default setting (let Windows decide, allowing Option One):
    1. If the AllowIndexingEncryptedStoresOrItems value already exists, double-click it and delete its Value data (leave it blank) or delete the value entirely by right-clicking on it and selecting Delete.
  • Close the Registry Editor.
  • You may need to restart your computer for the changes to take effect.
  • References:

    https://support.microsoft.com/en-US/Windows/Experience/Performance-Optimization/search-indexing-in-windows

    Advertisement

    Summary

    Windows search index inclusion for encrypted files can be managed through three different methods depending on your system version and comfort level. You can use the basic Windows Settings app, the Local Group Policy Editor for Pro editions, or the Registry Editor for manual control. Each method achieves the same goal of letting you search through protected documents.

    How do I find my encrypted file?

    To find an encrypted file, you first need to enable the setting to include encrypted files in Windows Search. Once enabled, you can use the regular Windows search bar to look for the file by its name or content.

    How do I unencrypt an encrypted file?

    To unencrypt a file, right-click on it and choose 'Properties'. Go to the 'General' tab, click 'Advanced', and uncheck the box that says 'Encrypt contents to secure data'. You'll need your encryption password or key to do this.

    Advertisement

    Is BitLocker 100% secure?

    BitLocker is very secure as long as your recovery key is kept safe. It protects your data when your computer is off. However, like any security measure, its effectiveness depends on how well you protect the key and the device itself.

    Should I index encrypted files?

    Indexing encrypted files can impact system performance in several ways: Search index rebuilds may temporarily slow system operations. More storage space is required for the index database. Memory usage increases when searching through encrypted content.

    Was this guide helpful?

    📬 Get new Windows tips in your inbox
    One email when we publish something worth your time. No spam, unsubscribe anytime.
    Tags: #Windows 11
    Was this helpful?
    Richard

    About the Author

    Richard

    Tech Writer, IT Professional

    Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

    3169 articles → Twitter
    Advertisement

    📚 Related Tutorials

    How to Enable or Disable Advanced Options in Indexing Options in Windows 11
    Windows How to Enable or Disable Advanced Options in Indexing Options in Windows 11
    How to Pause Dropbox Sync on Windows 11 PC
    Windows How to Pause Dropbox Sync on Windows 11 PC
    How to Enable or Disable Modify Indexed Locations in Indexing Options in Windows 11
    Windows How to Enable or Disable Modify Indexed Locations in Indexing Options in Windows 11
    How to Optimize Windows 11 Settings for Performance
    Windows How to Optimize Windows 11 Settings for Performance

    No comments yet — be the first to share your thoughts!

    Leave a Comment

    Your email address will not be published. Required fields are marked *