How to Enable or Disable Modify Indexed Locations in Indexing Options in Windows 11
Modify Indexed Locations in Indexing Options in Windows 11 lets you lock down search settings so no one can add or remove folders from your PC search catalog. Search indexing builds a fast list of your files, and Windows 11 turns this feature on by default for common folders.
Locking this setting stops other people from changing which drives and folders are tracked. You need administrator rights to make this change.
To disable changing indexed locations, open Registry Editor and navigate to 🗝️HKEY_LOCAL_MACHINE\
Method 1Local Group Policy Editor
Local Group Policy Editor (a tool for managing system settings) lets you control modify indexed locations on Windows 11 Pro, Enterprise, and Education editions. You can use this built-in feature to turn the setting on or off so standard users cannot change where Windows looks for your files when you search.
- Open the Local Group Policy Editor. You can do this by typing
gpedit.mscin the Windows search bar and pressing Enter. - In the left-hand menu, go to:
Computer Configuration>Administrative Templates>Windows Components>Search. - In the right-hand section, find and double-click on the setting named Prevent customization of indexed locations in Control Panel .

To Enable Changing Indexed Locations (Default Setting)
Enable modify indexed locations in Windows 11 by deleting a specific registry value or leaving it absent from your system. This restores the default setting and lets anyone with access change the folders that Windows includes in its search results through the Indexing Options menu.- Select the option Not Configured.
- Click OK.
To Disable Changing Indexed Locations
- Select the option Enabled.
- Click OK.

Disable modify indexed locations in Windows 11 by adding a new DWORD value to the registry. This stops other users from changing the folders that Windows searches through the Indexing Options menu and locks down your search settings.
Method 2Registry Editor
Registry Editor (a database for storing system settings) lets you control modify indexed locations on all Windows 11 versions, including Home. You can use this method to turn the feature on or off by changing a single key when the group policy tool is not available on your edition of Windows.
Back up your registry before making changes. You need administrator rights to edit the registry.
To Enable Changing Indexed Locations (Default Setting)
To enable changing indexed locations, ensure a specific registry value isn't set.
Follow these steps:
- Open the Registry Editor by typing
regeditin the Windows search bar and pressing Enter. If prompted by User Account Control, click Yes. - Navigate to the following path in the left-hand pane:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search. If theWindows Searchkey does not exist, you will need to create it. Right-click onWindows, selectNew, thenKey, and name itWindows Search. - In the right-hand pane, right-click on an empty space, select
New, thenDWORD (32-bit) Value. - Name the new value
PreventModifyingIndexedLocations. - Make sure the Value data for
PreventModifyingIndexedLocationsis set to0or that the value is deleted. If it exists and is set to1, change it to0. - Click OK.
- Close the Registry Editor.
To Disable Changing Indexed Locations
To disable changing indexed locations, add or modify a specific registry value.
Follow these steps:
- Open the Registry Editor by typing
regeditin the Windows search bar and pressing Enter. If prompted by User Account Control, click Yes. - Navigate to the following path in the left-hand pane:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search. If theWindows Searchkey does not exist, you will need to create it. Right-click onWindows, selectNew, thenKey, and name itWindows Search. - In the right-hand pane, right-click on an empty space, select
New, thenDWORD (32-bit) Value. - Name the new value
PreventModifyingIndexedLocations. - Double-click on the new
PreventModifyingIndexedLocationsvalue. - In the Value data field, type
1. - Click OK.
- Close the Registry Editor.
Summary
You can decide if users can change the locations Windows indexes for searching on Windows 11. By using either the Local Group Policy Editor or the Registry Editor, you can enable or disable this feature to keep your computer's search settings configured as desired.
How to change indexing options?
To change indexing options, open the Indexing Options control panel. Click 'Modify' to add or remove folders. Windows will then update the search catalog. This helps Windows find your files faster.
Can I delete indexed locations?
Yes, you can remove specific folders from being indexed. In Indexing Options, click 'Modify' and uncheck any locations you no longer want Windows to search. This helps manage what Windows indexes.
How do I change the location of the Microsoft search index file?
You can move the search index file by opening Indexing Options, clicking 'Advanced', and then selecting a new location under 'Index location'. This requires administrative rights and a rebuild of the index.
Should you turn off Windows search indexer?
Turning off the Windows search indexer can slow down file searches significantly. Keep it on for faster results. Only disable it if you encounter issues or have specific reasons.
Was this guide helpful?
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.
No comments yet — be the first to share your thoughts!