This has been tested on Windows Vista Beta 2 (Build 5384).

Full article with step-by-step Gadget-building instructions.