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 11 CMD and Without CMD
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.