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

How to add JPEG XL support in Windows 11

How to add JPEG XL support in Windows 11

Windows 11 doesn't support the JPEG X image format by default, but you can install an add-on that does. Here's how to add JPEG XL support in Windows 11.

Instructions to fix the error of not being able to pin applications to the Windows 11 Taskbar

Instructions to fix the error of not being able to pin applications to the Windows 11 Taskbar

In the process of pinning applications, sometimes we encounter some errors such as not being able to pin the application to the Taskbar. Below are some ways to fix the error of not being able to pin the application to the Windows 11 Taskbar.

Should I use Windows BitLocker to encrypt my hard drive?

Should I use Windows BitLocker to encrypt my hard drive?

Windows BitLocker offers an easy-to-use solution for encrypting your hard drive. However, it also has its drawbacks, so it may not be a great choice for everyone.

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

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.

Tips to add Copilot to Windows 11 right-click menu

Tips to add Copilot to Windows 11 right-click menu

If you regularly use Copilot on Windows 11, there is a very simple way to quickly access Copilot, which is to add Copilot to the right-click menu.

How to add a printer to Windows 10

How to add a printer to Windows 10

Adding a printer to Windows 10 is simple, although the process for wired devices will be different than for wireless devices.

This PowerShell script can bypass Windows 11 system requirements, Microsoft Account

This PowerShell script can bypass Windows 11 system requirements, Microsoft Account

A new utility is being developed that will help remove the strict system requirements of Windows 11.

10 Important Mistakes to Avoid When Maintaining Your Computer

10 Important Mistakes to Avoid When Maintaining Your Computer

PC maintenance is essential for long-term, efficient performance. However, there are some mistakes you can make that can do more harm than good to your PC.

How to enable Smart App Control Windows 11 protection

How to enable Smart App Control Windows 11 protection

Smart App Control (SAC) is a security feature included in the Windows Security application that locks down the system, allowing only trusted applications to run.

How to configure TCP/IP settings in Windows

How to configure TCP/IP settings in Windows

Your computer needs a way to communicate with other devices, and that's where TCP/IP comes in. TCP/IP ensures that data moves smoothly across the network, whether you're browsing the web or sharing files.

Files That Are Wasting Space on Your PC Without You Realizing

Files That Are Wasting Space on Your PC Without You Realizing

Uncompressed files can silently take up gigabytes of space on your Windows PC—slowing things down and cluttering your drive without you even realizing it.

10 Ways to Fix Missing Bluetooth Option in Windows 11

10 Ways to Fix Missing Bluetooth Option in Windows 11

Bluetooth options have disappeared on your Windows 111 computer? This can happen for a number of reasons, including temporary glitches, corrupted Bluetooth drivers, and issues with the Windows operating system.

How to get and provide remote support using the Quick Assist app in Windows 11

How to get and provide remote support using the Quick Assist app in Windows 11

This guide will show you how to use the Quick Assist app to get help or help someone over a remote connection in Windows 11.

ExpressVPN Now Supports Windows ARM PCs

ExpressVPN Now Supports Windows ARM PCs

One of the world's most popular VPN services - ExpressVPN - has officially launched an app version for Windows PCs running on ARM-based processors.

How to uninstall Adobe Creative Cloud on Windows properly

How to uninstall Adobe Creative Cloud on Windows properly

Few modern Windows apps are as difficult to uninstall as the Adobe Creative Cloud (Adobe CC) suite. However, with the right approach, you can remove Adobe CC and all traces of it in about 10 minutes.