• WIERD–renamed account causes duplicate user folders

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » WIERD–renamed account causes duplicate user folders

    Author
    Topic
    #2338267

    Several months ago I was victimized by the corrupt user profile problem following the installation of a monthly rollup for WIN 10 Pro v.1903 64-bit. This laptop has four user accounts, and all of them are local–one admin and three standard. It was one of the standard accounts that got clobbered.

    None of the usual solutions worked. So I created a new standard user account and copied all the folders and files from the original user account into the new one. Both the “dead” user and new user showed up on the log-in screen. But I did not want to delete the “dead” account until some time passed and I was sure the new account was working alright. (Additional information: C: drive is SSD used exclusively for OS and software; D: drive is 2TB HDD for all data, docs, etc. and I had the new account just point to the same folders for data that the “dead” account used so it was unnecessary to copy any of those to a new location.)

    OK. So now it’s time to update to v.2004 and I decided to delete the “dead” user account and make sure everything continues to work alright for a week or two before installing 2004. Everything continues to work fine, the “dead” user no longer appears on the log-in screen, and the update subsequently installs without a hitch.

    After a few days I decide it is time to create an image of the 2004 version. But first, it occurs to me to rename the new user account back to the same name previously used for the “dead” user. That seems to work also–except. Except that now I have two user folders, one as originally named (if only temporarily) and one as renamed. Both are loaded with App Data, Favorites, etc. Only rename appears on the log-in screen, however. So I decide to check if the original (“new”) user folder is just dead weight by renaming the folder user.OLD. I sign out and sign back in again and lo and behold I get the same kind of desktop that shows up with a corrupt profile. I sign out, use the admin account to remove the .OLD from user.OLD. I sign out of the admin account and then sign in again with the renamed account and the desktop loads without any problems. I have tried rebooting, shut downs and everything else I can think of, but I still have two user folders with nearly identical information. Huh?

    Now I can readily understand it if the renamed user account folder merely pointed to the folder as originally named. But, if so, why duplicate all the sub-folders? As long as it all continues to work okay I suppose I should not be concerned, but why waste the space?

    Anyone else have a similar experience or any insight?

    Viewing 1 reply thread
    Author
    Replies
    • #2338384

      As you’ve now discovered which user folder is being used by the account, can’t you just rename and/or delete the other one?

      If you then want to rename the remaining user folder, because it no longer matches the user name, there’s a correct way to do that which includes placing the new path in the registry under the correct security identifier:

      How to Change the Name of a User Profile Folder in Windows 10

      1 user thanked author for this post.
      • #2339074

        Earlier today I followed the instructions in the article that you linked and so far so good. It turned out that the new user  folder was useless. First I changed the name of of the “renamed” user folder to user.OLD, signed out and signed back in again. Sure enough it was signing in from the original user folder.

        The folder with the “rename” was thus superfluous. Next I followed the instructions in the article and was surprised to discover that the “renamed” user had no SID number. So, if changing a user account name via settings/control panel, a new SID is NOT being created, even though a new (useless) user folder will be. Hmm, intentional or oversight?

        I fixed the entry in the reg and then used Explorer to change the name of the former user folder to the new name, signed out of the admin account and successfully signed in to the renamed account without a hitch. Now I will hold off for a few days before deleting the redundant user folder until it is reasonably clear that everything is working as it should.

        Then I’ll proceed with the imaging, which is what initiated this exercise. Thanks for the tip!

        1 user thanked author for this post.
        b
    • #2338386

      To verify the correct SID for the account open a powershell or command prompt window and type ‘whoami /user’

      One of the solutions is editing the registry keys to tell windows the location of correct new profile.

    Viewing 1 reply thread
    Reply To: WIERD–renamed account causes duplicate user folders

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: