Maybe this is only on localized version of Windows, I don't know.
If you rename a folder while in a Windows Search result window, instead of renaming the file, it will create a desktop.ini
file and add a LocalizedResourceName
variable with the new name instead.
As a result, there will be a discrepancy between the real folder name and the displayed folder name in Windows Explorer.
I spent hours tonight trying to find a solution, and then trying to delete desktop.ini files in a specific folder recursively without success.
So, here I am, asking for help. Is this a bug or not ?!
- Is there a way to prevent Windows Explorer to edit the desktop.ini file and rather rename the actual filename ?
- If this is a bug, why can't I find more people complaining about it ? Is there something wrong with the machine I get this issue on ? And if so, how to troubleshoot this ?
- How to get rid of desktop.ini files as a workaround ? I tried Powershell, I tried Unlocker and LockHunter. I tried the many things including
del /f /s
command. Everything fails because Windows is protecting these system files.
Note that in the past, on the same machine, and on Windows 10, I tried to fix this looking after Windows Search. Without success. I even ended up moving the index files and trying different set of permissions. Could it be related ? (Why ?!)
Hope someone can help. This drove me really mad.