How to force delete a file in Windows 10?

I tried to delete a file I don't want, and it takes forever to delete. And when ever I tried to cancel it, it takes a long time canceling it too.

Proof:

https://gyazo.com/891e047e519a9f1c6fda5f37fe919b45

*Modified title for accuracy*

*Original title: How do I force delete an file on windows 10*

 

Question Info


Last updated December 12, 2019 Views 121,801 Applies to:
Answer
Answer
I use Powershell.
Give it a try and see if it works for you.
Go to search and type Powershell and then right click it and select run as administrator.
Command i use to remove a file say from my documents folder is this..

Remove-Item –path c:\users\sarah\documents\myfile.txt - force

Let me know if that helps.

47 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.