Both Retail, and Classic Freezing and Forcing Restart

Every time I boot up WoW, and WoW Classic, The game immediately freezes on the login screen, and forces my PC to restart. This is the only game that happens on. Even other Battle Net games like D3, and HotS work perfectly fine. I have done everything from reinstalling the games, to reformatting my OS, on a brand new Hard drive, and nothing has remedied this issue. Oddly enough, when a more tech savvy friend of mine remotely accessed my PC to help solve the problem, the both games started with no issues whatsoever multiple times. But would resume the problem once he disconnected.