How to Overwrite Deleted Data on a Drive in Windows 11/10

This guide will show you how to overwrite (securely erase) deleted data on a drive so that it cannot be recovered or accessed in Windows 10 and Windows 11 .

When you delete a file or folder, the original data is not erased from the hard drive. Instead, the space on the drive that was occupied by the deleted data is de-allocated. Once de-allocated, the space becomes available for use when new data is written to the drive. Until the space is overwritten, you can recover the deleted data using a low-level disk editor or data recovery software .

When you encrypt a plain text file, the Encrypting File System (EFS) creates a backup copy of the file. This way, your data won't be lost if something goes wrong during the encryption process. Once the encryption is complete, the backup copy is deleted. Like any other deleted file, the data won't be deleted until it's overwritten.

The Cipher.exe command will delete data from available unused disk space on the entire volume. Data not allocated to a file or directory will be overwritten. The data will be deleted permanently. It may take a long time if you are overwriting a large amount of space.

You can use the Cipher.exe command to manually overwrite (securely erase) deleted data on the drive on demand.

Note : You must be logged in with admin rights to use the cipher command .

How to Overwrite Deleted Data on a Drive in Windows 11/10

How to do it:

1. Open Windows Terminal (Admin) and select Windows PowerShell or Command Prompt .

2. Type the command below into Windows Terminal (Admin) and press Enter.

cipher /w:

Replace in the above command with the actual letter (e.g. "C") of the drive on which you want to overwrite all the freed space.

For example:cipher /w:C

How to Overwrite Deleted Data on a Drive in Windows 11/10

Leave a Comment

Solving Windows 11 WHEA Uncorrectable Error Overclock Fix

Solving Windows 11 WHEA Uncorrectable Error Overclock Fix

Struggling with Windows 11 WHEA Uncorrectable Error? Discover proven overclock fixes to eliminate BSOD crashes. Step-by-step guide for stable PC performance.

Troubleshooting Windows 11 Network Bridge Errors

Troubleshooting Windows 11 Network Bridge Errors

Struggling with Windows 11 Network Bridge errors? This comprehensive guide walks you through proven troubleshooting steps to resolve connectivity issues, optimize your network setup, and get back online fast. Discover expert tips for seamless bridging.

How to Fix 0x80070020 File in Use Error Windows 11

How to Fix 0x80070020 File in Use Error Windows 11

Struggling with the frustrating 0x80070020 file in use error on Windows 11? Discover proven, step-by-step fixes to resolve it quickly and get your system running smoothly again. No tech expertise needed!

How to Download Windows 11 ISO with Product Key

How to Download Windows 11 ISO with Product Key

Discover the step-by-step process to download Windows 11 ISO with a valid product key. Get the latest official files, avoid pitfalls, and install effortlessly for a seamless upgrade experience.

How to Fix Printer Error 709 in Windows 11 Network

How to Fix Printer Error 709 in Windows 11 Network

Struggling with Printer Error 709 in Windows 11 Network? Discover proven, step-by-step fixes to restore seamless printing. Say goodbye to connectivity woes and get back to productivity fast!

Solving Windows 11 Mouse DPI Changing Automatically

Solving Windows 11 Mouse DPI Changing Automatically

Struggling with your mouse DPI shifting unexpectedly in Windows 11? Discover proven fixes for the "Mouse DPI Changing Automatically" issue, from simple tweaks to advanced solutions, to regain smooth control.

Troubleshooting Windows 11 Update Error 0x80070422

Troubleshooting Windows 11 Update Error 0x80070422

Struggling with Windows 11 Update Error 0x80070422? Discover proven fixes to resolve this frustrating issue quickly. Step-by-step guide to get your updates running smoothly without hassle.

Solving Game Bar FPS Counter Not Showing in 2026

Solving Game Bar FPS Counter Not Showing in 2026

Struggling with Game Bar FPS counter not showing in 2026? Discover proven fixes to get your FPS overlay working smoothly on Windows. Step-by-step guide for gamers.

Best Power Settings for Windows 11 in 2026

Best Power Settings for Windows 11 in 2026

Discover the best power settings for Windows 11 in 2026 to optimize battery life, boost performance, and ensure efficiency. Tailored tips for laptops, desktops, and modern hardware.

How to Fix Windows 11 VMware and VirtualBox BSOD

How to Fix Windows 11 VMware and VirtualBox BSOD

Struggling with Windows 11 BSOD errors from VMware and VirtualBox? Discover proven, step-by-step fixes to eliminate crashes and get your virtual machines running smoothly. Updated with the latest solutions for seamless virtualization.

How to Download Windows 11 Pro 64-Bit for Free

How to Download Windows 11 Pro 64-Bit for Free

Discover safe, legal ways to download Windows 11 Pro 64-bit for free. Follow our step-by-step guide to get the latest ISO from Microsoft and install effortlessly—no risks, no costs. Perfect for upgrades and fresh starts.

Troubleshooting Windows 11 Wallpaper Engine Crash Fix

Troubleshooting Windows 11 Wallpaper Engine Crash Fix

Struggling with Wallpaper Engine crashes on Windows 11? Discover proven troubleshooting steps to fix crashes, optimize performance, and restore smooth animated wallpapers. Get your desktop back in action today!

How to Reset Windows 11 Password Without Login

How to Reset Windows 11 Password Without Login

Stuck outside your Windows 11 account? Learn proven, step-by-step methods to reset your Windows 11 password without logging in. Safe, easy fixes for forgotten passwords in the latest updates.

Solving Windows 11 CPU Temperature High Idle Fix

Solving Windows 11 CPU Temperature High Idle Fix

Struggling with high CPU temperature at idle on Windows 11? Discover proven fixes to lower your CPU temps, boost performance, and prevent overheating. Step-by-step guide with the latest tips for a cooler, smoother PC experience.

Fixing Theme and Background Sync Errors in Windows 11

Fixing Theme and Background Sync Errors in Windows 11

Struggling with theme and background sync errors in Windows 11? Dive into this expert guide for quick, effective fixes to restore seamless personalization. Get your desktop back on track without the hassle.