How to change the main User Name?

Discussion in 'Windows 11' started by DeathStalker77, Jan 16, 2025.

  1. DeathStalker77

    DeathStalker77 MDL Addicted

    Nov 8, 2009
    580
    45
    30
    Without screwing things up! I tried changing it following some (other) forum directions using netplwiz and it messed EVERYTHING up - I had a completely disassociated UNKNOWNUSER (with a bunch of stuff after it) in the SECURITY section for EVERY folder - could not access the Users folder at all.

    When I set it up, it only took the lower case of just "death" - not "DeathStalker", as Win10 had always done (it would prompt for "Who is going to use this computer?"). I would like to get that back without having to create another profile - as I see that creating even more problems.

    I'm in Edu Pro right now but will probably be switching to IoT Enterprise.

    Thanks for any assistance!

    --- DS
     
  2. DeathStalker77

    DeathStalker77 MDL Addicted

    Nov 8, 2009
    580
    45
    30
    No ideas on this? :-( It would really be appreciated! (I've has so many issues so far as it is :-( )
     
  3. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,513
    2,748
    120
    Create news users and move data more proper
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,766
    1,018
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    906
    401
    30
    wmic useraccount where name="oldname" rename "newname"

    reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>" /v ProfileImagePath /t REG_EXPAND_SZ /d "C:\Users\oldname" /f

    For SID, look here: HKEY_LOCAL_MACHINE\Microsoft\Windows NT\CurrentVersion\ProfileList
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...