Hmmm, that is a little odd - the chances of the onboard graphics of the pentium failing are pretty minimal.
You could be looking at:
*an HDD issue (assuming the issue isn't present in the BIOS?), as it's only occurring inside Windows. A health check using the HDD manufacturer's utility (DataLifeguard from WD, SeaTools from SeaGate, WinDFT from HGST) would be recommended..... although I believe all of those utilities need to be inside Windows, which makes it tough.
*Equally, it could be an issue with your Windows install - although chances should be minimal in safemode.
*Memory issue. Since the iGPU of the Pentium utilizes your system memory, an error in the RAM could = error in the GPU. Running MemTest from a bootable USB would be advisable
Is this OS version legit, activated? Or pirated? That could be another culprit.