How To Automate Ram Cleaner with Microsoft RamMap - NeweggTechie/Windows-Troubleshooting-Utilities GitHub Wiki

  • Put Clean_Ram.bat in any folder, download here

  • Run Clean_Ram.bat manually run as admin once so RamMap can be downloaded- click agree to the popup

  • Open up Task Scheduler in Windows, on the Right side, click "Create Task"

  • In the General Tab

  1. Choose a name like "Ram Cleaner"
  2. Press "Run with highest Privileges" - this is to stop it asking for admin permissions with the pop up prompt.
  3. Click Hidden so there is no bat window that launches (would cause an alt tab if in fullscreen)
  • In the Triggers Tab, press new
  1. Begin Task - On Schedule
  2. In settings - Check Daily. Set to Recur every: 1 day(s)
  3. In Advanced settings - Repeat task every: x Hours - dropdown max's at 1 but you can type in longer durations.
  4. Set For a duration of: to Indefinitely, Press OK
  • In the Actions Tab, press new
  1. Set Action: Start a program
  2. In settings - Press Browse beside Program/Script, find your CleanRam.bat file and select it, Press OK
  • Leave the Conditions & Settings tabs on default, Press OK