Thanks. The machine goes to safe mode start screen then Win screen for about 3 seconds then re-boots.It was caused by power failure .Also I tried the Windows repair disc,and got message that it needed to format the hard drive. I've tried from F1 to F12 but cannot get to command prompt.