Windows 10: How to prevent users from indexing Specific Paths in Search Index on Windows 10

Discus and support How to prevent users from indexing Specific Paths in Search Index on Windows 10 in Windows 10 News to solve the problem; At times, you might not want to include a particular folder or path in Windows Search. You can follow this tutorial to prevent users from indexing... Discussion in 'Windows 10 News' started by WinClub, Jun 2, 2021.

  1. WinClub New Member

    How to prevent users from indexing Specific Paths in Search Index on Windows 10


    At times, you might not want to include a particular folder or path in Windows Search. You can follow this tutorial to prevent users from indexing specific paths in the Search index on Windows 10 computer. It is possible to create this limitation using the Registry Editor and the Local Group Policy Editor.

    Let’s assume that you have some confidential files on your computer, and you do not want them to be included in Windows Search. You can enter a common folder path such as D:\my-folder\ (where D is a drive) so that other people cannot index any sub-folders that are pleased inside the my-folder. For example, users or even you cannot include a path like this: D:\my-folder\mysubfolder.

    How to prevent users from indexing Specific Paths in Search Index on Windows 10 prevent-users-indexing-specific-paths-search-index-5.jpg

    If you plan to follow the Registry Editor method, don’t forget to create a System Restore point or backup all Registry files before heading to the corresponding steps.

    Prevent users from indexing specific paths in Search Index using Registry


    To prevent users from indexing specific paths in Search Index, follow these steps:

    1. Press Win+R to open the Run dialog.
    2. Type regedit, press Enter, and click 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 > Key.
    7. Name it as PreventIndexingCertainPaths.
    8. Right-click on it > New > String Value.
    9. Name it as your folder path.
    10. Double-click on it to set the Value data.
    11. Enter the Value data as your folder path.
    12. Click the OK button.

    Let’s check out these steps in detail.

    At first, you have to open the Registry Editor on your computer. For that, press Win+R > type regedit > hit the Enter button, and click on the Yes option in the UAC prompt.

    Once it is opened, navigate to the following path:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

    Right-click on the Windows key, select New > Key and name it as Windows Search. Now you have to create a sub-key inside Windows Search. For that, right-click on it, select New > Key, and name it as PreventIndexingCertainPaths.

    How to prevent users from indexing Specific Paths in Search Index on Windows 10 prevent-users-indexing-specific-paths-search-index.png

    Next, right-click on this latest key and select New > String Value. You have to name this String Value after your folder path.

    How to prevent users from indexing Specific Paths in Search Index on Windows 10 prevent-users-indexing-specific-paths-search-index-1.png

    For example, if your desired folder path is D:\my-folder, you must enter the name as file:///D:\my-folder\*. For your information, adding the *, in the end, makes a wildcard entry, allowing users to block the entire folder and all subfolders. Also, if you want to block a network shared folder, you can enter otfs instead of the file.

    How to prevent users from indexing Specific Paths in Search Index on Windows 10 prevent-users-indexing-specific-paths-search-index-2.png

    Next, you have to set the Value data of the String Value. For that, double-click on the String Value, enter the same folder path in the empty box, and click the OK button to save the change.

    That’s it! Now you have to restart your computer to get the change.

    Read: How to disable Advanced Search Indexing Options in Windows 10.

    Block users from indexing specific paths in Search Index using Group Policy


    To block users from indexing specific paths in Search Index using Group Policy, follow these steps:

    1. Press Win+R > type gpedit.msc and press Enter button.
    2. Go to Search in Computer Configuration.
    3. Double-click on the Prevent indexing certain paths setting.
    4. Select the Enabled option.
    5. Click on the Show button.
    6. Enter the folder path.
    7. Click the OK button twice.

    To get started, press Win+R > type gpedit.msc and hit the Enter button to open the Local Group Policy Editor on your computer. Next, navigate to the following path:

    Computer Configuration > Administrative Templates > Windows Components > Search

    Double-click on the Prevent indexing certain paths setting and select the Enabled option.

    How to prevent users from indexing Specific Paths in Search Index on Windows 10 prevent-users-indexing-specific-paths-search-index-3.png

    Next, click on the Show button, and enter the desired folder path like this: file:///D:\my-folder\*

    How to prevent users from indexing Specific Paths in Search Index on Windows 10 prevent-users-indexing-specific-paths-search-index-4.png

    Then, click on the OK button twice to save the change.

    That’s it! Hope this article helped you.

    How to prevent users from indexing Specific Paths in Search Index on Windows 10 prevent-users-indexing-specific-paths-search-index-5.jpg
    This article How to prevent users from indexing Specific Paths in Search Index on Windows 10 first appeared on TheWindowsClub.com.

    read more...
     
    WinClub, Jun 2, 2021
    #1
  2. Paolo Mag Win User

    Search - Indexing not running

    Hello,

    One of the possible reasons why you're having issues when using search is because of a corrupted user profile. For us to assist you, we suggest that you create another account with administrator privileges and try to use the search feature again. Here's an
    article that you can visit to see how to do it:
    Create a local user or administrator account in Windows 10
    .

    If the issue persists, we suggest that you perform the steps listed below to correct the settings of your Indexed folder:

    • Press the Start button.
    • Type %LocalAppData%.
    • Select Packages.
    • Click on windows.immersivecontrolpanel_cw5n1h2txyewy.
    • Choose LocalState.
    • Right-click the Indexed folder.
    • Click Properties.
    • Click Advanced.
    • Click the checkbox beside Allow files in this folder to have contents indexed in addition to file properties so that a check mark appears.
    • Click OK.
    • Click Apply.
    • Click OK. A window with a progress bar will pop up as the folder is indexed.
    • Click OK when the indexing progress is finished.

    After doing the steps provided, kindly try to use the search feature again.

    Kindly update us with the results and if you need further assistance, feel free to post back.
     
    Paolo Mag, Jun 2, 2021
    #2
  3. Jan Del Win User
    Windows 10 indexing / search

    Hi Erik,

    System conflict is one of the possible reasons why the index built will not function properly. We suggest running the Search and Indexing troubleshooter by following these steps to resolve your issue:

    • Open Control Panel.
    • In the search box, type troubleshooting.
    • Click on Troubleshooting.
    • Click on View all.
    • Select Search and Indexing and select the proper scenario that you are experiencing on indexing and click
      Next for the troubleshooting to begin.
    Update us with the outcome so we can provide you further assistance.
     
    Jan Del, Jun 2, 2021
    #3
  4. Arun B J Win User

    How to prevent users from indexing Specific Paths in Search Index on Windows 10

    Windows 10 Windows Search / Indexing Stops Completing

    Hi,



    Thank you for posting your query in Microsoft Community.

    I understand your concern and will assist you to resolve this issue.

    I suggest you to follow the steps below and check if it helps

    • Press Windows key + R.
    • Type Services.msc In the search box.
    • Select Windows Search
    • Restart the services and set the service as Automatic
    If the issue persist try performing Rebuilding Index again.

    To rebuild the index follow the steps below:

    • Open the Control Panel from the Start menu.
    • Open Indexing Options in the Control Panel.
    • Select the Advanced button in the Indexing Options window.
    • Select Rebuild in the Troubleshooting section of the Advanced Options window.
    • Select OK when it asks if you’re sure you want to re-build the search index.


    Hope this helps. If the issue remains unresolved, please get back to us and we would be happy to help
     
    Arun B J, Jun 2, 2021
    #4
