Deleting Undeletable Folders in Windows Vista and 7
If there is a directory, whether a built-in directory (such as Music, Documents, Desktop, etc.) or a directory you create, that has become corrupted and undeletable, you’ll need to take ownership and change the ACLs on that directory.
Use these 2 shell commands. You’ll want to start the command prompt in administrator mode.
1.takeown /f directory_name /r /d y
2. icacls directory_name /grant administrators:F /t
Now you can use the rd command to remove the offending directory