FIX: Black Squares Behind Folder Icons in Windows 10

If your icons look strange or are stacked wrong, this is usually a display problem, not an error message. It mostly happens because the icon cache (where Windows stores icon images) is damaged. This can be caused by old system files, interrupted Windows processes, or third-party icon packs.

Other causes include custom folder icons or problems creating thumbnails.

 

1. Clear and Reset Your Computer’s Thumbnails Cache

Broken folder pictures usually mean the thumbnail cache is damaged. This cache saves small images for faster preview. Deleting and resetting the cache makes Windows create fresh previews, fixing any black boxes or picture problems on folder icons.

  1. Hold down the Windows Logo key, and while holding it, press R to open the Run dialog box.
  2. Type cleanmgr into the Run dialog and press Enter to launch Disk Cleanup.
  3. In Disk Cleanup, open the dropdown menu under Drives and select your root drive (usually the drive where Windows 10 is installed).
  4. Click OK.
  5. Wait for Disk Cleanup to analyze your drive and show a list of files that can be deleted.
  6. From the list, select Thumbnails by checking the box next to it. (If you want to free up more space, you can select other files as well.)
  7. Click OK.
  8. Wait for Disk Cleanup to remove the selected files. Once it’s done, restart your computer.
  9. black squaresAfter your computer restarts, check if the issue is gone.

2. Disable the Read-Only Attribute for Affected Folders

Sometimes folder pictures get messed up because the system marks them as “Read-Only.”
Turning off the Read-Only setting lets Windows update the folder’s icon and preview picture, which can fix the black square behind the folder icon.

  1. Right-click on a folder that has the black square problem.
  2. Click on Properties in the menu that appears.
  3. In the Attributes section, you’ll see the box next to Read-only with a small square in it. Click the box to uncheck it and remove the square.
  4. Click Apply.
  5. Click OK.
  6. Repeat steps 15 for any other folders that are affected.
  7. Restart your computer and check if the problem has been resolved.
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.