Recently, we talked about how to resolve the issue of folders and files turning into shortcuts inside a USB drive. Now, we came across yet another very similar problem concerning USB devices. This time we found that whenever we plug the USB drive, things work perfectly, but when we physically remove the disk, you may see some system folders transferred into it. Basically, these seem like System folders like $SysReset, etc. Have a look at the following screenshot.
Prevent System Volume Information folder creation on USB
When we just started facing this trouble, for the first time, we deleted this transferred folders and they were erased. But then we plugged the USB again and removed the USB, the same thing repeated. If you too are facing this problem, you may get irritated with this. There are two ways you can get rid of this issue.
Using GPEDIT Do not allow locations on removable drives to be added to libraries setting
1. In Windows 10/8.1 Pro & Enterprise Editions, press Windows Key + R combination, type put gpedit.msc in Run dialog box and hit Enter to open the Local Group Policy Editor.
2. Navigate here:
Computer Configuration -> Administrative Templates -> Windows Components -> Search
3. In the right pane of the above shown window, look for the setting named Do not allow locations on removable drives to be added to libraries and double click on.
This policy setting configures whether or not locations on removable drives can be added to libraries. If you enable this policy setting, locations on removable drives cannot be added to libraries. In addition, locations on removable drives cannot be indexed. If you disable or do not configure this policy setting, locations on removable drives can be added to libraries. In addition, locations on removable drives can be indexed.
4. In the above shown window, click on Enabled and then click Apply followed by OK. Close the Local Group Policy Editor and restart the machine, plug in the USB and plug out. You’ll be no longer facing the trouble.
Using REGEDIT DisableRemovableDriveIndexing key
If your edition of Windows does not have the Group Policy Editor, do the following:
1. Press Windows Key + R combination, type put regedit in Run dialog box and hit Enter to open the Registry Editor.
2. Navigate here:
3. In the left pane of this location, right-click over Windows key and select New -> Key. Name the newly created sub-key as Windows Search.
Now select the same sub-key and come to its right pane as shown in image above. Right-click in the blank space, select New -> DWORD Value. Name the newly created DWORD as DisableRemovableDriveIndexing. Double click on the same DWORD to get this:
4. In the above-shown box, input the Value data as 1. Click OK. You may now exit Registry Editor and reboot, this should fix the issue significantly.
Hope this helps!