Will not delete file


  1. Posts : 279
    Win 10 Pro 64 Bit
       #1

    Will not delete file


    I go into Explorer to delete a file and it tells "Action can't be completed because the file is open in Windows Explorer"

    But don't you have to open it in Explorer in order to select it to delete it ?
      My Computer


  2. Posts : 31,630
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    Each file is marked as 'open' when a process accesses it. It should be closed when the process completes. Sometimes a process can end abruptly and not get a chance to clear the flag. The file is left as 'open' when nothing is actually using it. The easiest way to close all such files is to restart the PC. Do that then try deleting it again.
      My Computers


  3. Posts : 279
    Win 10 Pro 64 Bit
    Thread Starter
       #3

    Understood. Co-incidently I had a similar thing again just now when a file did not finish copying. Now if I copy something else the first one stays in the copy window stuck on "Canceling". I guess there's no other way to get rid of it. No end task or similar?
      My Computer


  4. Posts : 31,630
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    James1093 said:
    I guess there's no other way to get rid of it. No end task or similar?
    There's always Task Manager. That can end almost any process (though some you should leave well alone :) ). In this case it's quite safe to restart Windows Explorer. If you have File Explorer open it will be listed as 'Windows Explorer' on the Processes tab under Apps (if you don't have the tabs, click 'more details'). Select Windows Explorer and click the Restart button in the bottom right.

    Edit: though if you're getting problems like this it may be that a restart is overdue. If you have 'fast shutdown' turned on (it is by default) then just shutting down may not reset everything.
      My Computers


  5. Posts : 279
    Win 10 Pro 64 Bit
    Thread Starter
       #5

    Thank you Bree. All noted.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:08.
Find Us




Windows 10 Forums