- Start a command prompt as a local administrator.
- Change directory to the one above the directory you want to delete.
- Fix permissions.
- Delete files (this should not be needed...)
- Delete directories
cd "c:\my stuff" attrib /s /d -s -h -r "to delete" del /f /s /q "to delete" rmdir /s /q "to delete"
- If this do not work also try to take ownership of the directory and full control in the ACLs and then delete again:
takeown /f "to delete" /r /d y icacls "to delete" /grant %username%:F /T