Windows Disable IPv6 RA solicitations

This works for both Windows 7 and Server 2008, I use this if I have set a static IPv6 address and want to stop the Windows box from having more than one IPv6 address.

First we want to find the index value of your nic.

c:\netsh int ipv6 sh int
Idx     Met         MTU          State                Name
---  ----------  ----------  ------------  ---------------------------
  1          50  4294967295  connected     Loopback Pseudo-Interface 1
 11          10        1500  connected     Local Area Connection

Now apply the value to disable the RA solicitation

c:\netsh int ipv6 set int 11 routerdiscovery=disabled

Now after a reboot you should only have one IPv6 IP address.