rename old user profile and create a new one

i want to create a new (fresh)profile for a user on win7 because the current one is all messed up.  I trieded logging as another user then renameing the profile i want to re-create then login back in with the new profle name but it says something about not able to use profile using temp profile.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

IT used to be pretty handy in xp to do it the way you tried, unfortunately there is  registry entry that need to be modified now.  Fro ma note to myself about  it:

With windows 7 you can no longer simply rename the profile.  If you do, you will log in and get “windows is creating a temporary profile”   That’s no bueno.  You have to goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Find the sid that correlates to that user.  Click on all the SID’s and one of them will have the username associated with it.  Just delete that folder and when you log in a new profile will be created

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
rjefAuthor Commented:
thanks thats what i needed
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
Microsoft Legacy OS

From novice to tech pro — start learning today.