Friday 9 October 2015

Microsoft: Unable to Delete Desktop Icon or Keep Coming Back

<< Error Message >>
Are you sure you want to Delete the icon/file/folder from your desktop/folder/drive?
To restore it later, Go to Display in Control Panel.

<< Solution >>
1. Open command prompt
2. Run the following commands:
@echo off
taskkill /F /IM explorer.exe
attrib -h  "%userprofile%\Local Settings\Application Data\IconCache.db"
del "%userprofile%\Local Settings\Application Data\IconCache.db"
start explorer.exe
cls
echo Icon cache cleared!
pause

* Note: The steps above are to rebuild the Windows icon cache.

No comments:

Post a Comment