How to Clean Up an External Hard Drive or USB Drive on Windows Without Losing Files


To clean up an external hard drive on Windows, back up what matters, find the files that really take up space, delete only what you choose, and then check the drive for errors. Do not hand the drive to a general PC cleaner and press Clean. Most cleaners are built for the internal Windows drive. Windows' automatic clean-up tools generally leave other drives alone. Deleting from an external drive can also be permanent. This guide covers a safe, step-by-step clean-up for external hard drives and USB flash drives on Windows 10 and 11.
Last reviewed: November 23, 2026. Windows steps were compared with Microsoft's pages on freeing drive space, Storage Sense and safely removing hardware, listed under Sources. Menu names differ slightly between Windows 10 and Windows 11. Nothing was run on a real drive for this article, and no cleaner was installed.
Quick answer
- An external drive is often your only copy of something. Copy important files to a second place before you delete anything.
- Find large and duplicate files first, because they free the most space with the fewest deletions.
- Assume deleting from an external drive cannot be undone. The Recycle Bin may not catch it.
- Check the drive for errors after cleaning. Format only if you have already saved what you need.
In this guide
- Why external drives are different
- Internal drive versus external drive
- Step 1: back up first
- Step 2: see what takes the space
- Step 3: delete safely
- Step 4: handle duplicates
- Step 5: check for errors and malware
- Step 6: format only as a last step
- Eject the drive properly
- If the drive does not show up
- If something goes wrong
- Frequently asked questions
- How this article was checked
- Sources
Why external drives are different
An internal Windows drive is full of temporary files and caches. They are made to be thrown away. An external drive usually holds things you put there on purpose, such as photos, backups, videos, installers and archives. Nothing on it is cleaned automatically, and any file could matter.
- Windows' built-in cleaning focuses on the system drive. Microsoft's Storage Sense page says it works on your system drive only, which is usually C:. To free space on other drives, Microsoft points you to Storage used on other drives. An answer on Microsoft Q&A agrees that Storage Sense does not touch connected USB drives. Check your own settings before relying on either.
- Cleaners may offer to scan external drives. If yours does, switch that off or exclude the drive. See best PC cleaner settings and how to stop a PC cleaner deleting personal files. For the wider question, our PC cleaner safety checklist is a good place to start, and system cleanup software to avoid lists the tools to be most careful with.
- Deletion may be permanent. Whether a deleted file goes to the Recycle Bin can depend on the type of drive. Do not count on getting it back. If you lose a file, stop writing to the drive and read how to recover deleted files.
Internal drive versus external drive
| Question | Internal Windows drive (C:) | External or USB drive |
|---|---|---|
| What is on it? | Windows files, apps, temporary files and caches | Files you chose to keep, such as photos, backups and archives |
| Is cleaning automatic? | Partly, through Storage settings and Storage Sense | No. Storage Sense works on the system drive only |
| Safe first step | Storage settings, then Temporary files | Back up, then review one folder at a time |
| Is a cleaner suitable? | Use with care and read each option | We suggest not. Turn off external scanning |
If your C: drive is also full, treat that as a separate clean-up. Our comparison of PC cleaner, Storage Sense and Disk Cleanup covers the built-in options for the system drive.
Step 1: back up first
A drive that is kept in only one place is a single point of failure. Before you delete anything, copy the files you cannot replace to another drive or to cloud storage. Our backup guide shows the options.
A common rule of thumb is to keep at least two copies on separate devices, with one kept away from the PC. That is general advice, not a Microsoft requirement.
An external drive is not a backup on its own
If it holds the only copy of your files, treat every delete as risky. Back up first, then clean.
Step 2: see what takes the space
Check how full the drive is
- Connect the drive and open File Explorer > This PC.
- Right-click the drive and choose Properties. The General tab shows used and free space.
- On Windows 11, go to Settings > System > Storage > Advanced storage settings > Storage used on other drives. This lists connected drives and what they contain, where available.
Find the large files
- Open the drive in File Explorer and switch to Details view.
- Sort by Size by selecting the Size column heading. Or search the drive for
size:>1GB. This is general File Explorer search syntax, and it may take a while on a large drive. - Note the biggest folders. Video projects, old backups, disk images and installers are common space users.
Microsoft's page on freeing drive space suggests moving files you keep but rarely use to an external drive. The same idea works in reverse when the external drive is the one that is full. Move old files to a second drive first. Delete the originals only after the copy is verified.
Step 3: delete safely
- Delete in small batches that you recognise, not a whole drive at once.
- Verify copies before deleting originals. Open a few files from the backup to confirm they work.
- Prefer moving to deleting. Move a folder to a second drive, check it, then delete the original.
- Leave unknown folders alone. System Volume Information and hidden folders on a drive are managed by Windows or other software. Do not delete them by hand.
- Watch for programs that use the drive. Backup software, photo libraries and game launchers may expect their folders to stay put.
Some people use Shift + Delete to skip the Recycle Bin. We suggest the normal Delete first. Treat anything removed from an external drive as gone.
Step 4: handle duplicates
Copies of the same photos and videos are one of the biggest hidden space users on external drives. They pile up after several rounds of backing up. Windows has no built-in duplicate finder that we could confirm, so the safe method is manual. Sort by name or size, compare, and delete only what you have confirmed is an exact copy.
Our guide to duplicate files in Windows 11 explains how to find them, what to check, and which files never to delete. If you use a cloud service, see PC cleaner and OneDrive for why synced folders need extra care.
Step 5: check for errors and malware
Check the drive for errors
- Open File Explorer > This PC. Right-click the drive and choose Properties.
- Open the Tools tab and, under Error checking, select Check. Follow the prompts.
- Read the result. Windows tells you whether it found problems or whether the drive is fine.
If no errors are found, Windows says so. If it reports errors, stop deleting and save your files first. For a fuller picture of a drive's health, see how to check hard drive or SSD health with SMART.
A failing drive needs a different approach
If the drive clicks, disconnects or shows read errors, copy off what you can first. Do not run repair tools that rewrite the drive until your important files are saved elsewhere. If the data matters and the drive is failing, a technician can help. See when to call a technician. For a drive Windows sees but asks you to format, see USB drive says you need to format the disk.
Read-only check from the command line
Windows also includes chkdsk, a command-line tool. Run with no options, chkdsk only reads and reports on the drive. It does not repair anything. The examples below use E: as a placeholder, so replace it with your drive letter.
- Open Command Prompt as administrator.
- Type
chkdsk E:and press Enter. This is the read-only check. - Only if that check reports problems, consider
chkdsk E: /scan. On NTFS drives, /scan runs an online scan while the drive stays in use. Microsoft's chkdsk documentation says this can repair some problems that way.
Do not add /f or /r yet
The /f and /r options lock the drive for repair and can change files. Repairs can also lose data, so use them only after a verified backup and after you have checked the drive's health.
Look at the drive in Disk Management
Disk Management is a built-in Windows tool. It lists drives, partitions and their status. Search the Start menu for it and open it. Look only. Do not select Delete Volume, Format or Change Drive Letter. Status labels, when shown, can tell you more than File Explorer does. This is general Windows behaviour, and we did not confirm its labels on a Microsoft page.
Scan for malware
Drives that move between computers can carry unwanted files. In File Explorer you can usually right-click the drive and scan it with Microsoft Defender, and you can also run a scan from Windows Security. If something looks wrong, see how to remove a virus or malware. Our article PC cleaner vs. antivirus explains why a cleaner is not the tool for this. For how built-in health checks differ from cleaners, see Windows Security device health versus a PC cleaner.
Step 6: format only as a last step
Formatting wipes the drive. It can give you a fresh start or change the file system. Do it only after you have copied everything you need elsewhere.
- Confirm the backup opens and is complete.
- Check the drive letter. Formatting the wrong drive is a common, painful mistake.
- Pick a file system deliberately. exFAT is common for drives shared between Windows and other systems. NTFS suits Windows-only use. FAT32 cannot store single files over 4 GB. These are general facts, so check what your devices support. Our guide to FAT32, exFAT and NTFS compares them.
- A quick format does not guarantee data is unrecoverable. If you are giving the drive away, read cleaning a Windows PC before selling for the general principles. Treat sensitive data with extra care.
Eject the drive properly
Microsoft advises you to always use Safely Remove Hardware before you disconnect a USB flash drive or external hard drive. This helps avoid losing data.
Find the Safely Remove Hardware and Eject Media icon in the system tray. It may sit behind the hidden icons arrow. Right-click it, choose the device, and unplug when Windows says it is safe. Microsoft's page notes that the icon may not appear if the device is not connected or is not recognised.
An answer on Microsoft Q&A says a USB flash drive can be unplugged without ejecting when nothing is being written. Never unplug during a transfer. We still suggest ejecting, because it is the safer habit. It matters most after a big clean-up, when many files have just changed.
If the drive does not show up
If the drive does not appear, work through these checks in order. Stop at the first one that works.
- Try another USB port. Use one directly on the PC rather than a hub if you can. Try a different cable if the drive has one.
- Check the power. Some external drives need their own power adapter to spin up.
- Look in Disk Management, read-only. If the drive appears there but not in File Explorer, it may need a drive letter or may not be initialised. Do not initialise or format it until you have checked what is on it.
- If Windows does not recognise the device at all, see USB device not recognized.
If something goes wrong
- You deleted something by mistake
- Stop using the drive. Follow the recovery note in Why external drives are different above, and see PC cleaner deleted important files.
- The drive is read-only or write-protected
- Windows does not recognise the drive
- See the steps under If the drive does not show up, above.
- The drive is fine but your PC is full
- The problem is on the internal drive. See how to free up disk space and our PC cleaner overview.
If your PC is also low on space, our guide to freeing space on small-storage laptops shows how to move files to an external drive safely.
Frequently asked questions
Questions about cleaning
Can I use a PC cleaner on an external hard drive?
We suggest not. Most are designed for the Windows drive, and an external drive holds files you chose to keep.
Does Storage Sense clean external drives?
No. Microsoft's Storage Sense page says it works on the system drive only. An answer on Microsoft Q&A says the same. Check your own settings.
Do files deleted from a USB drive go to the Recycle Bin?
It can depend on the type of drive. Assume they may be permanently deleted.
How do I find the biggest files on an external drive?
Open it in File Explorer in Details view and sort by Size, or search for size:>1GB.
Questions about safety
Is it safe to format an external drive to clean it?
Only after you have copied everything you need elsewhere. Formatting wipes the drive.
What is the best file system for an external drive?
exFAT is common for sharing between devices, and NTFS suits Windows only. FAT32 has a 4 GB single-file limit.
Should I eject the drive every time?
It is the safer habit, and Microsoft advises using Safely Remove Hardware to avoid data loss.
How do I know the drive is healthy?
Run Error checking from the drive's Properties > Tools tab. Copy off your data if you see read errors or the drive disconnects.
Can I check for errors without changing anything?
Yes. Running chkdsk with no options is read-only and only reports status. Microsoft's chkdsk documentation describes it this way.
How this article was checked
The advice on freeing space, Storage Sense and safely removing hardware was compared with Microsoft Support pages. The chkdsk notes were compared with Microsoft Learn documentation. The statements about unplugging flash drives and Storage Sense come from answers on Microsoft Q&A, not from Support articles. File Explorer search, Disk Management and other general Windows behaviour were not confirmed on a Microsoft page. Nothing was run on a real drive.
More help
For other PC problems, try the Repair Assistant or browse our PC repair guides.