On the Command Prompt, type the command: net user and press "Enter" to list all the users account on your Windows system. Please remember the account name for the administrator. Step 5. Then, input this command: net user [username]"" and press "Enter" to remove the password for the target account.