How do I disable / enable IPv6 on my vps? (Windows)

 

 

Explanation

This article describes how to disable and enable IPv6 on a VPS (vServer) running Windows. 

 

1. disable IPv6

To disable IPv6 on the VPS, a change must be made to the registry. 

 

1.1 start CMD

Start the command line (CMD) as administrator (Start -> run -> cmd).

 

1.2 Set Change

Enter the following command to make the change to the registry.

reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents /t REG_DWORD /d 0xff /f

 

1.3 Check changes

You can use the following command to check if the setting was set correctly.

reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents

You should get "0xff" as output here. IPv6 is then disabled. 

 

2. enable IPv6

To enable IPv6 on the VPS, a change must be made to the registry. 

 

2.1 Start CMD

Start the command line (CMD) as administrator (Start -> run -> cmd).

 

2.2 Set Change

Enter the following command to make the change to the registry.

reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents /t REG_DWORD /d 0x00 /f

 

2.3 Check changes

Use the following command to check if the setting has been set correctly.

reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents

You should get "0x0" as output here. IPv6 is then enabled. 

 

 

You cannot comment on this entry