I downloaded and opened an executable file, and the next day, I found that my email account had been hacked. I initially ran the file through VirusTotal, but it showed no viruses. However, when I opened it, Windows Defender deleted the file immediately, reporting three trojans. The following day, I lost access to my Microsoft account and Steam account. While trying to log in to my Epic Games account, I noticed the suspicious activity but managed to recover it. I've changed my Google passwords and installed Kaspersky. Do you think I need to completely reinstall Windows to be safe?
3 Answers
It sounds like you’ve got some serious malware on your system, possibly an infostealer. Really, the best course of action is to reinstall Windows. Be sure to run a full virus scan with a reliable third-party antivirus like Malwarebytes before and after the reinstall.
First things first, disconnect your PC from the internet immediately. After that, change all your passwords using another device that you trust. It’s definitely a good idea to wipe your system and reinstall Windows. You want to ensure that any lurking malware is completely gone. Also, make sure you enable two-factor authentication on all your important accounts after you recover them.
Honestly, you should be asking yourself why you ran a .exe file from a questionable source. Always be cautious about where you download things from. Since Windows Defender already flagged that file, it's wise to shut down the computer, reset your passwords from another device, and wipe it clean before starting over.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures