MS offers (or offered back in the day of Win2000 and XP) access to source code for governments, system integrators and academic institutions as part of its Shared Source Initiative:
- https://en.wikipedia.org/wiki/Shared_Source_Initiative#Overv...
- https://news.microsoft.com/source/2002/02/21/microsoft-annou...