Windows 7 has expanded its lead over Windows Vista with more than 350 million licenses sold after 18 months on the market, Microsoft said Friday. But Windows XP, older than both Vista and 7, still captures about half of the desktop operating system market with Mac and Linux far behind.