{"id":1122,"date":"2013-12-03T01:17:14","date_gmt":"2013-12-03T01:17:14","guid":{"rendered":"http:\/\/www.isunshare.com\/blog\/?p=1122"},"modified":"2019-11-19T03:32:34","modified_gmt":"2019-11-19T03:32:34","slug":"delete-file-that-another-program-is-using","status":"publish","type":"post","link":"https:\/\/www.isunshare.com\/blog\/delete-file-that-another-program-is-using\/","title":{"rendered":"How to Delete A File in Use by Another Program"},"content":{"rendered":"<p>Have you ever confronted with a situation that you could not successfully delete a file in your PC because another program was using it? But you failed to find out which program was using it. Even when you just enter the Windows system, you face such a problem. So, what would you do for the file deletion?<\/p>\n<p>It is said that when a file is open by another app or process, it is in a locked state so that you are unable to delete it. Generally, if the file is no longer in use, it will be unlocked automatically. But sometimes, it fails to be unlocked. Therefore, you get a warning that the action can\u2019t be completed because the file is opened in another program when you are going to delete it. Before you continue to<strong> delete a file in use<\/strong> by another program with the professional methods, you can try these simple operations:<\/p>\n<ul>\n<li>Close all the programs or restart the computer.<\/li>\n<li>Run the antivirus software to check whether there is a virus on your computer.<\/li>\n<\/ul>\n<h2>Method 1: End the using of the file with Windows Task Manager<\/h2>\n<p>This method works most of the times. All you need to do is to stop the using of the file so that you can delete it normally. When should we use this method? In two situations: you cannot close the file correctly or you know which program is using the file.<\/p>\n<p>1. You can run the\u00a0Windows Task Manager by \u201c<strong>Ctrl + Alt + Delete<\/strong>\u201d, and then choose <strong>Start Task Manager<\/strong>.<\/p>\n<p>2. In the Task Manager box, click the <strong>Processes<\/strong> tab and you will know how many programs are running now.<\/p>\n<p>3. Choose the program that is using your file, right click and you will find the <strong>End Process<\/strong> or <strong>End Process Tree<\/strong> option. We recommend the End Process Tree option. At last, make a confirmation for your option.<\/p>\n<p>4. Execute the delete operation again to the file which you want to delete. Now you can delete it successfully.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"451\" class=\"aligncenter size-full wp-image-11556\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/click-end-process-in-windows-task-manager.jpg\" alt=\"click end process in windows task manager\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/click-end-process-in-windows-task-manager.jpg 405w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/click-end-process-in-windows-task-manager-269x300.jpg 269w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/p>\n<p>Note: if you do not close the file correctly, you can check the <strong>Application<\/strong> tab in the Task Manager to find your file directly and then right click to select the End Task option.<\/p>\n<h2>Method 2: Delete the file with Command Prompt<\/h2>\n<p>It is easier to delete the file by using the Command Prompt. You can also have a test now:<\/p>\n<p>1. Press \u201c<strong>Windows key + R<\/strong>\u201d and type cmd to open the Command Prompt.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"402\" class=\"aligncenter size-full wp-image-11557\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/command-prompt-screen.png\" alt=\"command prompt screen\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/command-prompt-screen.png 600w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/command-prompt-screen-300x201.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>2. In the Command Prompt, enter del and the location of your file which you want to delete, and press \u201c<strong>Enter<\/strong>\u201d on the keyboard.<\/p>\n<h2>Method 3: Delete the file with iSunshare File Deletion Genius<\/h2>\n<p>If you want to delete the file completely, no matter it is in use by other program or not, you can try this <strong><a href=\"https:\/\/www.isunshare.com\/file-deletion-genius.html\">iSunshare File Deletion Genius<\/a><\/strong>. It can force delete all types of files in Windows in the safe mode. It is super easy and everyone can grasp it within minutes.<\/p>\n<p>1. Download and install the software on your Windows computer.<\/p>\n<p>2. Run the software and add the file you want to force deleting. There are two modes for your option: Fast Mode and Slow Mode. Slow Mode is strongly recommended.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"460\" class=\"aligncenter size-full wp-image-11558\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/add-files-to-delete.png\" alt=\"add files to delete\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/add-files-to-delete.png 600w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/add-files-to-delete-300x230.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>3. In the Open interface, you can click the plus sign to get the concrete file. Besides, it is also possible for you to find your files by clicking the<strong> Show hidden files<\/strong> button on the top-right corner.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"457\" class=\"aligncenter size-full wp-image-11559\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/search-file-you-want-to-delete.png\" alt=\"search file you want to delete\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/search-file-you-want-to-delete.png 600w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/search-file-you-want-to-delete-300x229.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>4. After you select the files that you want to force deleting, you can click<strong> Delete<\/strong> to remove them. Attention: all deleted files are impossible to be recovered again.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"491\" class=\"aligncenter size-full wp-image-11560\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/forever-delete-files.png\" alt=\"forever delete files\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/forever-delete-files.png 600w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2013\/12\/forever-delete-files-300x246.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Extra methods to delete AVI file in use by another program: <\/strong><\/p>\n<p>Here, I will take the AVI file on Windows XP as an example. All these ways are collected from the Internet, you can test it by yourself.<\/p>\n<p><strong>Way 1:\u00a0<\/strong>Open Notepad, click File in its menu bar and select Save As. Then, name the notepad by the same title (including the extension name) of the AVI file you want to remove and replace the file. At this time, you will find that the file size becomes 0 KB, so now you can erase it with Delete order.<br \/>\n<strong>Way 2:\u00a0<\/strong>Create a new folder in the same directory of the AVI file and restart the computer. After reboot, select the new folder, press Ctrl key and the AVI file at the same time. Then execute Delete.<br \/>\n<strong>Way 3:\u00a0<\/strong>Change the extension name of the AVI file into any other invalid document type, and carry out Delete.<br \/>\n<strong>Way 4:\u00a0<\/strong>Start the media player which played the AVI file, open another file in it, and delete the file which you would like to omit.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Video on How to Delete a File in Use by Another Program<\/strong><\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/Atv3pYHqgGc\" width=\"640\" height=\"360\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/div>\n<p>&nbsp;<\/p>\n<p>Related Articles:<\/p>\n<ul>\n<li><a title=\"How to Release the Reservable Bandwidth of System\" href=\"https:\/\/www.isunshare.com\/blog\/how-to-release-the-reservable-bandwidth-of-system\/\">How to Release the Reservable Bandwidth of System<\/a><\/li>\n<li><a title=\"How to Rename Hard Disk Partitions of Windows 7\" href=\"https:\/\/www.isunshare.com\/blog\/how-to-rename-hard-disk-partitions-of-windows-7\/\">How to Rename Hard Disk Partitions of Windows 7<\/a><\/li>\n<li><a title=\"A Way to Automatically Shut Down A Program That Stops Responding\" href=\"https:\/\/www.isunshare.com\/blog\/a-way-to-automatically-shut-down-a-program-that-stops-responding\/\">A Way to Automatically Shut Down A Program That Stops Responding<\/a><\/li>\n<li><a title=\"How to Clear Network Share Folder Password in Windows 8\" href=\"https:\/\/www.isunshare.com\/blog\/how-to-clear-network-share-folder-password-in-windows-8\/\">How to Clear Network Share Folder Password in Windows 8<\/a><\/li>\n<li><a title=\"How to Grant Permission of A Folder to User or Group in Win 7\" href=\"https:\/\/www.isunshare.com\/blog\/how-to-grant-permission-of-a-folder-to-user-or-group-in-win-7\/\">How to Grant Permission of A Folder to User or Group in Win 7<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever confronted with a situation that you could not successfully delete a file in your PC&#8230;<\/p>\n","protected":false},"author":2,"featured_media":7147,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[214],"tags":[84],"class_list":["post-1122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer","tag-delete-file"],"_links":{"self":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts\/1122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/comments?post=1122"}],"version-history":[{"count":6,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts\/1122\/revisions"}],"predecessor-version":[{"id":12485,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts\/1122\/revisions\/12485"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/media\/7147"}],"wp:attachment":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/media?parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/categories?post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/tags?post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}