If you run a windows computer you’ll know like many others than after a while your system will in doubt start running slow. Most people will restart their computer to remove and idle processes. But if there’s a simpler way, why restart every time windows decides it doesn’t like you today?

1. Right click on an empty spot on your desktop and select New – Shortcut.

2. Type %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks in the box.

3. Click Next.

4. Give your shortcut a nice name like “Clear Memory”.

5. Click Finish and you’re done.

Now whenever your computer starts running slow click this shortcut to clear out your memory and get your computer running at a normal pace again.


  1. lilai says:

    it doesn’t work. it says missing entry: processidletasks. what’s that?

  2. ostap says:

    same here. Does not work with the same error

  3. dogatuna says:

    how could I delete and clear my memory..Could you help me please

  4. Larry Miller says:

    The description of the command mentioned is completely wrong. By default Windows schedules a number of maintenance tasks to take place every 3 days during idle time. This way these tasks can not interfere with application performance. The command mentioned will initiate these tasks immediately. It will not teminate any tasks and it will not free memory.

    The command may require up to 15 minutes to run and there will be no notification when done. Disk activity may be high and interference with applications may occur. You do not want to do this before an intensive program is run.

    Most users will have little or no use for this command. Laptop users may require it as these systems will not enter idle mode under battery operation and idle tasks will not run.


    Larry Miller
    Microsoft MCSA

  5. Arun says:

    I find many web pages suggesting this as a method of clearing a memory.
    Though not sure whether it really clears the memory, Lara miller’s comment is worth to note.

  6. koenig says:

    it does’nt work also for me. when i click the shortcut its direct me to the windows folder.

  7. Jonathan Lewery says:

    Worked like a charm. Photoshop has a funny bug when there is little memory that none of the tools work and all you get is the hand icon for the mouse. This sorted it straight away. Thank you very much. Not sure why everyone else is having a problem. It could have been coincidence that it photoshop corrected itself right after I double-clicked the shortcut. If it happens again I will try it and post back.

  8. Tim says:

    Works Fine FOr Me
    it fixed my prob :D

  9. L. Martinez says:

    I want to get rid permantely of some of the websites that I have visited. How do you do this?

  10. PT says:

    Didn’t get any errors. But didn’t free up any memory either. Windows XP Media Center SP3.

  11. Phyllis says:

    I put in the link for the new shortcut to clear the memory, but it said file can’t be found. How can I clean the memory???

  12. barbara alder says:

    I would like to know the cost of clearing the computer when memory is full?

  13. somegeezer says:

    I had exactly the same problem (with Photoshop) as Jonathan Lewery and this solution worked a treat. Many thanks.

  14. Watameo says:

    Try it like this it works for me.
    C:\WINDOWS\SYSTEM32\rundll32.exe advapi32.dll,ProcessIdleTasks

  15. If Larry Miller is correct, and probably is, then how do I clear my W7 memory cache (standby memory)? It fills up and when the system sleeps it can at times wake up s-l-o-w-l-y with only a few hundred Megs of available memory out of 12 GB. When that happens I usually have to kill the system using the power switch, and I’m not happy about that.

  16. sheila says:

    I tried it and all that came up was my windows folder, how does that help?

  17. Kevin says:

    This solved my problem perfectly.

  18. Brice says:

    I love it! Works for me. Thanks so much!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>