This is what I use for our Windows 7 computers to configure IPv6:
REM enables EUI-64 interface identifiers (IPv6 address based on MAC) netsh interface ipv6 set global randomizeidentifiers=disabled store=active netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent REM disable all tunneling stuff netsh interface ipv6 6to4 set state disabled netsh interface ipv6 isatap set state disabled netsh interface ipv6 set teredo disabled