My friend forgot his test lab domain admin password. And he only have a normal user account. So he asked me how can he reset his domain admin password.
It’s easy. Only a few steps
1. Boot the domain controller with a windows 2k8/2k12 installation CD
2. Press shift+f10 to start command line on the fist screen.
3. Run below command:
MOVE E:WindowsSystem32Utilman.exe e:WindowsSystem32Utilman.exe.bak COPY E:WindowsSystem32cmd.exe e:WindowsSystem32Utilman.exe
You should replace E: with you local disk letter.
4. Restart the DC
5. When DC done booting up again and you are at the Logon screen click on the Ease of access icon. Then you should be able to open a command line.
6. Reset domain admin password
net user administrator *
Done