Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Using A Batch File to Clear Memory

Summary: Learn How to clear memory on Windows using a batch file. Optimize your computers performance by removing cache and temp files with this step-by-step guide.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

Creating and Using a Batch file.

This Memory cleaner batch file automatically clears all the cache and temp files.

  1. Open Notepad and then paste the following code into it.
%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
  1. Save the notepad file as cleaner.bat. Save the file on your desktop and now run the bat file to clear Memory.
Warning: Editing system files can damage your computer. Copy the code correctly as it is.

Article Properties


Last Published Date

16 Oct 2023

Version

6

Article Type

How To