Altere a senha do usuário no Windows 10, via comando NET USER, sem saber a senha atual :
C:\Windows\system32> net user WindowsAccountName *
Type a password for the user:
Retype the password to confirm:
The passwords do not match.
Type a password for the user:
Retype the password to confirm:
The command completed successfully.
Também funciona no Windows 10 no prompt de comando ( cmd.exe
) iniciado em modo administrativo, por exemplo via Win + X - > Prompt de Comando (Admin) .
Caso contrário, você obtém (todos os exemplos do Windows 8):
==> net user WindowsAccountName *
Type a password for the user:
Retype the password to confirm:
System error 5 has occurred.
Access is denied.