A decade after releasing the source code for MS-DOS 1.1 and MS-DOS 2.0, Microsoft has open sourced a (slightly) more recent operating system: MS-DOS 4.0. First released in 1988, you can now download ...
TL;DR: Microsoft will likely never release the original source code of Windows into the wild, but the company is clearly interested in sharing important episodes of its software development history.