Published by


Brink's Avatar
Administrator

Posts: 25,175

Show Printable Version 


Enable or Disable Adding Locations on Removable Drives to Index and Libraries in Windows 10

information   Information
By default, Windows will use the index when searching to give you faster search results. The search index only includes your selected locations. These locations can be filtered for what file types (extensions), file properties, and file contents you want indexed.

Libraries gather folders that are stored in different locations so you can browse them in one place. You can include folders and drives to a library as you like.

By default, users in Windows are able to add locations on removable drives to libraries and as indexed locations.

This tutorial will show you how to enable or disable the ability to add locations on removable drives to libraries and as indexed location for all users in Windows 8.1 and Windows 10.

You must be signed in as an administrator to enable or disable adding locations on removable drives to libraries and indexed locations.

CONTENTS:
  • Option One: Enable or Disable Adding Locations on Removable Drives to Index and Libraries in Local Group Policy Editor
  • Option Two: Enable or Disable Adding Locations on Removable Drives to Index and Libraries using a REG file


EXAMPLE: Adding removable drive to library and as indexed location
Click image for larger version. 

Name:	Add_removable_drive_to_library.png 
Views:	16 
Size:	108.0 KB 
ID:	154093
Click image for larger version. 

Name:	Add_removable_drive_location_to_index.png 
Views:	16 
Size:	103.4 KB 
ID:	154092





Disable Adding Removable Drives to Index and Libraries in Windows 10 OPTION ONE Disable Adding Removable Drives to Index and Libraries in Windows 10
Enable or Disable Adding Locations on Removable Drives to Index and Libraries in Local Group Policy Editor

Note   Note
Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

All editions can use Option TWO below.

1. Open the Local Group Policy Editor.

2. In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)

Computer Configuration\Administrative Templates\Windows Components\Search

Name:  DisableRemovableDriveIndexing_gpedit-1.jpg
Views: 161
Size:  58.9 KB

3. In the right pane of Search in Local Group Policy Editor, double click/tap on the Do not allow locations on removable drives to be added to libraries policy to edit it. (see screenshot above)

4. Do step 5 (enable) or step 6 (disable) below for what you would like to do.


 5. To Enable Adding Locations on Removable Drives to Index and Libraries

A) Select (dot) Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

NOTE: Not Configured is the default setting.


 6. To Disable Adding Locations on Removable Drives to Index and Libraries

A) Select (dot) Enabled, click/tap on OK, and go to step 7 below. (see screenshot below)

Name:  DisableRemovableDriveIndexing_gpedit-2.png
Views: 158
Size:  37.4 KB

7. When finished, you can close the Local Group Policy Editor if you like.






Disable Adding Removable Drives to Index and Libraries in Windows 10 OPTION TWO Disable Adding Removable Drives to Index and Libraries in Windows 10
Enable or Disable Adding Locations on Removable Drives to Index and Libraries using a REG file

Note   Note
The .reg files below will add and modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search

DisableRemovableDriveIndexing DWORD

(delete) = Enable
1 = Disable

1. Do step 2 (enable) or step 3 (disable) below for what you would like to do.


 2. To Enable Adding Locations on Removable Drives to Index and Libraries

NOTE: This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Enable_adding_locations_on_removable_drives_to_libraries_and_index.reg

download


 3. To Disable Adding Locations on Removable Drives to Index and Libraries

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Disable_adding_locations_on_removable_drives_to_libraries_and_index.reg

download

4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7. Restart the computer to apply.

8. If you like, you can now delete the downloaded .reg file.


That's it,
Shawn