It seems that the security in Vista not always works correct. I want to delete a directory and I got the message that I need to have the correct permissions.

Although I have given everyone full permissions on this directory.

After rebooting, I can delete the directory.