Sometimes, we will encounter the win11 desktop icon suddenly turning into a white file, which looks very uncomfortable, and we don’t know who it is. This may be due to the file path being damaged. Just reset it.
1. First, right-click a blank space on the desktop and "New" a "Text Document"
2. After opening, enter the following:
@echo off
taskkill /f /im explorer.exe
CD /d %userprofile%AppDataLocal
DEL IconCache.db /a
start explorer.exe
cho Execution completed
3. After the input is completed, save it .
4. Then find the file, right-click and select "Rename"
5. Then rename the file Change the suffix name to ".bat"
6. After the renaming is completed, double-click to run the file to solve the problem of the desktop icon turning into a white file.
7. If it cannot be solved, it means that the system is broken or poisoned, and the only solution is to reinstall the system.
The above is the detailed content of Win11 desktop files turn into white icons. For more information, please follow other related articles on the PHP Chinese website!