disable the restart option when system detect error.(control Panel>system>advanced>startup and recovery settings>uncheck the system restart box)
if this doesn't solve, then try to diable your HDD UDMA mode,try bios settings(under primary IDE,disable UDMA mode) or safe mode,under hardware manager,IDE/ATA device.