Hi,
remember to always have second admin account, never only one.
Use this to reset local admin pass
https://blogs.technet.microsoft.com/aviraj/2009/03/27/mdop-dart-reset-forgotten-windows-account-passwords/
You can use Microsoft tool called Dart to reset admin pass. (This will reset local admin account pass
Second Option is
Boot From windows server media
– Press “F10″
– Type ‘copy D:\Windows\System32\cmd.exe D:\Windows\System32\utilman.exe” (replace driveletter)
– Reboot and press the utility manager symbol
– Type ‘net user Administrator *’
– Enter the password
http://www.altaro.com/hyper-v/reset-forgotten-hyper-v-admin-password-windows-cd/
------------------------------------------------------------------------------------------------------------
If you found this post helpful, please give it a "Helpful" vote.
Please remember to
mark the replies as answers if they help