Thema:

How to prevent users from indexing Specific Paths in Search Index on Windows 10

Loading...
  1. How to prevent users from indexing Specific Paths in Search Index on Windows 10 - Similar Threads - prevent users indexing

  2. search indexing

    in Windows 10 Gaming
    search indexing: i cannot able to on search indexing and when i try to off or on the search indexing it is not connecting https://answers.microsoft.com/en-us/windows/forum/all/search-indexing/4dfc976c-6238-4bd2-9da5-e390b5e5cbb3
  3. search indexing

    in Windows 10 Software and Apps
    search indexing: i cannot able to on search indexing and when i try to off or on the search indexing it is not connecting https://answers.microsoft.com/en-us/windows/forum/all/search-indexing/4dfc976c-6238-4bd2-9da5-e390b5e5cbb3
  4. Search Index

    in Windows 10 Customization
    Search Index: Sir, I have HP 14s laptop with windows 10 OS and my laptop has been some issue with search index Indexing is not running from few days back and I have to know proper solution to solve this problem. I already done with all step present on Youtube and by HP consultant on...
  5. Search Index Not Consistently Indexing Contents

    in Windows 10 Support
    Search Index Not Consistently Indexing Contents: Hello, I think I have hit the limit of my knowledge with an issue I'm hitting and figured I would share in case anyone has any insights! I'm currently running Windows 10.0.19042 on this machine. I am using the Windows Search Index in a powershell script in order to help with...
  6. How to prevent Windows from automatically adding Shared Folders to Search Index

    in Windows 10 News
    How to prevent Windows from automatically adding Shared Folders to Search Index: If you often create shared folders and want to prevent Windows from automatically adding shared folders to Search Index, you can follow this step-by-step tutorial. It is possible to change this setting with the help of the Registry Editor and the Local Group Policy Editor....
  7. How to prevent users from modifying Search Index Locations in Windows 10

    in Windows 10 News
    How to 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...
  8. windows search and indexing

    in Cortana
    windows search and indexing: 1 my windows search does not search the d directory. 2 it happened at once that my index stopped working, when i go to the settings is crashes, i have tried all methods like run, command prompt, and at the end i restarted windows from iso, now i don't know what else i can...
  9. Windows 10 not searching or indexing

    in Windows 10 Installation and Upgrade
    Windows 10 not searching or indexing: No indexing, so I sfc /scannow ,dism etc, rebuild, re-ran windows 20H2,restoro,restore, and still indexing will not come around. https://answers.microsoft.com/en-us/windows/forum/all/windows-10-not-searching-or-indexing/db14f97d-377c-4769-8105-3edae83ce2b5
  10. windows 10 search and indexing

    in Cortana
    windows 10 search and indexing: Search is not working in File Explorer Windows 10. When I use Control Panel for Indexing Options I have no one included location after very long waiting. Nothing changed here after I use Rebuild in Advanced: no included location again. I did Stop and Restart of Windows Search...