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.
Does Rundll32.exe advapi32.dll,ProcessIdleTasks really clear memory?
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 API’s 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 uses 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.