I have a better way:

  1. Find an NT box (this includes XP)
  2. open a command prompt
  3. Go to a directory with a lot of files (c:\winnt works well)
  4. Do a dir
  5. While the directory listing is scrolling past, hit F7 and enter as fast as you can (alternating, not at the same time!) over and over again
  6. Windows will BSOD every time

I like this method better since you don't need a compiler. This is a bug that a 2 year old could trigger.

Update: yerricde informs me that this bug has been fixed in Windows 2000 SP3. :-/