chntpw

A utility that can edit windows registry, reset user password, promote users to administrator by modifying the Windows SAM. Boot target machine with live cd like Kali Linux and run with elevated privileges. More information: <http://pogostick.net/~pnh/ntpasswd>.

Debian Debian
RUN apt-get update && \ apt-get install -y chntpw
Ubuntu
RUN apt-get update && \ apt-get install -y chntpw
Alpine
RUN apk add chntpw
Arch Arch Linux
RUN pacman -S --noconfirm chntpw
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y chntpw
Fedora
RUN dnf install -y chntpw
Raspbian
RUN apt-get update && \ apt-get install -y chntpw
click the source code to copy install chntpw on any operating system with command-not-found.com