Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To automatically remove old files on Windows, use Storage Sense. It can regularly clear temporary files and, if you choose, delete items from the Recycle Bin or files in Downloads that have not been opened for a set period. For cloud files, it can remove inactive local copies while keeping them in OneDrive. Cleanup recommendations and Disk Cleanup are useful alternatives, but they require you to review and select what to remove.

Choose the right Windows cleanup method

These options differ in what they remove and whether they run on a schedule. Storage Sense is the only general-purpose option here for recurring cleanup based on settings you choose; the other two tools ask you to review categories or files first.

Method Automatic? What it can do
Storage Sense: local files Yes, when enabled and configured Remove temporary files and, if configured, age out Recycle Bin items and unopened Downloads files
Storage Sense: cloud content Yes, when configured Make inactive OneDrive files online-only rather than permanently deleting them
Cleanup recommendations No; you review and select items Present categories such as temporary files, large or unused files, cloud-synced files, and unused apps
Disk Cleanup No; you select categories to remove Remove selected temporary and system-file categories

1. Set Storage Sense to remove local files automatically

Storage Sense is the closest match to a recurring, age-based cleanup. It works on the Windows system drive, not as a sweep of every drive or arbitrary folder. It applies to the current user. Microsoft says it needs the user to be signed in and online for more than 10 minutes to run.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configure Storage Sense in Windows 11

  1. Open Settings > System > Storage > Storage Sense.
  2. Turn on Storage Sense and choose how often it should run, or configure it to run when the device is low on disk space.
  3. Choose how long items may remain in the Recycle Bin before Windows removes them.
  4. If you want Downloads cleaned, set how long files can go unopened before deletion. Downloads are not removed unless you configure this rule.

Check the thresholds before enabling them: an old file can still be important, and Storage Sense’s Downloads rule can delete a file you have not opened within the selected period. Move files you want to keep elsewhere before they reach that threshold.

#1 Best Overall

Find the setting in Windows 10

Windows 10 labels and navigation can vary by release. Open Storage settings and follow the Storage Sense configuration link; verify the displayed schedule and retention options on your version before relying on them.

2. Use Storage Sense to free space from OneDrive files

For OneDrive content, Storage Sense can make inactive local copies online-only. This frees local drive space without deleting the cloud file. A file marked Always keep on this device is exempt from this space-saving behavior.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Making a file online-only is different from deleting it: the file remains in OneDrive, but you need an internet connection to download it again for local use. This is not automatic under default settings; configure the relevant cloud-content controls in Storage Sense. If you need offline access, keep the file on the device rather than allowing it to become online-only.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

3. Review Cleanup recommendations before removing files

Use Cleanup recommendations when you want Windows to identify potential space savings but do not want a scheduled deletion rule. It can present groups such as temporary files, large or unused files, cloud-synced files, and unused apps. Review the selections and remove only what you recognize and no longer need. This is a review-based cleanup, not recurring age-based deletion.

Rank #3
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.

4. Select categories in Disk Cleanup

Disk Cleanup provides another manual route for removing selected temporary and system-file categories. Open the utility, choose the drive, review the available categories, and select only those you intend to remove. It does not provide a general schedule for automatically deleting old personal files.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Windows.old: a separate cleanup case

After a Windows upgrade, the previous installation is a special case rather than a general old-file rule. Microsoft says Windows automatically deletes the previous Windows version 10 days after the upgrade. Removing it sooner also removes the option to roll back to that version, and the removal cannot be undone. Keep it until you are confident you do not need to return to the previous Windows installation.

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.00
Rank #4
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.

Keep important files out of automatic cleanup

  • Do not set a Downloads or Recycle Bin retention period until you understand what it will remove.
  • Move files you want to retain out of Downloads or the Recycle Bin before the configured threshold.
  • For OneDrive, distinguish between a local copy becoming online-only and the file being deleted from cloud storage.
  • If you want to keep personal files but free space, move them to an external storage device. An external drive can serve as an archive destination, but it does not automate deletion.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.