6 ways to permanently delete files on Windows

6 ways to permanently delete files on Windows

Normally, when you delete a file on Windows, the file will not be deleted immediately but will be saved in the Recycle Bin. After that, you will have to do one more thing that is emptying the trash. But if you do not want to have to take this second step, we will guide you how to permanently delete a file in the article below. Please refer to.

Method 1: Completely delete a file on the computer by setting the Recycle Bin

Step 1 : Right-click on the Recycle Bin icon on the Desktop and then select Properties

Step 2 : In the Recycle Bin Properties dialog box, click on each drive and check the option Don’t move files to the Recycle Bin. Removes files immediately when deleted . Then, click OK .

So from now on, when you delete a file, it won’t go to the recycle bin.

Method 2: Use the keyboard shortcut to permanently delete files

When you do not want to set as above but only want to select the files that you want to permanently delete, you can press Shift + Delete .

Method 3: Use the Cipher tool available on Windows to permanently delete files

A third way you can use to permanently delete data on Windows is to use the Cipher tool available on Windows. Cipher does not have a graphical interface so it is very user friendly, and the commands are extremely simple. Using Cipher saves you from having to do a lot of work to delete a file permanently, just encrypt the Cipher on the drive and the next time you delete the files as usual will automatically disappear.

Cipher one is a command line utility, you need to open Command Prompt / PowerShell to use the tool.

Step 1: Open Command Prompt under Admin, first enter cmd into the Seach Start Menu or on the Taskbar, then right-click on Command Prompt and select Run as administrator.

If you use Windows 10 with the latest versions, the Run as administrator button will appear as soon as you search the Command Prompt.

Open Command Prompt in Windows 10 new version

Click Yes if the User Account Control message appears on the screen.

Step 2: On the Command Prompt window , enter the following command and press Enter to Cipher encrypt the drive you want the files to be permanently deleted when performing the Delete operation:

cipher /w:C:
Enter the command into the Command Prompt window

The above command will do the encryption on the C drive, so that later files, when done, will “disappear” forever and cannot be recovered.

To change the drive, change the C letter to another drive letter, for example D, E …, or you can also navigate directly to a certain folder in the drive if you just want to do the above encryption. that particular item. For example, if you want to delete the folder QuanTriMangCongNghe/Windows10 in drive D, enter the following command:

cipher /w:D:QuanTriMangCongNghe/Windows10
Cipher a certain folder in the drive on a Windows computer

Note: This process will take quite a while, so it is better to do it while you are leaving your computer empty.

Method 4: Permanently delete Windows files with Eraser

If the Cipher above isn’t for you, then give Eraser a try. It’s an incredibly powerful open-source tool you can use to permanently delete data you don’t want others to know, and importantly it’s free. Data deleted through this tool cannot be recovered.

Step 1: Install Eraser on your Windows computer.

  • Download Eraser here

Step 2: Once the software is installed, you can use Eraser to permanently erase the data. Right click on the file and click on the Eraser option.

Right click on the file to delete and click on the Eraser option

Step 3: On the pop-up dialog box asking if you are sure you want to delete the selected file, click Yes to confirm the action.

The message confirms you are sure you want to delete the selected file

And now the files have been permanently deleted.

Alternatively, you can also launch the Eraser tool and permanently delete the files you want through its interface.

Method 5: Delete files through partition format

The format feature allows you to permanently delete all files on a partition. When formatting a partition, be sure to uncheck the Perform a quick format option . If you perform the Format Partition operation by default, the files can be recovered.

There are several methods available to perform formatting such as using Disk Management or Command Prompt. Here, the article will show you how to format files on Disk Management.

Step 1 : Press Win + R at the same time to open the Run box . After typing diskmgmt.msc , click OK to continue.

Enter diskmgmt.msc

Step 2 : Select the partition containing the files to be deleted, then right-click on it. Then, choose the Format option from the feature list.

Select Format from the feature list

Tip : Make sure all files are no longer needed or you have backed up important files before formatting. Otherwise, you may lose valuable data.

Step 3 : Cancel the option of Perform a quick format , then click OK to continue.

Cancel the option to Perform a quick format

Tip : If you do not cancel the Perform a quick format request , files cannot be permanently deleted.

Step 4 : Click OK in the pop-up window to perform the format operation.

Click OK in the pop-up window

Method 6: Delete files via Command Prompt

The Command Prompt also allows you to permanently delete files. If you don’t want to use a third-party tool, you can try this method. You can delete your junk files by executing the clean all command in the Command Prompt.

Below are the specific steps to delete files permanently via Command Prompt.

Step 1 : Open Command Prompt with admin rights.

Step 2 : Enter the following commands in the pop-up page. After typing each command, press the Enter key to continue.

  • diskpart
  • list disk
  • select disk N ( N is the number of drives that the files you want to delete are located on)
  • clean all
Delete files via Command Prompt

See more:

  • Handling “stubborn” files in Windows
  • How to display confirmation when deleting files on Windows 8
  • 6 steps to clean up “hidden” junk on Windows?

Good luck!