Sometimes Windows account's will lock up due to too many failed tries, or you forget your Windows Server password.
You will need some basic knowledge of Linux for this
You will need to connect to the server via SSH or use the KVM/ Console
Find the drive that Windows is installed on (usually the same size as your storage) you can run the command lsblk to see the list of drives
ntfsfix /dev/sdb2
mount -t ntfs-3g /dev/sdb2 /mnt
SAMfile is edited by using a tool in Linux to edit Windows systems
Sometimes you need to install chntpw on the system.. apt install chntpw
The command below will list all users on the system
chntpw -l /mnt/Windows/System32/config/SAM
chntpw -u USER /mnt/Windows/System32/config/SAM
Reboot Server