Thumbs.db is a file under Windows XP, not a virus, but a thumbnail database file, which typically exists in a folder with picture files, and its volume increases as the number of picture files in the folder increases. Thumbs.db can provide caching for the resource manager, which allows the file to be previewed without opening the file itself, thereby speeding up the preview of the picture, without any harm to the system.
If you don't want a thumbs.db file in every folder that has pictures, you can open My Computer window on any open window (such as double-clicking My Computer on the desktop), click tools → Folder options in the menu bar to open the Folder Options window, and click the View tab. Click the box before "do not cache thumbnails", and then click "√" in the box before "do not cache thumbnails", and then the "OK" button can be clicked.
After this setting, "thumbs.db" files will not be automatically generated in all new folders, but many "thumbs.db" files that have already been generated will still exist and must be deleted manually. In fact, we can use the "search" tool to remove all "thumbs.db" at once.
1. In the View tab of the Folder Options window in Figure 2, drag the scroll bar to the right, remove the check in front of the Hide protected operating system files, and then select Show All Files and folders (that is, click the Circle in front of it, and the dots will point to the circle in front of it. In fact, if you do not set "Show All Files and folders" and remove the "Hide protected operating system files" before the Tick, "thumbs.db" This file you can not see, and finally click OK to exit.
2. Right-click "My Computer" on the desktop, left-click "Search", open the Search Results window (Figure 4), click All Files and folder items, and then enter thumbs.db under all or part of the file name: NOTE: Letters can be case-insensitive, but not wrong, the middle "point" can not be lost; Find here "select local hard Drive (C:;D:; E:; ...), which means that all the hard drives are selected; Click on the "half of the title" button after "more advanced options" to check the three items "search system Folders", "Search for hidden files and folders", "Search Subfolders" (Figure 6), and then click the "Search" button.
3. After the search is complete, click the "edit" → "Select All" of the "Search Results" window menu bar (that is, all the "thumbs.db" files you have found are selected. You can also press and hold the left mouse button on the right side of the window to select or use the keyboard: press and hold a CTRL key, then click the Letter a key, Finally, let go of the CTRL key (and then click "File" → "delete" on the menu bar) (you can also point the mouse pointer at any "thumbs.db" file, right-click, and click "Delete").
4. Open the Folder Options window again (that is, figure 2 screen), click the Revert to Default button, which is intended to return the "Hide protected operating system files" check box that was removed from the previous operation to the point "Show All files and folders" to "Do not show hidden files and folders" Because this is the default state of the system so that we can delete the displayed system files or other important files in the future in case of misoperation.