# The Hidden Purpose of Windows' winstart.bat

Original title: The little-known winstart.bat batch file

> Hacker News story 49314109 · language: en · submitted 2026-08-15
> Web version: https://zeli.app/story/49314109
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 134 · by [ingve](<https://news.ycombinator.com/user?id=ingve>) · 💬 39
[original](<https://devblogs.microsoft.com/oldnewthing/20260811-00/?p=112605>) · [HN discussion](<https://news.ycombinator.com/item?id=49314109>)

## Summary

Raymond Chen explains the little-known winstart.bat file in Windows 95, which runs during system startup before the GUI loads. Unlike autoexec.bat, it loads TSRs only for Windows programs, not for MS-DOS virtual machines. This feature actually dates back to Windows 3.1, as documented in the Resource Kit. The article includes diagrams and a table illustrating how TSRs are visible in different virtual machines.

## Key quote

> It’s like leaving your house, walking down the street, and halfway down the block, realizing that you’re now walking inside a movie studio set.

## HN discussion (39 comments)

### [EvanAnderson](<https://news.ycombinator.com/item?id=49367600>)

> The architecture the DOS-based windows line, and particularly the versions that had the virtual machine manager and ran in 32-bit protected mode, is such an interesting crufty archaeological dig. The OS's are bristling with hacks to make things work in resource-constrained environments, all while having ridiculous amounts of compatibility. There's a certain perverse elegance in it.
>
> NT, being a "real" OS (with memory protection, kernel/user separation, access control, etc), seems so much more obvious (and boring) in its design compared to the earlier DOS-based Windows series. The "adults" came in and showed the kids how to make a grown-up operating system.
>
> I don't miss the instability of the older DOS-based Windows OS's, for sure. I wouldn't want to go back there. For their time, though, they really did punch above their weight.
>
> Edit: I didn't mean "adults" in any negative sense. I think MSFT took advantage of an opportunity for some very senior and opinionated talent.

### [userbinator](<https://news.ycombinator.com/item?id=49369068>)

> We booted an operating system and then booted another operating system around it, so that the original operating system was now running inside a virtual machine controlled by the second operating system.
>
> Decades later, this was again brought to attention by https://en.wikipedia.org/wiki/Hyperjacking and subsequently Microsoft themselves "reinvented" the concept as a Windows feature: https://learn.microsoft.com/en-us/windows-hardware/design/de...

### [nonfamous](<https://news.ycombinator.com/item?id=49369364>)

> Nice little metaphor in the footnote, there:
>
> \>>> Think about that: We booted an operating system and then booted another operating system around it, so that the original operating system was now running inside a virtual machine controlled by the second operating system. It’s like leaving your house, walking down the street, and halfway down the block, realizing that you’re now walking inside a movie studio set.

### [layer8](<https://news.ycombinator.com/item?id=49368587>)

> Here’s hoping that we’ll have the technology to digitize human brains before Raymond Chen dies.

### [joshuat](<https://news.ycombinator.com/item?id=49367451>)

> Always enjoy a Raymond Chen article

---

## Cite

- Page: https://zeli.app/story/49314109
- Date: 2026-08-15
- Source: devblogs.microsoft.com (https://devblogs.microsoft.com/oldnewthing/20260811-00/?p=112605)
- Hacker News: https://news.ycombinator.com/item?id=49314109

## Other languages

- zh: https://zeli.app/zh/story/49314109 · markdown: https://zeli.app/zh/story/49314109.md
- ja: https://zeli.app/ja/story/49314109 · markdown: https://zeli.app/ja/story/49314109.md
- ko: https://zeli.app/ko/story/49314109 · markdown: https://zeli.app/ko/story/49314109.md
- de: https://zeli.app/de/story/49314109 · markdown: https://zeli.app/de/story/49314109.md
- es: https://zeli.app/es/story/49314109 · markdown: https://zeli.app/es/story/49314109.md
