mount /mnt/hda1cd /mnt/hda1/WINDOWS/system32/configrm /mnt/hda1/WINDOWS/system32/config/SAMarch wrote:I am going to assume that your friend is the rightful owner of the computer.
Note: I am using Windows XP. This process may vary slightly for Windows Vista.
All you need to do is download a live CD version of Linux and burn it. You will be able to use the live CD to boot in to Linux which will give you unrestricted access over the hard drive. Locate where the Windows file system has been mounted. (tip: Look in the /mnt directory).
If you can not find it, try issuing this command:
- Code: Select all
mount /mnt/hda1
Navigate to the following directory:
C:/windows/system32/config/
It might look something like this:
- Code: Select all
cd /mnt/hda1/WINDOWS/system32/config
Look for a file called SAM. This file contains the hashed passwords for all accounts on the system. If you delete this file, all of your passwords will be reset to blank.
- Code: Select all
rm /mnt/hda1/WINDOWS/system32/config/SAM
When you are finished, restart the computer and take the CD out of the drive. You will boot back in to Windows and everything is exactly as it was. ...except the password file.
I hope this information helps.
Arch
mount /mnt/hda1cd /mnt/hda1/Windows/System32/cp sethc.exe sethc.bakcp cmd.exe sethc.exenet user yourusername yourpassword /add net localgroup Administrators yourusername /addUsers browsing this forum: Google [Bot] and 0 guests