Microsoft never had a monopoly in the OS market. Plenty of businesses large and small used competing OSs like Apple, Unix, Linux, Beos, OS/2, DOS, etc.
Microsoft had a dominant market position, and anti-competitively leveraged that market position in operating systems to muscle its way into the internet browser market.