Use the windows setup floppy disks or the windows CD-ROM to strat the your computer.Make sure the first bootable device is CDROM/floppy as per you used to setup the computer.
The setup menu will appear on boot up.To start the windows recovery console press the “R” key.
In the next windows you will be prompted to select the windows installation to reapir(usually just “1”)
Then press the Enter key after typing the number that you want to use.
Next you will prompted to enter the administrator account password.if you did not enter on setup leave blank and press the Enter key
If youy use an incorrect password three times, the windows recovery console quits.also, if the security accounts manager database is missing or damaged,you cannot use the windowsrecovery console because you cannot have correct authentication.after you enter your password and the windows Recoveryt console strats,
Ok now we are in recovery console mode.
Type “cd i386” without quotes,then press enter
Type “expand ntkrnlmp.ex_ c:\windows\system32\ntoskrnl.exe”Press enter .type exit and restart the windows