Tip

Existing user account names: Don't rename them, migrate them

I've often run into a situation where either a computer I use (or manage) has been set up with the wrong username, or someone else's machine has been set up with the wrong username. Perhaps it's a username that the user in question doesn't like, or maybe it's been misspelled or is just plain incorrect. The usual procedure is to rename the existing user account on that machine -- that is, if it's not a domain account -- but renaming an existing user account under Windows XP can be quirky.

When a user account is created, a number of resources are also created with it that carry the user's name. The most obvious is the user's profile directory on that machine, which is "branded" with the name; similarly branded objects exist in the Registry as well. If you change the user's name by hand, these objects will not be automatically renamed. If you go looking for a user directory for "Fred" and find instead a directory named "Phil," it's confusing, and you may wonder what happened to poor Fred!

Rather than renaming a user account that's been in use for some time, try this: Create a new user profile with the proper name, migrate the old profile into the new one and delete the old one after everything is settled. Copying a user's profile data in Windows XP can be done by right-clicking on My Computer | Properties, then Advanced | User Profiles | Settings and using the Copy To function to select a target profile folder.

Note that

    Requires Free Membership to View

you cannot copy the profile for the currently logged-in user. You should also create the target user and log in as that user before copying in the old profile data.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators. He is also the author of the book Windows Server Undocumented Solutions.

More information on user account names:


This was first published in July 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.