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
How to set up automatic computer cleaning
How to set up automatic computer cleaning

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
How to set up automatic computer cleaning
How to set up automatic computer cleaning
How to set up automatic computer cleaning
How to set up automatic computer cleaning

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
How to set up automatic computer cleaning

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:

  • 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.
  • 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.

Leave a Comment

How to Use Windows 11 Quick Assist for Help

How to Use Windows 11 Quick Assist for Help

Discover how to use Windows 11 Quick Assist for seamless remote support. Learn step-by-step setup, troubleshooting, and tips to help friends or family with tech issues instantly.

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Struggling with dual monitor lag on Windows 11? Discover proven troubleshooting fixes to eliminate stuttering, delays, and performance issues for seamless multi-monitor setups. Step-by-step guide inside.

How to Fix Windows 11 Startup Settings Blank Error

How to Fix Windows 11 Startup Settings Blank Error

Struggling with the frustrating Windows 11 "Startup Settings" blank error? Discover proven, step-by-step fixes to restore your boot options quickly and get your PC running smoothly again. No tech expertise needed!

How to Activate Windows 11 Enterprise with KMS

How to Activate Windows 11 Enterprise with KMS

Discover how to activate Windows 11 Enterprise using KMS effortlessly. This comprehensive guide covers everything from requirements to troubleshooting, ensuring seamless activation for your business needs.

How to Fix Windows 11 Kmode Exception Not Handled

How to Fix Windows 11 Kmode Exception Not Handled

Struggling with the dreaded KMODE EXCEPTION NOT HANDLED error on Windows 11? Discover proven, step-by-step fixes to resolve this blue screen nightmare quickly and get your PC running smoothly again. No tech expertise needed!

Troubleshooting Windows 11 Motherboard Driver Error Fix

Troubleshooting Windows 11 Motherboard Driver Error Fix

Struggling with Windows 11 "Motherboard" Driver Error? Discover proven troubleshooting steps to fix it fast and get your PC running smoothly again. Easy, step-by-step guide for beginners.

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

Struggling with ping spikes on Windows 11 over Wi-Fi? Discover proven fixes to stabilize your connection, reduce lag, and enjoy smooth gaming or streaming. Step-by-step solutions for instant results.

How to Recover Deleted Photos in Windows 11

How to Recover Deleted Photos in Windows 11

Accidentally deleted precious photos? Discover proven methods to recover deleted photos in Windows 11 effortlessly. Step-by-step guides, tools, and tips to restore your images safely.

How to Use Windows 11 Terminal Instead of CMD

How to Use Windows 11 Terminal Instead of CMD

Discover how to use Windows 11 Terminal instead of CMD for a modern, efficient command-line interface. Learn installation, setup, and tips to boost your productivity with tabs, themes, and more.

How to Activate Windows 11 Pro Without a Product Key

How to Activate Windows 11 Pro Without a Product Key

Discover safe, legitimate ways to activate Windows 11 Pro without a product key. Learn step-by-step methods using built-in tools and official Microsoft options to get your OS up and running smoothly. No risks, no hassle – just pure productivity.