To remove password from Windows account with Command Prompt, use net user for a local account and submit a blank password at both prompts. This does not remove a Microsoft-account password, Windows Hello PIN or organizational sign-in requirement.
Security warning: A blank local password weakens physical security. Use it only when the risk is understood.
Remove a local account password
net user [username] * Type a password for the user: [Enter] Retype ... : [Enter]

- Open Command Prompt as administrator.
- Run
net userto confirm the local username. - Run
net user "username" *. - Press Enter at both prompts without typing a value.
Account limitations
The command changes a local account. Microsoft accounts must be managed through Microsoft's account and sign-in settings. Domain policy also applies on managed computers. Microsoft documents the password prompt in the net user reference.

Comments