Rename User Account


  1. Posts : 27
    windows 7 home premium 64 bit
       #1

    Rename User Account


    Hello; I am wondering if it is possible to rename my user account from the CLI? My user account is also the administrator account. Since I did a recent re-install of Windows, I am not happy with my choice of name for my account.
    Or alternatively, could I add another admin. user account and delete the first one? I would prefer just to rename, if that is possible.:)
      My Computer


  2. Posts : 1,670
    win 10
       #2

    hi see if this is what you want. User Profile Folder - Change User Account Folder Name

    can always add another admin account User Account - Create
    Last edited by oscer1; 21 Jan 2016 at 21:23.
      My Computer


  3. Posts : 13,576
    Windows 10 Pro x64
       #3

    Do not rename a user account, create a new one and delete the one you no longer want.

    Changing the user name will cause all kinds of problems.
      My Computer


  4. Posts : 2,468
    Windows 7 Ultimate x64
       #4

    Here it is the way to do it:
    Rename local user account

    If it's a new install and you've barely customized anything I would simply create a new one and delete the original, as there isn't much to lose from that. Otherwise I would rename.


    AddRAM said:
    Do not rename a user account, create a new one and delete the one you no longer want.

    Changing the user name will cause all kinds of problems.
    What problems would a rename cause, exactly? Considering the alternative is very destructive too.
    For one, a making new account an abandoning the old one cripples permissions in every system object, loses all account settings for all programs (stored in the per-user registry hives and the user profile) and forces moving all the data in the user profile to a new location.
      My Computer


  5. Posts : 27
    windows 7 home premium 64 bit
    Thread Starter
       #5

    Thanks everyone, I will give the rename a try first. I have created another admin. account, I will change the original to a standard account, rename it and change it back to an admin. account. I will let you know how it works.

    Edit: Success! Although the rename command completed successfully, it didn't seem to effect any change. I had to add another account via CLI, then using the GUI, changed it to an admin. account.
    Then I changed the old account to a standard account and deleted it, keeping the files, which I moved to the new account. Ilost the old account settings of course, but that's an easy fix. The only app I lost was my kindle reading app, again an easy fix. I did this with both my windows 7 and windows 10 machines, same results with each. There is probably a better way, but I am happy as I have accomplished the desired results.
    Last edited by dorian mode; 24 Jan 2016 at 16:28.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:32.
Find Us