Disable creation of desktop.ini in Windows 8 (on the Desktop)

There are a few questions about the issue and they propose some solutions:

  • Disable displaying of hidden files (no solution at all)
  • Unchecking "Remember each folder's view settings" (which is not present in Windows 8!)
  • Creating "UseDesktopIniCache" in registry - which doesn't work either

Are there any other solutions that prevents creation of this file? It's keep poping up on my Desktop and it's driving me nuts...

OK, so Windows finally decided to stop pestering me with this nonsensical file... Yay, but I still would love to know how/why...


Solution 1:

Create a registry (*.reg) file with the following text:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"UseDesktopIniCache"=dword:00000000

And run it.