How to Securely Shred Files in Windows 10
In this article
Deleting a file in Windows 10 doesn’t actually remove the data—it just marks the space as available, and the original content can often be recovered with free recovery tools. Secure shredding overwrites the file’s data with random patterns before deletion, making recovery practically impossible. This guide shows you how to shred files using built-in tools and trusted free software, without any technical background needed.
What You'll Need
- A Windows 10 PC with administrator access (required to install software or use system tools).
- A third-party secure deletion tool (we recommend Eraser or BleachBit—both free and open-source).
- For the built-in method: the cipher command (available on all Windows 10 editions).
- Time—shredding large files can take several minutes depending on the method.
Step-by-Step
Method 1: Use the Built-in Cipher Command (Free, No Install)
- Press Windows + R to open the Run dialog.
- Type
cmdand press Ctrl + Shift + Enter to open Command Prompt as administrator. Click Yes if prompted by User Account Control. - Navigate to the folder containing the file you want to shred. For example, if the file is in
C:\Users\YourName\Documents, type:cd /d C:\Users\YourName\Documents - To overwrite the file’s data, use the command:
cipher /w:C:\path\to\folder
ReplaceC:\path\to\folderwith the actual folder path. This command overwrites all free space in that folder, including the space where your deleted file resides. - Wait for the process to finish. It may take a while depending on the drive size. Once done, the file’s data is overwritten and unrecoverable.
Note: The cipher command doesn’t shred a specific file—it wipes free space. To shred a single file, use Method 2.
Method 2: Use a Free Shredding Tool (Recommended for Single Files)
- Download and install Eraser (from eraser.heidi.ie) or BleachBit (from bleachbit.org). Both are reputable and free.
- With Eraser:
- Open Eraser.
- Right-click the file you want to shred in File Explorer.
- Select Eraser → Erase.
- In the pop-up, choose a shredding method (e.g., Gutmann or US DoD 5220.22-M). The default is fine for most.
- Click OK. The file is scheduled for erasure and will be shredded when you run the task (or immediately if you choose “Run now”).
- With BleachBit:
- Open BleachBit as administrator (right-click → Run as administrator).
- In the left sidebar, check Free disk space (this wipes free space) or use the File Shredder option (available in the toolbar) to select specific files.
- Click Clean or Shred and confirm.
Method 3: Use PowerShell (Built-in, for Advanced Users)
- Open PowerShell as administrator (right-click Start → Windows PowerShell (Admin)).
- Run the following command to overwrite the file with random data before deletion:
Remove-Item -Path "C:\path\to\file.txt" -Verbose
This only deletes normally, so it’s not secure. Instead, use a script or a tool like Eraser.
Common Mistakes
- Using Recycle Bin: Emptying the Recycle Bin does not securely erase files; it only frees space for overwriting later.
- Shredding only the file, not the free space: If the file was already deleted before you shred, you must wipe free space (as with cipher /w) to remove remnants.
- Shredding on an SSD: Solid-state drives use wear leveling, so overwriting a file’s location may not actually overwrite the physical cells. For SSDs, use the drive’s built-in secure erase feature (via manufacturer software) or rely on full-disk encryption.
- Interrupting the process: Closing the shredding window mid-process can leave partial data. Let it finish.
Tips
- For maximum security, use a multi-pass method like Gutmann (35 passes) or DoD 5220.22-M (3 passes). One pass is usually enough for modern drives, but extra passes don’t hurt.
- Always shred files before deleting them—once deleted, you must wipe free space, which takes longer.
- If you’re shredding sensitive data on a regular basis, consider enabling BitLocker (full-disk encryption) so that even if data is recovered, it’s unreadable.
- Test the shredding tool on a dummy file first to ensure you understand the interface.
Troubleshooting
- “Access denied” error when using cipher: Make sure you’re running Command Prompt as administrator. Also, the folder path must exist.
- Eraser says “File is in use”: Close any program that might have the file open (e.g., Word, Excel). If it’s a system file, you may need to boot into Safe Mode.
- Shredding takes too long: High-pass methods on large drives can take hours. Use a single-pass overwrite (e.g., “Pseudorandom data”) for faster results—still secure for most purposes.
- BleachBit doesn’t show the File Shredder option: In older versions, the shredder is under Tools → File Shredder. Update to the latest version.
- After shredding, the file still appears: Some tools only schedule the shred. Check the task queue in Eraser and run pending tasks.
Frequently Asked Questions
Is one overwrite pass enough?
For modern hard drives, a single overwrite with random data is generally sufficient to prevent recovery. Multi-pass methods are overkill but provide extra assurance for highly sensitive data.
Can I shred files on an SSD?
Yes, but the process is less reliable due to wear leveling. For SSDs, use the manufacturer’s secure erase tool or rely on full-disk encryption (like BitLocker) to protect data.
Does Windows 10 have a built-in secure delete feature?
No. The built-in cipher /w command wipes free space, but it doesn’t shred a specific file. You need third-party software for that.
Will shredding damage my hard drive?
No. Overwriting data is a standard operation. However, excessive writes on an SSD can reduce its lifespan, but occasional shredding is negligible.
Can I recover a shredded file?
No, not with standard recovery tools. The data has been overwritten, so it’s gone permanently. Always double-check that you have backups before shredding.
Is it legal to use file shredding software?
Yes, it’s legal in most countries. It’s a privacy tool, and using it on your own files is perfectly fine.