An unexpected error is keeping you from deleting the folder. If you continue to receive this error, you can use the error code to search for help with this problem.
Error 0x80070091: The directory is not empty.
Fixed by taking ownership:
takeown /F "X:\Path\To\Folder" /r /d y
(or see https://www.wintips.org/fix-the-directory-is-not-empty-0x80070091-solved/ )