Windows 10 has a small visual error where when you open File Explorer and browse to a folder location, some of those folders have a black box around their icon.
The black background in the folders appears randomly in Windows. Some folders may have it, while others may not. Refreshing the screen does not help. See below how to fix it.
Fix the black background of folders in Windows 10
1. To fix the black background in folders, you must first open the Disk Cleanup tool (Disk Cleanup). If you don't know how to open it, press the Win + R keys at the same time and in the run window that appears write the word cleanmgr and press the OK button.
2. Εκτελέστε μία εκκαθάριση δίσκου στη μονάδα των Windοws σας, δηλαδή τη μονάδα δίσκου στην οποία είναι εγκατεστημένα τα Windows 10. Βεβαιωθείτε ότι έχει τσεκαριστεί η επιλογή "Μικρογραφίες" και κάντε click to OK. When prompted, confirm that you want to delete the files.
3. Next, you need to clear the cache of the icons created by Windows 10. To do this, open File Explorer and go to the following location: C: \ Users \ Your_Name \ AppData \ Local
You mean you have to fill in the name correctly usesτε στα Windows στην θέση του παραπάνω link "Το_ονομα_σας"
Here, look for a file called IconCache.db and delete it.
4. Once you have done this, open File Explorer again and go to the following location.
C:\Users\Your_Name\AppData\Local\Microsoft\ Windows \ Explorer
Select from here all the files and delete them. If Windows 10 prevents certain files from being deleted, click the button Skip and delete what you can.
5. Finally, you need to restart File Explorer. You can do this from the Task Manager. Open Task Manager and look for Windows Explorer on the Procedures tab. Select it and click the Restart button in the lower right corner. When File Explorer is restarted, the black background in the folders will be gone.
This will fix the problem. However, as it relates to the cache of icons, it can reappear. There is no known cause behind this error and since it is a very small bug, compared to everything else that goes wrong with Windows 10, it is not exactly a high priority. There are bigger issues that Microsoft still has not fixed.
Another solution, although very slow, is to delete the folder (after backing up its contents) and create a new one in its place. You can then move its contents backwards and logically the new folder will not have the same black background.