Applies To: |
|
Summary: |
You want to delete a file, but Windows will not allow it. You may see one of the following messages.
Usually this is because Windows (specifically the explorer.exe
process) has locked the file as it is in use or should not be
removed for some other reason. |
Solution: |
Kill explorer.exe This method is rather harsh, but has the definite advantage of not needing any special software to be installed and no need to reboot the system.
Alternatives: Process Explorer Download Process Explorer from sysinternals Press Ctrl+F and search for the filename which is locked. Once found, close the handle of that file, now you can delete it. Windows Recovery Console Boot from your Windows install CD, at the welcome screen press 'R' which will start the recovery console. Navigate to the file and delete it. Since Windows is not running at this point the file will not be in use. There are also very task specific applications available such as 'Unlocker' |
Keywords: |
Related Links
Attachments