You need to take ownership of that folder.
How to take ownership of files in Vista - TheTechArea.com
Since you are trying to rename a folder this is what you have to do. It has nothing to do with the UAC. This would happen if you tried to rename any folder or tried to access your XP Profile while it was password protected.