AFAIK the "Windows Recovery Environment" is actually a stripped-down minimal version of Windows missing most of the normal userland and parts of the kernel, which people have extended and customised in various ways.
replies(1):
Now there's something I haven't heard of in a while. I remember using it on the original Droid phone when messing with roms