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

7 Smart Ways to Use Your Monitor Without a Computer

7 Smart Ways to Use Your Monitor Without a Computer

When you think of a monitor, you might imagine it connected to a PC or laptop. However, that monitor can actually work with many other devices.

How to turn off background applications on Windows

How to turn off background applications on Windows

Turning off background applications on Windows 10 will help your computer run less sluggishly and save system resources. The following article by WebTech360 will guide readers on how to turn off background applications on Windows 10.

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

After countless hours of using their college laptop and desktop speaker setup, many people discover that a few clever upgrades can turn their cramped dorm space into the ultimate streaming hub without breaking the bank.

8 hidden Windows touchpad gestures that make your workflow lightning fast

8 hidden Windows touchpad gestures that make your workflow lightning fast

A laptop's touchpad isn't just for pointing, clicking, and zooming. The rectangular surface also supports gestures that let you switch between apps, control media playback, manage files, and even view notifications.

How to fix Bad System Config Info error in Windows 10

How to fix Bad System Config Info error in Windows 10

Bad System Config Info is a common bug check error on Windows 10 systems. Let's look at some solutions to fix this issue.

How to make Taskbar transparent on Windows 11

How to make Taskbar transparent on Windows 11

Like Windows 10, you can also use third-party software to make Windows 11 Taskbar transparent.

How to invert screen colors using Magnifier Windows 11

How to invert screen colors using Magnifier Windows 11

Using the Magnifier inversion feature on Windows 11 can improve text readability, especially for people who are sensitive to light.

4 ways to pin windows on Windows screen

4 ways to pin windows on Windows screen

If you are wondering how to pin any window to always be on top of other windows (always on top), read this article right away!

Enable XMP to optimize RAM speed

Enable XMP to optimize RAM speed

If you're looking to build your own PC system and decide to invest in some high-speed RAM, how do you make sure your RAM can perform at the advertised speeds?

How to reset Ethernet connection in Windows 11

How to reset Ethernet connection in Windows 11

A quick way to fix the most common wired network problems is to reset your Ethernet connection. Here are the steps to reset your Ethernet connection in Windows 11.

How to add exceptions in Windows Defender on Windows 10

How to add exceptions in Windows Defender on Windows 10

Windows Defender is built into Windows 10 to find malware. To improve performance for tasks like compiling code or running virtual machines, you can add exceptions so Windows Defender will never scan those files.

How to change the default location of the Windows 11 Documents folder

How to change the default location of the Windows 11 Documents folder

If you want, you can move the Documents folder and its contents to another location on your computer, following the instructions below.

Why change default download location in Windows 11?

Why change default download location in Windows 11?

Moving the Download folder from drive C to another drive on Windows 11 will help you reduce the capacity of drive C and will help your computer run smoother.

How to Stop Windows Updates on PC

How to Stop Windows Updates on PC

This is a way to harden and tweak your system so that updates happen on your own schedule, not Microsoft's.

Completely delete the most stubborn files on Windows

Completely delete the most stubborn files on Windows

When you can't open, edit, or delete a file in Windows File Explorer, the file is still open in a program running in the background or something isn't closing properly.