I custom built my pc 5 years back from my local pc store. They had installed Windows 10 Pro RETAIL (digital key linked with ms account), i didnt know back then that a pro version was activated, and due to studies- i had to move for 3 years and hence the pc wasnt used for all that time. I had downloaded pirated versions of some Adobe softwares back then. On getting back to it yesterday, multiple pop-ups asking allowance for a random application for changing data on my hard disk are repeatedly popping up. I had never installed or known about applications of such kind. I dont even know where it came from, but im pretty certain now that my pc is infested with some kind of virus(though not critical). I want to format and clean my pc completely and reinstall Windows 10 Pro, or even upgrade to Windows 11 P, if possible. My google chrome search automatically changes to yahoo browser. Everything is glitchy and sticks, not even a decent smoothness while running literally anything.
The main catch is, i might've changed the ms account and dont know which or what account was there the time i had received my pc with 10P digital license. i dont have any product key and i dont know where do i find one. I have no copy of the mail that was sent, since its been a bit more than 5 years. So i basically dont have a key or any digital trace.
If I format and reinstall windows 10, will my License be there?
How do i get my Digital License key, in case i would need it for after im done formatting?
i dont have any clues and now am cornered to a dead-end.