Cannot delete file because it's being used by another person or program

This error message is generated when the folder or files within the folder are locked because they are being used by Windows or another program running in Windows. To successfully delete this file, try following the steps below.

  1. Wait a minute and try deleting the file again, sometimes Windows or the program using the file may still be closing and therefore still using the file you're attempting to delete.
  2. Close and Explorer window and re-open.
  3. Locate the program using the file and close it. If you're uncertain what program is using the file, close all programs until you're able to delete the file.
  4. Try using unlocker, a free software program designed to unlock any file being used by Windows or other programs without restarting the computer.
  5. Reboot the computer. If after closing all programs you're still unable to delete the file, it's likely that something in the background is still using the file.
  6. If after rebooting the computer you're still unable to delete the file, boot the computer into Safe Mode and delete the file.

Additional information