How To Force Delete A File In Windows 10?

380 Views
0 rating based on 0 reviews

If you want to force delete a file in Windows 10 and delete it permanently then simply follow the steps given below. You can right click on any file and try to delete it. The system will show you the confirmation dialog and ask you to confirm the file deletion. If you confirm it, the file will be deleted but only till next time you restart your system. The files are marked as deleted but really they are not deleted. They are still in your drive partition waiting for recovery. If you don't want to risk your files from getting recovered just follow the steps given below and force delete any file permanently.

Force delete a file in Windows 10

The Windows 10 operating system allows users to force delete a file. This is done by checking a box that does not allow the file or folder to be recovered. The file or folder that is deleted using this method cannot be recovered using tools such as those found in File Explorer or Data Recovery Software. This article will show you how to force delete a file in Windows 10 without affecting any files that you want to keep on your computer.

Windows 10 has two major interfaces. One is the new Windows Store app introduced with Windows 8. The other one is very familiar to Windows 7 and XP users, called the “Traditional” interface. Lets not get into all that. Just remember that these interfaces have different ways of deleting files and folders. In this article we will show you different methods on how to Force Delete a file or folder in Windows 10.

Are you encountering a problem deleting a file in Windows 10 no matter how many times you try? Well, this happens from time to time especially if the file is being utilized by another program. If you are stuck with a file that you don’t want, the good news is that you can force delete.

In this article, we will look at simple ways to force delete a file in Windows 10.

Method 1: Force Delete a File Using Command Prompt

One way to force delete a file in Windows 10 is through the command prompt. Here is a step-by-step guide:

  1. On the keyboard, input Windows + R keys to open Run command.
  2. Input cmd to open the Command Prompt. Alternatively, you can search for the command prompt from the start menu.
  3. To run the Command Prompt as administrator, press Ctrl, Shift and Enter simultaneously.
    Command Prompt as administrator
  4. Then, enter the command line of the file you want to delete. To do this, enter del then the location of the file. For example, del c:usersjanedesktoptest.txt and hit Enter.

Method 2: Using Safe Mode

Starting Windows 10 in safe mode can help unlock and force delete files. This is because this diagnostic mode makes it possible to troubleshoot Windows OS.

  1. Go to the start menu and choose the Settings option.
  2. Then go to Update & Security, then Recovery. Click Restart Now under the Recovery tab.
    The Recovery tab
  3. Choose an Option window will open. Navigate to Troubleshoot and click on it.
    Navigate to Troubleshoot
  4. Then click Advanced Options then Startup Settings then Restart. This will prompt your Windows 10 computer to restart.
  5. When it restarts, press 4 or F4 to enter safe mode.
    enter safe mode
  6. When safe mode opens, force delete the file that cannot be deleted.
    Cannot be deleted
  7. Lastly, exit safe mode by restarting your PC.

Method 3: Use Unlocker

If a file can’t seem to get deleted on your PC, opt to use unlocker. This a third-party tool that removes files, including those that can’t be deleted by Windows. To delete these files:

  1. Download and install unlocker in your PC.
  2. Once installed, go to the file that you want deleted and right-click on it.
  3. Select Unlocker from the options provided.
    Select Unlocker
  4. Doing this will open a list of processes connected to a particular file.
    particular file
  5. To unlock the file that you want to delete, click Unlock All. If this doesn’t free the file, click Kill Process.
    If this doesnt free the file

Method 4: Change File Ownership

Changing the ownership can help delete a file that cannot be deleted. Follow these steps:

  1. Go to the file that you want to delete and right-click on it. Then choose Properties from the options provided.
  2. On the top menu, go to the Security tab and click or tap on the Advanced button.
    The Advanced button
  3. This will open the Advanced Security Settings window. On it, locate Owner or Trustedinstaller.
  4. Click on the Change button next to it.
    the Change button next
  5. Input the username of your choice and the press Check Names to verify if the name is okay. Then press OK. This will change the name of owner of the file.
    Press Check Names
  6. On the Advanced Security Settings window, you will see an option Replace owner on subcontainers and objects. Click on the checkbox and then click Apply. Afterwards, close this window.
  7. Then, right-click on the file to open the Properties tab once again.
  8. Go to Security then Advanced.
  9. Below the Permissions tab, you will see the Replace all child object permission entries with inheritable permission entries from this object option. Check that checkbox.
  10. Then, click Edit
    click Edit.
  11. The Permission Entry window will open. Check Full Control and click OK.
    Permission Entry window will open
  12. Try deleting the file once again.

Summary: Force delete a file in Windows 10

  • Search for the file by its name.
  • Long-press on the file to select it, then click the trash can icon at the bottom of the screen.
  • Again, long-press on the file and in the menu that appears, tap "Delete."

Conclusion

These are some of the best options for getting rid of a stubborn file. With this detailed step-by-step guide, you should be able to force delete the file in your Windows 10 computer.