Renaming User Profile in WXP

I have a user profile I would like to rename in WXP. I am logging on as Administrator but I get an error message "Cannot rename access denied". Also If I try to delete the profile I receive  an error message "Cannot delete ntuser: It is being used by another person or program. Can someone tell me how I can rename this profile?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zephyr_hex (Megan)DeveloperCommented:
are you sure that you are not logged in to the other profile?
one sure way to verify is to reboot.  then log directly into the Admin account and try to rename.
If you really can't rename the user or the profile, you could create a new user and copy all data from the old user/profile to the new, i would suggest you to do the following then:

Make sure that you don't login with the old username, before logging on with Administrator, because the ntuser.dat is still in use after logoff.

1) Logon with Administrator.
2) Create a new user with the Username you want, and give administrator priviliges to it.
3) Logon with this new user only one time to create the profile directory. Then reboot the machine.
4) Logon with Administrator, have a look in C:\Documents and Settings. There should be a directory with the newly defined username. Then navigate to the directory with the old username you wanted to rename. Click on Tools -> Folder Options in the Menu toolbar -> View -> Uncheck "Hide extensions for known file types"  -> Uncheck "Hide operating system files" -> Check "Show hidden files and folders". Then select all data in the old profile folder and click on "Copy", navigate to the new profile folder and choose Paste. Now all data from the old profile should have been copied to the new profile folder.
5) Reboot the machine and try to logon with the new user.

If you can logon with the new user properly, you can delete the old user and the old profile directory.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.