You can start your computer with a MS-DOS boot disk.
Then change to $systemroot$\system32\config
delete the file named sam,the restart your computer in normal mode.type user as "administrator" password as blank.
Importance!precondition is your OS must be "XP or 2000",and the system partition isnt NTFS file system.
Oterwise, you must have winpe software.