Windows How to Delete Undeletable Files in Windows | Cannot delete file: Access is denied | Sharing violation | The source or destination file may be in use

How to Delete Undeletable Files in Windows | Cannot delete file: Access is denied | Sharing violation | The source or destination file may be in use

Cannot delete file: Access is denied

Many times when we remove a program, especially a adware or spyware or even simple file, we may come across a file that is undeletable by any normal method. While trying to remove it we’ll receive the error message telling “access denied”.

How to Delete Undeletable Files in Windows

Click on Start Button >> Click Run >> Type CMD >> Press Enter to open a Command Prompt window
Leave the Command Prompt window open, but close all other open programs
Click on Start Button >> Click Run >> In the open space type TASKMGR.EXE
Press Enter to start Task Manager
Click the Processes tab >> Click on the process named Explorer.exe
Click End Process

Minimize the Task Manager window but leave it open

Go back to the Command Prompt window and change to the directory where the file to be deleted is located
For this use the CD command
Example: cd \windows\system32\(File name)
Now use the DEL command to delete the file
Type DEL <filename> {where <filename> is the file you wish to delete}
Example: del undeletable.exe
Press ALT-TAB to go back to Task Manager
In Task Manager >> Click File >> New Task >> and enter EXPLORER.EXE to restart the Windows

Close Task Manager

folder access denied windows 7 delete virus file access denied delete permission denied how to delete files without permission

Leave a Reply

Related Post