20 - 09 - 2018
Przełącznik języka
Tools
This Site
Security
CMS
Hardware
Backup
Uncategorised
useful sites
Databases
Emulators
Powershell
Storage Array
Active Directory
SEO
DNS
Guides
Antivirus program
Linux
Foto
Licznik
1.png3.png5.png2.png4.png9.png1.png
Today176
Yesterday841
This week3685
This month12101
Total1352491

Visitor Info

  • IP: 54.198.52.82
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

2
Online

Thursday, 20 September 2018 10:22

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

How to change Windows user name in CMD

First check existing users in the system

open command prompt as administrator and enter

net users

Next

You can use wmic for this. The command is:

wmic useraccount where name='currentname' rename newname

Example, if your username is "user" and you want to rename to "user1" the following command would be used.

wmic useraccount where name='user' rename user1

Please note, you need administrative privileges to use this command, so make sure you start your command prompt using run as administrator.

EDIT: suddenly you mention in the comments that you do NOT want to change the Username, but the Full Name instead.

The command for that is here:

wmic useraccount where fullname='currentname' rename newname

You can substitute fullname or name for any of the following:

AccountType  Description  Disabled  Domain    FullName     InstallDate  LocalAccount  Lockout  Name   PasswordChangeable  PasswordExpires  PasswordRequired  SID  SIDType  Status

You can use the following command to see a list of all users with all their settings:

wmic useraccount list

 

ways to change user account name in Windows 10:

 Change account name in Control Panel.
1: Access Control Panel/User Accounts and Family Safety/User Accounts.
2: Choose Change your account name.

Change account name in Control Panel.
1: Access Control Panel/User Accounts and Family Safety/User Accounts.
2: Choose Change your account name.
3: Type a new name in the box and tap Change Name.

Change account name in Local Users and Groups.

1: Open Run by Windows+R, enter lusrmgr.msc and hit OK to open Local Users and Groups.
2: Open the Users folder, right-click a user and select Rename in the menu.
3: Type a new name in the name box.

Change administrator or guest name in Local Group Policy Editor.
1: Access Local Group Policy Editor.
2: Open Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Rename administrator account (or Accounts: Rename guest account).
3: Type new name and hit OK.