How to Deep Clean a Laptop Hard Drive
In this article
Deep cleaning a laptop hard drive means removing temporary files, leftover update caches, old restore points, unused apps and other hidden clutter so the drive has more free space and the system runs more smoothly. It does not mean physically scrubbing the disk, and it is not the same as a factory reset. Before you start, back up anything you cannot afford to lose to an external drive or cloud service, because some cleanup steps delete files permanently. Also plug the laptop in and make sure Windows is activated and up to date, since some tools are version-specific.
What You'll Need
- Your laptop with Windows 10 or Windows 11 (the steps below are for Windows; Mac users can use similar built-in tools like Storage Management and Disk Utility, but menu labels differ).
- An external hard drive or cloud backup for important files.
- The laptop charger, so the cleanup is not interrupted by a low battery.
- Administrator rights on the account you are using.
Step-by-Step
- Back up your data. Copy personal files, photos, documents and anything else you need to an external drive or a cloud service. This is the single most important step before deleting anything.
- Open Storage settings. Go to Settings > System > Storage. (Labels can differ slightly by Windows version and region.) Here you will see how much space each category uses, such as Apps & features, Temporary files and Documents.
- Run Storage Sense or Temporary files cleanup. In the Storage section, click Temporary files. Check the boxes for items you no longer need, such as Temporary files, Recycle Bin (only if you are sure nothing in it is needed), and Thumbnails. Click Remove files. If your version has Storage Sense, you can turn it on to automate this later.
- Uninstall unused apps. Go to Settings > Apps > Installed apps (or Apps & features in older versions). Sort by size and uninstall programs you no longer use. Be careful not to remove drivers or system utilities you rely on.
- Clear your browser caches. In each browser you use, open its settings and find the privacy or history section, then clear cached images and files. This frees space and can fix odd loading problems. You will stay signed in to most sites, but some preferences may reset.
- Delete old downloads and duplicates. Open File Explorer, go to your Downloads folder and remove installers and files you have already used. Then check Documents, Videos and Pictures for duplicates or large files you have forgotten about. You can sort by size to find the biggest items first.
- Use Disk Cleanup for system files. In the Start menu search, type Disk Cleanup and open it. Select the drive (usually C:), click Clean up system files, and let it scan. You can then remove Windows update leftovers and old system logs. Do not delete anything you do not recognise without checking what it is.
- Manage restore points and previous Windows installations. In the same Disk Cleanup window, the More Options tab lets you delete old restore points (keep the most recent one) and previous Windows installations if you are sure you will not roll back. These can free many gigabytes but are not reversible.
- Defragment or optimise the drive. For a traditional hard drive, open the Start menu, search for Defragment and Optimize Drives, select the drive and click Optimize. For an SSD, Windows will run a TRIM command instead; do not use third-party defragmenters on an SSD. This step improves performance rather than freeing much space.
- Check for drive errors. Open File Explorer, right-click the drive, choose Properties > Tools > Check. This scans for file system errors and bad sectors. It can take a while on a large or failing drive.
- Restart and check free space. Restart the laptop, then return to Settings > System > Storage to confirm the space you freed. If the drive is still nearly full, consider moving large media files to an external drive or cloud storage.
Common Mistakes
- Skipping the backup. Cleanup tools delete files permanently; without a backup, a mistake can cost you documents or photos.
- Deleting files you do not recognise. System folders and obscure app data can break programs if removed manually. Stick to the built-in cleanup tools unless you know exactly what a file is.
- Defragmenting an SSD. This adds wear without benefit. Windows handles SSDs automatically; use the Optimize tool and leave it at that.
- Confusing cleanup with a factory reset. A reset wipes apps and settings and is a last resort, not a deep clean. Only reset after backing up everything.
- Ignoring the Recycle Bin. Files you delete stay there until you empty it, so the space is not actually freed.
Tips
- Turn on Storage Sense so Windows clears temporary files automatically on a schedule.
- Keep at least 10–15% of the drive free; Windows needs room for updates and temporary files.
- Move large video and photo libraries to an external drive rather than deleting them.
- Run cleanup every few months, or whenever free space drops below about 20 GB.
- If the laptop feels slow after cleanup, check startup apps in Task Manager and disable ones you do not need.
Troubleshooting
- Disk Cleanup will not open or hangs. Restart the laptop and try again. If it still fails, run the built-in Troubleshooter from Settings > System > Troubleshoot > Other troubleshooters and look for Windows Update or Performance issues.
- You cannot free enough space. Check for large files using File Explorer's size sort, move personal media to an external drive, and review installed games or apps that take many gigabytes.
- You deleted something important. Restore it from the Recycle Bin if it is still there, or from your backup. Without a backup, recovery is not guaranteed.
- The drive reports errors. Back up immediately and run the Check tool again. If errors persist, the drive may be failing and should be replaced or inspected by a professional.
- Windows will not boot after cleanup. This is rare and usually means a system file was removed. Use Windows recovery options from the advanced startup menu to repair the system.
Frequently Asked Questions
Does deep cleaning a hard drive delete my files?
Only the files you choose to remove. Built-in cleanup tools target temporary files, caches and old updates, but anything you delete manually or empty from the Recycle Bin is gone, so back up first.
Is it safe to delete temporary files?
Yes. Temporary files are created by Windows and apps for short-term use and can be removed safely. Some apps may take slightly longer to start the next time as they rebuild caches.
Should I defragment my laptop hard drive?
Only if it is a traditional spinning hard drive. Solid-state drives should not be defragmented; Windows automatically sends the correct optimisation command for SSDs.
How often should I deep clean my laptop hard drive?
Every three to six months is reasonable for most users, or whenever free space falls below about 15–20% of the drive's capacity.
Will cleaning my hard drive make my laptop faster?
It can help if the drive was nearly full or clogged with startup apps, but it will not fix hardware limits. If the laptop is old and slow, adding RAM or switching to an SSD has a bigger effect.
Can I clean a Mac hard drive the same way?
The idea is the same, but the tools differ. On macOS, use Apple menu > System Settings > General > Storage to review and remove large files, and Disk Utility for First Aid checks. Menu labels vary by macOS version.