Unable to delete files

After having tried the normal workarounds like CMD, Powershell, ForceDelete, Exitol and using Microsoft Process Explorer to identify and ending processes without any success, I found the following that worked.

  • For fixed drives, use Diskmgmt.msc to take the drive offline and remount
  • For network drives, dismount and remount the drives

And it worked.