How do I get IPv6 working in Windows 7 ?

I upgraded to Windows 7 Home Premium from Windows Vista on both my laptop and desktop computers, so I can use Homegroups to share files between them. However, when I tried setting it up I got a message saying that IPv6 is required. How can I fix it?