Misconceptions: Rundll32.exe advapi32.dll,ProcessIdleTasks

Does Rundll32.exe advapi32.dll,ProcessIdleTasks really clear memory? Not really! There is a clear misconception on the net that Rundll32.exe advapi32.dll,ProcessIdleTasks clears the memory and makes the Windows PC run faster!

Rundll32 exe advapi32 dll

What does Rundll32.exe advapi32.dll,ProcessIdleTasks do

More light on this from Microsoft:

The file placement optimization, which is done no more often than once every three days, is an example of a task that is carried out when the system is deemed to be idle.

System Restore and other features of Windows also attempt to defer some work until the system is deemed to be idle. There are also some done-once-after-setup work items that also operate under the Idle Task Scheduling mechanisms.

All of these “idle tasks” are controllable by a system API in advapi32.dll, ProcessIdleTasks. The APIs sole purpose is to allow benchmarks a simple way to force any pending idle tasks to be executed immediately, without having to wait a lengthy period of time.

To call ProcessIdleTasks from the command line, one use’s the syntax:

Rundll32.exe advapi32.dll,ProcessIdleTasks

This command simply puts Windows into an idle state, enabling it to perform tasks that it wouldn’t otherwise normally do while the PC is in use; i.,e. in short forces idle tasks to be executed, and has nothing to do with clearing memory and making the PC run faster.

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.


  1. Rodolfo

    very good tip.
    run the command from the top.
    and it works great note change instantly.

  2. Dooshe Nozzle

    The article says this command is merely executing tasks that normally aren’t performed until the machine is idle… So what “change” are you noting, exactly?

  3. ToothyGrinn

    Checked the free memory before the command and then after

    The article … is correct!

Leave a Reply

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

9 + 4 =