Cannot properly change the username on Windows XP Home - TechRepublic
Question
February 9, 2008 at 05:10 PM
rich

Cannot properly change the username on Windows XP Home

by rich . Updated 18 years, 5 months ago

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.

This discussion is locked

All Comments