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 restore 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 stop someone from recovering the deleted data, but it's all useless without the decryption key, so it might as well be 'buried deep'.
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.
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.
You should read it
- How to assign permissions to delete any folder or file on Windows?
- Fix the error that OneDrive files or folders could not be deleted
- How to delete the Windows.old folder in Windows 11
- 4 ways to delete Windows.old folder on Windows 10 computer
- How to Set Password for Folder and File in Windows
- Instructions to delete Windows.old folder on Windows 7/8 / 8.1?
- Find and delete all .DS_Store files with a single command
- Delete error when clicking on a file or folder and how to fix it EFFECTIVELY
May be interested
- From December 20, 2021, Google Drive will automatically block or delete files 18+on december 20, 2021, google announced a new usage policy for the google drive cloud storage service. from now on, files that violate google's user terms will automatically have access restricted.
- 2 ways to permanently delete files on Windowsnormally, when deleting a file on windows, the file will not be deleted immediately but will be saved in recycle bin. after that, you will have to do one more step to clear the trash. but if you do not want to take this second step, we will guide you how to permanently delete a file in the article below. please consult.
- How to view recently deleted files on Windows 10?usually when you delete any file on a windows 10 computer by right-clicking on the file and selecting delete or selecting the file then pressing the delete key, then the file will be moved to recycle bin. or another way to permanently delete files is to press shift + delete, and windows will move these files from recycle bin.
- Steps to Delete junk files on Windows 10 thoroughly and effectivelycleaning up junk files on windows 10 helps you free up your hard drive and windows runs faster. this article will show you how to delete junk files on windows 10 thoroughly and effectively.
- What is Temporary File? How to delete temporary files on windows computerswhen you use the software, some temporary files are created and not deleted, filling up memory for a long time. here's how to delete temporary files on a windows computer.
- How to View Recently Deleted Files on Windows 10/11?normally, when you delete any file on your windows 10 computer by right-clicking on the file and selecting delete or selecting the file and pressing the delete key, the file will be moved to the recycle bin. or another way to delete files permanently is to press the shift + delete key combination, and windows will move these files from the recycle bin.
- How to Delete Recent Files on Windows 11deleting recent files on windows 11 is a quick solution to clean up data on windows computers. suggestions for you how to delete recent files on windows 11 easily today.
- 3 ways to delete update files on Windows 11windows update downloads updates to a folder to prepare for installation. however, the windows update files in the folder are not automatically deleted after installation.
- 3 ways to delete recent files and folders in Windowseach successive version of windows has had features that reach out to things you've recently opened, such as jump lists that let you open things you've been working on with certain applications.
- How to Automatically Delete Temporary Files on Windows 11to free up space for your computer and speed up your computer, you should check and delete some temporary windows folders or set up to delete temporary files on windows 11.