Rename Windows user account from CMD

article #1096, updated 2614 days ago

Here’s the command:

wmic useraccount where name='olduser' rename newuser

“olduser” is the old username, “newuser” is the new.

Categories: