Wednesday, October 17, 2007

Locked out of the administrator account

Some time ago I wrote about Liunx tools and how they can save my day as an Windows administrator. Today I had to download Trinity again. This time the quest was to reover a Windows 2000 server where the administrator password was lost and the account disabled.

The server was a HP server with an integrated Smart Array 5i. I had to load the cciss module manually to get the volume up and go. Then I ran a script called winpass to try change the passord and unlock the account.

Winpass is a script written by the Trinity folks and it seems to work fine. However, it only work with NTFS and fat partitions. And I could not write to the NTFS partitions. NTFS-3g is included, so for me these lines solved the day:

modprobe cciss
ntfs-3g /dev/cciss/c0d0p1 /mnt0
chntpw /mnt0/WINNT/system32/config/SAM

Labels: ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home