How to change windows 10 username?

  admin, windows, windows-10

I setuped windows 10 on a laptop but I wrote the user name incorrectly.

I changed the user name from control panel and by open netplwiz from run. It changed the user name in everywhere in the system. But when I open the console "command prompt", the old name still before the commands like this: C:UsersOld Name>!

How can I remove this old name from the system permanently? And replace it with the new user name?

Source: Windows Questions