Borrow an XP disk that matches the operating system of e-machine. e.g. windows XP home.
Run a fresh install and input your mums microsoft 25 digit code.
If the original installation was an OEM disk, you will need to re- activate anyway, tell them that the old motherboard blew in a power surge. They should re-activate windows, if it works.