Friday, June 12, 2009

How to disable ipv6 in Vista and Windows Server 2008 using a batch file or group policy

from
http://thesystemadministrator.com/the_system_administrator/tips_%26_tricks/disable_ipv6_over_all_interfaces_and_prefer_ipv4_to_ipv6/
we can use the following batch file:

@Echo off
@ECHO Windows Registry Editor Version 5.00 > %TEMP%\DisableIPv6.reg
@ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters] >> %TEMP%\DisableIPv6.reg
@ECHO "DisabledComponents"=dword:000000ff >> %TEMP%\DisableIPv6.reg
REGEDIT /S %TEMP%\DisableIPv6.reg

if you want to use group policy check this site:
http://www.expta.com/2009/02/how-to-configure-ipv6-using-group.html

No comments:

Post a Comment