Windows – Cannot Delete Thumbs.db

KB ID 0000683

Problem

Thumbs.db is a small hidden system file that gets generated when you view media in a folder, you know when you look at all your MP3 songs and you can see the album cover as a thumbnail? Or you can see what all your photos are as a tiny thumbnail before you open them, well thats what the thumbs.db file is doing. It’s a tiny cache of all that information so next time someone visits this folder it displays those pictures quicker. Well that’s great! But when you try and delete a folder with one in (particularly a folder on another machine) you can see the error below.

The file Thumbs.db is a system file if you remove it, Windows or another program may no longer work correctly.

Then it won’t let you delete it, and if you persist, you end up with a folder with just this file in it, that you cant delete.

Solution

First Step – Delete the Thumbs.db file

OK, lets solve the initial problem first and get rid of the one thats annoying us at the moment.

1. In Windows 8/2012 whilst in the folder > File > Open command prompt as administrator. (With older versions of windows hold down SHIFT and right click).

2. Issue the following commands;

[box] attrib -s -h thumbs.db del thumbs.db [/box]

Stop your PC Generating Thumbs.db Files

Option 1

Open Windows Explorer > View Options > Change folder and Search Options > View > Enable ‘always show icons, never thumbnails’ > Apply > OK.

Option 2 (Use the Local Policy of the Machine)

1. Press Windows Key+R to launch the run menu > gpedit.msc > OK.

2. Navigate to;

[box] User Configuration > Administrative Templates > Windows Components > File Explorer {or Windows Explorer} [/box]

Locate the ‘Turn off caching of thumbnail pictures’ policy.

3. Enable > Apply > OK.

Option 3 (Use the Registry)

You can simply run the following command;

[box] REG ADD “HKCUSoftwarePoliciesMicrosoftWindowsExplorer” /v “DisableThumbsDBOnNetworkFolders” /t REG_DWORD /d 1 /f [/box]

Or to do it manually,

1. Press Windows Key+R to launch the run menu > gpedit.msc > OK.

2. Navigate to;

[box] HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Explore > Advanced [/box]

Create a New DWORD Value.

3. Call it DeleteThumbnailCache and set its value to 1.

Remove all Thumbs.db Files

Finally lets tidy up any remaining thumbs.db files.

Option 1

1. Open Windows Explorer (Windows Key+E) > Right click the drive > Properties > Disk Cleanup.

2. Select Thumbnails > OK.

Option 2

1. From command line, issue the following commands;

[box] cd del thumbs.db /s /q [/box]

 

Related Articles, References, Credits, or External Links

NA

Google Chrome – “This webpage has a redirect loop” Error

KB ID 0000423 

Problem

I’m running Chrome 11.0.696.25 beta (At time of writing) and I’ve seen this error a few times, usually with Facebook, and it’s been more of an annoyance than anything else. I’ve seen it on my Windows 7 machine, and on my Ubuntu 10.10 Netbook.

Solution

1. Launch Chrome and click the Spanner Icon > Options > Under the hood > Content Settings.

2. Select “All cookies and site data.”

3. Select Remove All >Restart your browser and you should be fine.

 

Related Articles, References, Credits, or External Links

NA

 

Chrome – Deleting Cookies

KB ID 0000756 

Problem

It took me twenty minutes to find out how to delete a cookie for a single site today. All the information I found was for older versions of Chrome, that had the ‘Under the bonnet’ section.

Solution

1. As shown open the browser settings.

2. Show advanced settings.

3. Scroll down to the Privacy section > Content Settings.

4. All cookies and data.

5. Here you can simply “Remove All” to get rid of all of them.

6. Or search for specific sites, to remove single cookies.

 

Related Articles, References, Credits, or External Links

NA