Sign in with an administrator account
Press Windows key + I to open Settings
Select Accounts
Select Your info
Click Manage my Microsoft account if using a Microsoft account
Change the account name in your Microsoft account profile
Restart the PC
Open Control Panel
Select User Accounts
Select User Accounts again
Select Change your account name
Enter the new name
Click Change Name
Press Windows key + R
Type netplwiz and press Enter
Select the administrator account
Click Properties
Change the full name
Click OK
Open Computer Management
Go to Local Users and Groups
Select Users
Right-click the administrator account
Select Rename
Type the new name
Press Enter
Restart the computer
Open Command Prompt as administrator
Type wmic useraccount where name=’OldName’ rename ‘NewName’
Press Enter
Restart the computer
