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
Sign up and earn $1000 a day ⋙

Leave a Comment

How to add End Task to Windows 11 Taskbar

How to add End Task to Windows 11 Taskbar

Windows 11 has a feature that adds an End Task button directly on the Taskbar, so you don't have to access Task Manager to close unresponsive applications.

How to turn on and connect Bluetooth on Windows 11

How to turn on and connect Bluetooth on Windows 11

This article will guide you through the ways to enable Bluetooth on Windows 11 to connect to wireless accessories with just a few simple steps.

How to backup data without using external hard drive

How to backup data without using external hard drive

Sometimes, you just can't find an external hard drive when you need it most. After losing important files a few times, some people have found a simple and reliable way to back up everything, even when the hard drive is unavailable.

4 best ways to hide or protect a Windows folder, without installing additional software

4 best ways to hide or protect a Windows folder, without installing additional software

The methods in this article will help you hide or protect Windows folders from prying eyes.

How to fix The User Profile Service failed the logon error on Windows 10

How to fix The User Profile Service failed the logon error on Windows 10

Most Windows errors occur after you log in to your computer. However, the User Profile Service Failed the Logon error doesn't allow you to log in at all, which is why it's harder to fix than other Windows errors.

How to get another year of free Windows 10 updates

How to get another year of free Windows 10 updates

Windows 10 has just three months left until support ends. In October 2025, the operating system will receive its final update, ending its 10-year lifecycle.

How to Fix Repairing Disk Errors on Windows

How to Fix Repairing Disk Errors on Windows

Errors related to your computer's drive can prevent your system from booting properly and restrict access to your files and applications.

Instructions for setting up and managing FTP Server on Windows 10

Instructions for setting up and managing FTP Server on Windows 10

If you want to create a private cloud to share and transfer large files without any limits, you can create an FTP Server (File Transfer Protocol Server) on your Windows 10 computer.

How to hide and show files in Windows 11 without software

How to hide and show files in Windows 11 without software

If you are looking for a way to hide files on Windows 11 without software, just follow the instructions below.

How to turn off hard drive when not in use on Windows 11

How to turn off hard drive when not in use on Windows 11

If your computer has an SSD and an HDD, you can turn off the hard drive after a period of inactivity.

How to change DNS to surf the web faster, increase Internet speed

How to change DNS to surf the web faster, increase Internet speed

Changing DNS on Windows has many benefits, such as: Accessing some blocked websites, speeding up internet connection, improving network stability. Below is how to change DNS on Windows 10, Windows 7 and other Windows versions. In the last part of the article, WebTech360 will talk a little about why changing DNS helps speed up the internet.

How to Create a Blue Screen of Death (BSOD) to Prank Your Friends

How to Create a Blue Screen of Death (BSOD) to Prank Your Friends

Blue screen of death (BSOD) is a common and not new error of Windows when the computer is experiencing some serious system error.

Summary of common Run CMD commands

Summary of common Run CMD commands

Instead of performing manual and direct access operations on Windows, we can replace them with available CMD commands for faster access.

Try these Wi-Fi tips while on vacation to reduce roaming costs!

Try these Wi-Fi tips while on vacation to reduce roaming costs!

Coming home to expensive data roaming charges probably isn't what you want. Luckily, there are some handy ways to cut those roaming costs.

How to fix network adapter not found error on Windows 10

How to fix network adapter not found error on Windows 10

Many people have encountered the problem of network adapter disappearing from Device Manager or receiving a missing network adapter message. This article will guide you on how to fix the missing network adapter driver problem on Windows 10.