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 applies to   This article does not apply to 

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
Article Number: 000135233
Article Type: How To
Last Modified: 16 Oct 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.
Article Properties
Article Number: 000135233
Article Type: How To
Last Modified: 16 Oct 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.