Microsoft won market share when they were competing actively on web platforms and services. Their ASP, ActiveX and such technologies were real contenders a few years ago, competing with the likes of PHP. It seems they aren't competing with HTML5, given up on Windows Media and the internet has moved on, leaving them behind.