These are the steps taken from my notes to reset/change an administrator password on a Windows Server 2003 R2 Standard install. I used Ubuntu and chntpw and the Windows partition was not encrypted.
- Boot from Ubuntu live disk
- Switch to root
sudo -i
- Add the repository that has chntpw
apt-add-repository universe
- Install chntpw
apt-get install chntpw
- Make a folder to mount the Windows partition drive
mkdir /winmount
- Mount the partition (search available partitions using Gparted)
mount /dev/xxx /winmount
- List all users
chntpw -l /winmount/WINDOWS/system32/config/SAM
- Modify the desired user
chntpw -u username /winmount/WINDOWS/system32/config/SAM - Clear (blank) the password of the user, option 1. Then unlock if necessary, option 2.
- Quit and write the changes
- Unmount and reboot
unmount /winmount