Annoyingly, Microsoft updates dumped the the software pack files for one of its updates on my removeable drive recently.

Subsequently, I was having all sorts of issues trying to delete (take ownership) of the file.

Command-line did the trick…

takeown /f <foldername> /r /d y
icacls <foldername> /grant administrators:F /T
rmdir <foldername> /S