Solved Rename User Account

dorian mode

New member
Local time
12:04 PM
Messages
27
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

Computer type
Laptop
Computer Manufacturer/Model Number
Acer Aspire M
OS
windows 7 home premium 64 bit
Memory
6 gb
Hard Drives
250 gb ssd
Antivirus
AVG
Browser
Firefox
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
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.


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

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
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:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Acer Aspire M
OS
windows 7 home premium 64 bit
Memory
6 gb
Hard Drives
250 gb ssd
Antivirus
AVG
Browser
Firefox
Back
Top