https://www.cnet.com/news/windows-95-remains-most-popular-op...
Edit: I think you could call Windows mainstream (or becoming dominant) around version 3, maybe a bit before. So that's over 30 years.