Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

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

Learn how to overwrite deleted data on a drive in Windows 11/10 with clear steps, practical tips, and troubleshooting advice for a smooth, reliable result.

Table of Contents

This practical guide explains how to Overwrite Deleted Data on a Drive in Windows 11/10 through clear, ordered steps. It also covers useful settings, common mistakes, and checks that can improve the final result.

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 — overwrite deleted data on windows

FAQ

How do I Overwrite Deleted Data on a Drive in Windows 11/10?

Follow the steps in this guide in order, verify each setting before continuing, and check the result after every major change.

What should I prepare before I Overwrite Deleted Data on a Drive in Windows 11/10?

Confirm compatibility, install current updates, save important work, and back up data before changing system or application settings.

What can I do if overwrite Deleted Data on a Drive in Windows 11/10 does not work?

Review permissions and requirements, restart the relevant device or app, repeat the steps carefully, and use official support resources when the issue continues.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.