OPERATING SYSTEMSOS Windows

Prevent users from modifying Search Index Locations in Windows 10


Windows Search Index helps you find a particular file quickly while searching for it, and it is possible to add or remove locations in Search Index. If you have customized the Search Index according to your requirements and prevent users from modifying Search Index Locations in Windows 10, you can follow this tutorial. It is possible to create the limitation using the Local Group Policy Editor and the Registry Editor. When you do this, the Modify Search Index Locations will be grayed out.

How to prevent users from modifying Search Index locations

Prevent users from modifying Search Index Locations using Group Policy

To prevent users from modifying Search Index locations using Group Policy, follow these steps:

  1. Press Win+R to open the Run dialog.
  2. Type gpedit.msc and hit the Enter button.
  3. Navigate to Search in Computer Configuration.
  4. Double-click on the Prevent customization of indexed locations in Control Panel setting.
  5. Select the Enabled option.
  6. Click on the OK button.

Continue reading to know more about these steps.

At first, you have to open the Local Group Policy Editor on your computer. For that, press Win+R, type gpedit.msc, and hit the Enter button.

Once it is opened, navigate to the following path:

Computer Configuration > Administrative Templates > Windows Components > Search

Here you can find a setting called Prevent customization of indexed locations in Control Panel on the right side. Double-click on it and select the Enabled option.

How to prevent users from modifying Search Index locations

Click on the OK button to save the change.

Block users from modifying Search Index Locations using Registry

To prevent users from modifying Search Index locations using Registry, follow these steps:

  1. Search for regedit in the Taskbar search box.
  2. Click on the individual result and select the Yes option.
  3. Navigate to Windows in HKEY_LOCAL_MACHINE.
  4. Right-click on Windows > New > Key.
  5. Name it Windows Search.
  6. Right-click on Windows Search > New > DWORD (32-bit) Value.
  7. Name it as PreventModifyingIndexedLocations.
  8. Double-click on it to set the Value data as 1.
  9. Click the OK button.

Let’s check out the detailed version of these steps.

At first, search for regedit in the Taskbar search box, click on the individual result and select the Yes option to open the Registry Editor. After that, navigate to the following path:

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows

Right-click on Windows > New > Key, and name it Windows Search.

How to prevent users from modifying Search Index locations

Right-click on Windows Search > New > DWORD (32-bit) Value and name it as PreventModifyingIndexedLocations.

How to prevent users from modifying Search Index locations

Double-click on this REG_DWORD value to set the Value data as 1.

How to prevent users from modifying Search Index locations

Click the OK button to save the change.

If you follow the Registry method, don’t forget to create a System Restore point before changing anything.

That’s all!

Read: Windows Search Indexer and Indexing Tips & Tricks.

How to prevent users from modifying Search Index locations

Source link

Leave a Reply

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