Home » How To » How To Enable or Disable Advanced Indexing Options in Windows 11 (Group Policy & Registry)

How To Enable or Disable Advanced Indexing Options in Windows 11 (Group Policy & Registry)

Here’s how to enable or disable advanced indexing options in Windows 11 using Group Policy and the Registry to prevent changes to Windows indexing.

Quick steps: Open the Group Policy Editor, go to the “Computer Configuration” > “Administrative Templates” > “Windows Components” > “Search” folder, double-click the “Prevent the display of advanced indexing options for Windows Search in the Control Panel” policy, and select “Not Configured” or “Enabled” to enable or disable advanced indexing options.

By default, Windows 11 automatically indexes files for faster search results. Generally, you can control various index actions like which file types to index, whether to index encrypted files or not, whether to index file contents or not, etc., via the advanced indexing options. While this is a good thing, there might be times when you want to restrict users from changing the advanced indexing options. To do that, all you have to do is disable the “Advanced” button in the Index Options tool. In this quick and easy guide, I will show you how to do this using the Group Policy Editor and Registry Editor. Let’s get started.

Before You Start

Enabling or disabling advanced indexing options requires administrative rights.

Enable or Disable Advanced Indexing Options Using Group Policy Editor

Important note: Group Policy Editor is available only in the Pro and Enterprise editions.

First, open the Group Policy Editor. For that, press the “Windows key + R” to open the Run dialog. Next, type “gpedit.msc“, and click “OK” to open the Group Policy Editor. Once it opens, go to the following folder using the left sidebar.

Computer Configuration” > “Administrative Templates” > “Windows Components” > “Search

search folder in group policy

In the Search folder in Group Policy, find and double-click the “Prevent the display of advanced indexing options for Windows Search in the Control Panel” policy.

advanced index option policy

Once the policy properties window opens, do the following, then click “OK” to save the changes.

  • Enable advanced indexing options: Select the “Not Configured” option.
  • Disable advanced indexing options: Select the “Enabled” option.
configure advanced index option policy

Finally, close the Group Policy Editor and restart your computer. After restarting, the advanced indexing option will be disabled or enabled depending on your Group Policy setting. For example, if you’ve enabled the policy, the “Advanced” button in the “Indexing Options” window will be disabled, and you cannot open Advanced Indexing Options.

advanced indexing option is disabled

Enable or Disable Advanced Indexing Options Using Registry Editor

Important note: While editing the registry is easy, please back up the registry just to be safe.

Since we need to edit the registry, press “Windows key + R“, type “regedit“, and click “OK” to open the Registry Editor. Once it opens, go to the following folder. You can simply copy and paste the following path in the Registry Editor’s address bar and press “Enter”.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
Windows folder in registry

Right-click the “Windows” folder on the left sidebar of the Registry Editor and select “New“, then “Key“. Set the name of the new folder as “Windows Search

Again, right-click the “Windows Search” folder and select “New“, then “DWORD (32-bit) Value“. Set the value name to “PreventUsingAdvancedIndexingOptions“.

create the reg value

Now, double-click the “PreventUsingAdvancedIndexingOptions” value, set the Value Data as follows, and click “OK“.

  • Enable advanced indexing options: Set the “Value Data” to “0“.
  • Disable advanced indexing options: Set the “Value Data” to “1“.
configure the reg key

After that, close the Registry Editor and restart your computer. After restarting, the advanced indexing option will be disabled or enabled depending on your registry setting. For example, if you set the Value Data of “PreventUsingAdvancedIndexingOptions” to “1”, the “Indexing Options” window will be disabled, and you cannot open Advanced Indexing Options.

advanced indexing option is disabled

That is it. Write down below any questions or comments you have. I’ll respond as quickly as possible.

Thank you,
Vamsi.

Leave a Comment

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