Most rewrites are judged by how they started. This one is worth studying for what happened in the middle: a company stopped a failing Gen 2, threw away the working tree, and started again on firmer ground.
Gen 1
Windows XP was released in 2001. It was the first version of Windows where the business and consumer editions shared one code base.
Work on its successor began in May 2001, five months before XP itself was released. The project was code-named Longhorn.
The decision
Longhorn was not planned as a rewrite. Microsoft expected a minor release, a step between XP and a larger future version code-named Blackcomb, shipping around October 2003.
That plan did not hold. Longhorn absorbed many of the features intended for Blackcomb, and the date moved several times. The additions were not small. They included WinFS, a new storage subsystem, and new developer technologies code-named Avalon and Indigo.
Nobody decided to rebuild Windows in one release. The scope got there one feature at a time.
What happened
WinFS was introduced to developers at the Professional Developers Conference in 2003. The Longhorn build handed out there included it, and had performance problems.
Inside Microsoft the alarm was already sounding. In December 2003 Jim Allchin, who ran the Windows group, brought in two senior people: Brian Valentine, who had shipped Windows Server 2003, and Amitabh Srivastava, whose career had been spent on testing systems. In January 2004 Allchin wrote to Bill Gates and Steve Ballmer that "we lost our way." Some staff were comparing Longhorn to Cairo, an earlier Microsoft project. Allchin later told the Wall Street Journal that Longhorn had been "crashing into the ground," and put the blame on features being added and integrated into the core of the operating system with no clear focus on an end product.
The schedule was slipping in public at the same time. At the Windows Hardware Engineering Conference (WinHEC) in May 2003, Microsoft's roadmap had pointed to an "early 2005" release. On April 1, 2004, InfoWorld reported that the Longhorn beta, once targeted for mid-2004, was now expected in early 2005, because many Longhorn developers had been reassigned to Service Pack 2 for Windows XP, a security-focused update. Greg Sullivan, lead product manager for Windows, played it down: "That slightly impacted the beta schedule for Longhorn." By July 29, 2004, Network World was reporting that the beta probably would not arrive until the second half of 2005, with the release itself expected in 2006.
Srivastava assembled a team of core architects to map the whole of Windows. Among the goals were higher code quality and fewer interdependencies between components.
Then came the reset. It was announced inside the company on August 26, 2004, and to the public the next day. Development started again on the code base that became Windows Server 2003 Service Pack 1. The last build of the old tree and the first build of the new one carry the same date: August 19, 2004.
The public announcement gave the new plan:
-
The Longhorn client would target broad availability in 2006.
-
WinFS would be delivered after Longhorn and would only be in beta when the client shipped.
-
Avalon and Indigo would also be made available for Windows XP and Windows Server 2003.
-
The Longhorn server release stayed on its anticipated date of 2007.
Allchin's line in the release was, "Our long-term vision for the Windows platform remains the same."
The restart did not carry everything across. Only the features intended for an actual release were brought back into the new tree, and builds now followed much stricter rules about what code could enter them.
The new process was not popular. Individual developers, and Gates himself, complained that it would be prohibitively difficult to work within.
The product was named Windows Vista on July 22, 2005. Beta 1 followed five days later. Vista was released to manufacturing on November 8, 2006, and reached general availability on January 30, 2007. That was five years after XP, at the time the longest gap between successive Windows releases. A Windows developer writing in June 2006 put the scale at about 2,000 developers and approximately 50 million lines of code.
WinFS never shipped. A beta went to developers in August 2005. On June 23, 2006, its team announced that it would no longer be delivered as a standalone product.
What went wrong
- A minor release became the big one without anyone deciding that. Features meant for the next system moved into this one. This is the second-system effect arriving by accumulation.
- New subsystems went into the core before they were proven. Everything depended on everything, so nothing could be finished or cut on its own.
- The base was not finished code. The old tree had been built on a release candidate of Windows Server 2003. The reset moved the project onto the later code that became that system's first service pack.
- The reset came three years in. The first signs were there by late 2003. The decision took until August 2004.
What made the reset work
- A known-good starting point. The restart began from code that was on its way to shipping as a service pack.
- Scope was cut in public. The headline feature was removed from the release and Microsoft said so on the day of the reset.
- Features were separated from the release. Making Avalon and Indigo available on XP meant they no longer depended on Longhorn shipping, and Longhorn no longer depended on them.
- Quality rules came before features. They slowed people down and drew complaints. They also produced a release.
The verdict
Call it a slog. The reset is the part to copy: it took a project its own leader described as crashing and shipped it a little over two years later.
It could not recover the first three years. Vista arrived late, and reviews criticized its hardware requirements, driver and program incompatibility, and the number of security prompts. It sold 20 million copies in its first month, yet two years after release its share of internet usage was 20.61%. Windows 7 succeeded it in 2009.
What to take from it
- Stopping is an option. A Gen 2 that is not converging can be restarted on a stable base. It is cheaper in month twelve than in month thirty-nine.
- Know what you would cut before you have to. The reset worked because something large was allowed to leave.
- Build new subsystems beside the old system, not into its core. If a part can also ship on Gen 1, it can be finished on its own schedule. That is the idea behind the strangler fig.
- Watch the scope of a "minor" release. Check the plan against the questions in Should we rewrite it? every time something large is added.
Sources
- Microsoft - Microsoft Announces 2006 Target Date for Broad Availability of Windows Longhorn Client Operating System (August 27, 2004)
- Development of Windows Vista - Wikipedia - original schedule, the WinHEC 2003 roadmap, the December 2003 appointments, the reset and its build rules, build numbers, team size, naming and release dates
- InfoWorld - Longhorn beta likely to slip into 2005 (April 1, 2004) - developers reassigned to Windows XP Service Pack 2 and the first beta slip
- Network World - Longhorn faces another delay (July 29, 2004) - the second beta slip and the expected 2006 release
- Windows Vista - Wikipedia - the five-year gap after Windows XP, reception, first-month sales and usage share
- WinFS - Wikipedia - the 2003 introduction, the August 2004 removal, Beta 1 and the June 2006 cancellation
- Jim Allchin - Wikipedia - the January 2004 memo and his retirement
Last updated November 28, 2026.

