How to disable IPV6 for windows 7, vista and 2008

settings to turn off all or part of IPV6. When a machine comes out of sysprep it re-enables IPV6 add this command at end of post to shut all IPV6 down (start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v ipv6kill /d "reg.exe add \"HKLM\SYSTEM\CurrentControlSet\services\Tcpip6\Parameters\" /v DisabledComponents /t REG_DWORD /d 4294967295 /f")