10
1. Open File Explorer and navigate to the folder you want to delete.
2. Right-click on the folder and select Properties.
3. Select the Security tab and click Advanced.
4. Click the Change link next to the Owner name.
5. Enter your user name and click OK.
6. Check the box next to Replace owner on subcontainers and objects and click Apply.
7. Click OK to close the Advanced Security Settings window.
8. Right-click on the folder again and select Properties.
9. Select the Security tab and click Advanced.
10. Select the user name you entered in step 5 and check the box next to Full Control.
11. Click Apply and then OK to close the Advanced Security Settings window.
12. Right-click on the folder again and select Delete.
13. Click Yes to confirm the deletion.
Force delete file/folder in windows 10/11; Through this tutorial, we will learn how to force delete a file & folders using command line ( cmd ) and safe mode in windows 10/11.
How to Force Delete Folders Windows
There are two ways to force delete files & folders using command line or safe mode in windows 10/11 system:
- Force Delete Folders Windows CMD
- Force Delete Folders Windows using Safe Mode
Force Delete Folders Windows CMD
Use the following steps to force delete files/folders using cmd in windows:
- Step 1 – Start Terminal OR Command Line
- Step 2 – Enter Command with Path To Delete Files/Folders
Step 1 – Start Terminal OR Command Line
First of all, we need to start terminal or command line. So, type cmd into windows search bar and start terminal or command line in windows system.
Step 2 – Enter Command with Path To Delete Files/Folders
Then enter command with path to delete files/folders from windows system. So, enter the following command with path, which is delete files/folders in windows 10/11 system:
del c:\users\alisa\desktop\my.txt
Force Delete Folders Windows using Safe Mode
Use the following steps to delete files/folders using safe mode in windows 10/11 system:
Step 1. Click Start -> Settings -> Update & Security -> Recovery -> Restart now (under Advanced Startup), to enter into Windows recovery environment.
Step 2. Click Troubleshoot -> Advanced options -> Startup Settings -> Restart.
Step 3. In Starting Settings window, we can press F4 or F5 to boot into Safe Mode in Windows 10/11.
Step 4. Delete the file or folder in Windows 10 Safe Mode.
Step 5. Restart Windows 10/11 and your computer will auto exit Safe Mode.
Conclusion
Through this tutorial, we have learned how to force delete files or folders using command line ( cmd ) and safe mode in windows 10/11.