How to set up automatic computer cleaning

Computers often get overloaded with temporary files and other junk that we often don't have time to clean up. This is where automatic cleaning comes in and you should start using it right away.

 

How to set up automatic cleanup in Windows

Windows has several built-in tools that help your PC clean up and optimize automatically. These include Storage Sense, automatic disk cleanup with Task Scheduler , and several built-in automations that help keep Windows tidy.

Storage Sense

Storage Sense is the easiest automatic cleanup tool to configure on Windows. Just follow these steps:

  1. Open Windows Settings and go to the System tab . Click Storage to continue.
  2. You'll see the Storage Sense slider under Storage management . Turn it on, then click settings to access more options.
  3. In this menu, you can configure how often Storage Sense runs and removes files.
  4. Notably, you can choose to delete any unused content on your computer that's also stored in the cloud. If you use Phone Link (the only app you need to connect your phone to Windows), you can enable similar cloud settings for files from there.

How to set up automatic computer cleaning Picture 1 How to set up automatic computer cleaning Picture 2 How to set up automatic computer cleaning Picture 3

 

Once the setup is complete, you should click the Run Storage Sense now button at the bottom of the screen to start the automatic cleaning cycle immediately.

Clean up your disk automatically with Task Scheduler

Storage Sense is convenient to set up, but doesn't give you much control over what gets cleaned up. If you don't mind getting a little technical, you can set up automatic disk cleanup using the Windows Task Scheduler:

  1. Open Command Prompt and type cleanmgr /sageset:1 . This will create a new sageset profile and open Disk Cleanup, where you can select which files you want to automatically delete. Click OK when finished.
  2. Open Task Scheduler . You can search for it in Windows Search by typing "Task Scheduler" and clicking on the corresponding option.
  3. Click Action in the toolbar menu, then select Create Task.
  4. In the Create Task window that appears, go to the Triggers tab . Click the New. button and schedule the task to run daily, weekly, or monthly.
  5. In the Action tab , click the New. button , select Start a program in the Action drop-down list , and enter cleanmgr /sageset:1 in the Program/script field . Click OK when finished.

How to set up automatic computer cleaning Picture 4 How to set up automatic computer cleaning Picture 5 How to set up automatic computer cleaning Picture 6 How to set up automatic computer cleaning Picture 7 How to set up automatic computer cleaning Picture 8

From this point on, the selected files will be automatically deleted according to your schedule without any further action required.

Automatic Maintenance feature built into Windows

In addition to the tools, Windows also automatically runs automatic maintenance on your PC by default. Windows typically configures this to run every day at 2 a.m. on your system, but you can change these settings in the Control Panel:

 

  1. Open Control Panel and click Security and Maintenance (under System and Security if using Category view ) .
  2. Expand the Maintenance tab , then click Change maintenance settings to modify the schedule. You can also choose to start manual maintenance immediately.

How to set up automatic computer cleaning Picture 9 How to set up automatic computer cleaning Picture 10

This tool doesn't have much functionality, but it's better than nothing, which can make a difference in the long run. Additionally, it can wake your computer to perform maintenance tasks, then put it back to sleep. So even if you shut down your PC every night, this maintenance is still happening.

Other automated cleaning methods you can use

If Windows' built-in tools aren't up to the task, you can also use third-party alternatives. These tools often offer more control and flexibility when it comes to cleaning up. Some even offer additional features like software and driver updates, and give you a clearer picture of your overall system health, all in one app:

  1. CCleaner : This is one of the most popular PC cleaning and maintenance programs out there, and it may even come pre-installed on your system. In addition to scheduled cleaning, you get real-time monitoring, software and driver updates. CCleaner can even optimize Microsoft apps on Windows 11.
  2. BleachBit : This is a free, open-source alternative that offers similar automation and cleaning capabilities to CCleaner. However, you have to manually schedule it using Task Scheduler following the steps described above.

The biggest drawback to using third-party programs to automate PC cleaning is that you'll likely have to pay a license fee (except for BleachBit) to get the most out of their features. The free or trial versions of these utilities are often quite limited and can easily be replaced by Windows' built-in tools.

Part of keeping your PC running at peak performance for as long as possible is good system maintenance, both hardware and software-wise. Luckily, Windows has plenty of options — built-in and third-party — to help troubleshoot problems.

5 ★ | 1 Vote

May be interested