You can delete a user account from command line in Windows 10 using the net user command and specifying the delete parameters.
How to delete user account from command line in Windows 10 ?
The syntax for deleting the user from the command line is as follows.
net user <username> /DELETE
The above command deletes the user from the local system.
For example , if you want to delete the user abundantcodeuser from the local system , following will be the command to be executed in command prompt.
net user abundantcodeuser /DELETE