Question Locked

Cannot properly change the username on Windows XP Home

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This thread is similar to others, but I never seen a complete solution.

I'm trying to change the username on a PC running Windows XP Home. I learned quickly that using the control panel to change the user name changes the name displayed, but the folder name in "Documents and Settings" is still the same.

I took the next step and began changing all the references (>100) in the registry from the old username to the new username. That works, but not completely.

I found four registry keys that will always revert back to the old username after I reboot. These keys are:

HKEY_CURRENT_USER\Software\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-AAFA-00AA00B6015C3}\Username
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curent Version\Explorer\Logon User Name
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\Winlogon\AltDefaultUserName
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\Winlogon\DefaultUserName

Finally, I did a search of all the files on C:, including the system and hidden files, in order to find files containing the old username, which is distinct enough to not generate bogus hits. If found a few application config files that I changed to allow those application to properly detect the latest settings and data.

So....

Why do the registry keys listed above keep reverting back to the old username? What can I do to fix this problem once and for all?

Thanks in advance for any help provided.

7 replies

by rich

Pete,

Thanks for the suggestions. I will try them when I regain access to that PC later this week.

Do you happen to know why this behavior occurs, and where Windows is obtaining the old username?

Rich

by rich

In this case, the old username causes two problems. The first is one where the user creates .pdf files for correspondence with her customers. These .pdf files include the full pathname of the file in the document footer. The misspelled username does not look professional.

Second, anytime she creates a file, the electronic "owner" of the file is marked using the old username (again misspelled) and looks unprofessional.

This discussion is closed to new replies.