How to safely delete sensitive files on Windows 11

When you tell Windows to delete a file, you usually want it gone forever. However, some data recovery applications and services can recover those files even if you think they've been completely deleted. So it's important to know how to delete these "sensitive" files completely, permanently, and irrecoverably.

Why “Delete” but not really delete

In fact, when you delete a file on Windows, it doesn't disappear from your system's hard drive immediately. Instead, Windows marks the file's storage space as free, signaling that it may be overwritten by new data in the future. Until that happens, bits of your file remain on the drive, making it relatively easy to recover them with the right tools and knowledge.

Encrypt files to prevent recovery

An easy way to get around this is to encrypt your hard drive or the individual files and folders you want to delete. You can use Bitlocker or third-party apps like Veracrypt to do the job. This won’t prevent someone from recovering the deleted data, but it’s all useless without the decryption key, so it might as well be buried.

How to safely delete sensitive files on Windows 11

Cipher command overwrites free space

Windows has a built-in tool called “Cipher” that will overwrite all free space with random data. This prevents files from being “un-erased”, although it can take a long time if you have a lot of free space, and you also shouldn’t do it on an SSD as it increases wear. Cipher is actually an encryption tool, as the name suggests, but if you use the “/w” switch it will overwrite unallocated space.

All you have to do is open the Command Prompt or Terminal application as administrator and type:

cipher /w:c:

This will overwrite all the free space on your C drive. Change the drive letter as needed. You don't have to do this on the entire drive either, using the full path like "C:\secretstuff" instead will be faster because it will only overwrite things that have been deleted from that folder. Note that this only works on drives using the NTFS file system.

Securely erase entire hard drive

For SSDs, the best way to ensure data cannot be recovered is to use a “secure erase” function. The way SSD wipes work (especially the TRIM command) makes it difficult to recover deleted data, but you can sometimes find a secure erase function for an SSD in your computer’s BIOS, or even better, use software provided by the drive manufacturer.

How to safely delete sensitive files on Windows 11

For example, Samsung's Magician software offers a "secure erase" option. Before using BIOS or other third-party tools to securely erase an SSD, check to see if the manufacturer provides its own official tool for this purpose.

Try Recovery as a test

An essential check after you’ve securely erased your hard drive is to try to recover the files yourself. You can use an application like Recuva to check if any of the files are in a recoverable state. You don’t have to actually perform the recovery, just check to see if the software finds anything.

Sign up and earn $1000 a day ⋙

Leave a Comment

Using CMD to Delete Large Folders on Windows

Using CMD to Delete Large Folders on Windows

Large folders on the system are one of the culprits that eat up a lot of system space. Many folders that you create, after deleting them, will come back after a while. Maybe those are junk folders that you try to remove them.

11 Ways to Open Recycle Bin on Windows

11 Ways to Open Recycle Bin on Windows

This guide will help you answer the question Where is the Recycle Bin in Windows 10? and let you choose the most comfortable way to reach the Windows 10 Recycle Bin location:

How to reset Windows Security settings on Windows

How to reset Windows Security settings on Windows

On Windows, sometimes you also need to reset Windows Security settings to default to fix some connection errors, stop working or simply want to return to the original state...

Heres how to check if your IP address is static or dynamic

Heres how to check if your IP address is static or dynamic

To check if the IP address you are using is a dynamic IP address or a static IP address, you can refer to the article below by WebTech360.

Instructions to block automatic driver installation on Windows 11

Instructions to block automatic driver installation on Windows 11

Windows 11 can download drivers for your computer without user intervention, but you don't always want to install drivers automatically to avoid unwanted problems.

How to Run and Stop Clean Boot on Windows 11

How to Run and Stop Clean Boot on Windows 11

Clean Boot is a troubleshooting technique used to start Windows with a basic, essential set of drivers and startup programs.

How to clone Windows hard drive without third party software

How to clone Windows hard drive without third party software

The cloning process involves moving data from one storage device to another (in this case, a hard drive) with an exact copy copied from the destination drive.

How to Disable Fast Startup on Windows

How to Disable Fast Startup on Windows

Fast Startup Windows 11 helps your computer boot faster, but it can also be the reason why your Windows computer doesn't shut down completely.

How to enable cloud storage file search on Windows 11

How to enable cloud storage file search on Windows 11

Search on Windows 11 pulls results not only from files and apps on your computer, but also from cloud storage linked to your Microsoft account.

Coding is not as difficult as you think

Coding is not as difficult as you think

Once you learn and actually try it out for yourself, you will find that encryption is incredibly easy to use and incredibly practical for everyday life.

How to Open Control Panel on Windows 11

How to Open Control Panel on Windows 11

Control Panel still plays a vital role in many of the configuration tasks you need on your new operating system. Here are a few different ways you can access Control Panel on Windows 11.

How to Enable Unicode UTF-8 in Windows 11

How to Enable Unicode UTF-8 in Windows 11

Changing the display language in Windows 11 may cause some programs to not display text in the language you want. If this is the case, you should enable Unicode UTF-8 to help Windows display text correctly in the language you want.

Microsoft has stopped supporting Internet Explorer, but you can still use it in Windows 11

Microsoft has stopped supporting Internet Explorer, but you can still use it in Windows 11

Internet Explorer was removed from Windows computers in 2022, replaced by Microsoft Edge. While Edge is far superior, Internet Explorer still comes pre-installed on Windows 11 — and it's incredibly easy to access.

6 Free Windows Tools to Find Out Whats Slowing Down Your Computer

6 Free Windows Tools to Find Out Whats Slowing Down Your Computer

Over the years, people have discovered a collection of free Windows tools that help diagnose what's causing their system to slow down.

5 Ways to Open Sound Settings on Windows PC

5 Ways to Open Sound Settings on Windows PC

When you're having audio problems or want to improve your PC's audio levels, it's time to dive into your Windows sound settings and make some tweaks. But did you know there are shortcuts and tricks to quickly get where you need to go?