I am using Windows 7.

If I delete something from the desktop, then the icon remains there.

I have to hit F5 or right-click->Refresh to make the desktop refresh. After the refresh, the icon disappears.

Any suggestions?

  • (Can't post as answer due rep) Go to: (Explorer) Folder Options > Search tab and check or uncheck some of the options. Pretty stupid bug. Jul 4, 2014 at 18:04

4 Answers 4


I finally found the answer to this...

Open regedit and search for dontrefresh.

You should find a value that has dontrefresh set to 1. Change this value to 0 and your problem should be solved.

I found the value under HKEY_CLASSES_ROOT\CLSID\{BDEADE7F-C265-11D0-BCED-00A0C90AB50F}\Instance

I confirmed the fix on my laptop. No more pressing F5 after I make a new folder or move a file to my desktop!

  • Unfortunately, dontrefresh does not exist in my registry (according to the commens here, neither does on many other computers). I could obviously create it, but hard to to tell under what path it should be made. Jul 4, 2014 at 17:59

Temporary AutoHotkey fix:

While 1
    IfWinExist Confirm File Delete ahk_class #32770
        WinWaitClose, Confirm File Delete ahk_class #32770
        ControlSend,,{F5},ahk_class Progman
    Sleep 1


If the confirm file delete dialog is open, wait until it's closed then send F5 to the desktop. I know this will always refresh the desktop even if the file wasn't deleted from the desktop, but it doesn't hurt anything really.

  • Shouldn't it be "$Del::" , as you send {Del} itself in the script?
    – Snark
    Nov 11, 2009 at 22:12
  • last approach was bad anyways, changed it all around.
    – John T
    Nov 11, 2009 at 22:27
  • 1
    Shouldn't that have a While, 1 in there, in case the OP wants to delete more than one file? ;)
    – Phoshi
    Nov 11, 2009 at 22:31

I have solved the problem by removing the CPU clock from the side bar, this tool caused the problem and also didn't allow the machine to shut down properly.

If that is not the case, think about an application that you have installed recently that might cause this fault and remove it.

  • Thanks for the tip, but I have the sidebar completely turned off. Nov 24, 2009 at 17:06
  • Just about any 3rd party utility or extension can cause this in the same manner, so this is a good answer to consider, even if you don't have this specific utility. Sep 25, 2013 at 20:45

The cause on my PC was a "Network Location" that was pointing to a server that was turned off.

When I deleted that Network Location, all my icons started refreshing normally.

Here's a screenshot to show what I mean by Network Location:

enter image description here

This solution was originally found in a comment by Emin Guzel after HOURS of searching and experimenting with solutions.

Not the answer you're looking for? Browse other questions tagged or ask your own question.