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

Fix error of not being able to install .NET Framework 3.5 on Windows

Fix error of not being able to install .NET Framework 3.5 on Windows

Microsoft's .NET Framework is a programming platform that includes programming libraries that can be installed or are already included in Windows operating systems. In some cases, your computer cannot install this software. So follow the solution in the article below.

How to fix Kernel Data Inpage Error on Windows

How to fix Kernel Data Inpage Error on Windows

Kernel Data Inpage Error (stop code 0x0000007a) is caused by bad sectors, viruses, hard drives or faulty RAM.

6 Best Free Dynamic DNS Providers

6 Best Free Dynamic DNS Providers

Dynamic DNS (also known as DDNS or DynDNS) is a service for mapping an Internet domain name to a computer with a dynamic IP address. Most computers connect to a router via DHCP, which means the router randomly assigns an IP address to the computer.

7 Essential Windows File Explorer Shortcuts Every Day

7 Essential Windows File Explorer Shortcuts Every Day

Using Windows File Explorer with keyboard shortcuts on a daily basis will help you perform operations faster than traditional operations.

Follow this checklist before clean installing Windows 11!

Follow this checklist before clean installing Windows 11!

When you're planning a fresh Windows 11 install, a little preparation can save you time and effort later.

How to transfer data between computers

How to transfer data between computers

Many people keep their computers for years. They may update a few components and deal with maintenance issues to keep their computers running at their best. However, there comes a time when there’s nothing you can do to speed up or fix problems with your old computer.

How to reset applications on Windows computers

How to reset applications on Windows computers

If your Settings or Microsoft Store app isn't working properly, is crashing, or won't open, you can reset the app.

How to Start Scheduled Tasks with Delay on Windows

How to Start Scheduled Tasks with Delay on Windows

This feature is extremely useful for delaying unnecessary tasks, ensuring network connectivity before a task starts, running tasks in a specific order, scheduling updates, or performing hardware maintenance.

What is VPN? Advantages and disadvantages of VPN virtual private network

What is VPN? Advantages and disadvantages of VPN virtual private network

What is VPN, what are the advantages and disadvantages of VPN? Let's discuss with WebTech360 the definition of VPN, how to apply this model and system in work.

How to change currency format in Windows 11

How to change currency format in Windows 11

This guide will show you how to change the currency format used for your account in Windows 10 and Windows 11.

Instructions for installing .NET Framework 3.5 on Windows 10

Instructions for installing .NET Framework 3.5 on Windows 10

This guide will show you different ways to install .NET Framework 3.5 online and offline in Windows 10.

How to Install Windows 11 on an Unsupported PC

How to Install Windows 11 on an Unsupported PC

If your PC doesn't meet Microsoft's hardware requirements, don't give up. It's possible to install Windows 11 on unsupported PCs.

5 Best VPN Software Today With Free Trials and Refund Policies

5 Best VPN Software Today With Free Trials and Refund Policies

Signing up for a VPN can be a waste of money if you don’t know how the product works. That’s why you should use a free VPN trial to help you make the right decision.

How powerline adapters change your home internet

How powerline adapters change your home internet

Is the internet speed on your home Wi-Fi network not meeting your expectations? There's a relatively cheap and simple solution to this problem: a Powerline adapter.

How to fix Settings app not working on Windows 10

How to fix Settings app not working on Windows 10

On Windows 10, users can access the Settings app via the Start menu, which is a more accessible version of the Control Panel. However, many users report that the app is not working due to a bug that causes it to not work when clicked (or redirects users to the Windows Store). Here are some fixes for this problem.