Disable Temporary IPv6 IPs in Windows Vista

Annoyed that Windows XP and Vista get a temporary IPv6 address, in addition to the autoconfigured one, and anything you’ve set manually? I was, until I figured out how to shut it off:

netsh interface ipv6 set privacy state=disable

This way you can assign a static IP if you like, or at least use the less random one assigned with autoconfiguration.