How to Disable IPv6 in Windows Server 2012 2SAS Techvision.in

How to Disable IPv6 in Windows Server 2012

        How to Disable IPv6 in Windows Server 2012

How to Disable IPv6 in Windows Server 2012

 

The world is running out of Internet addresses. IPv6 is the answer to that problem, but in some cases and implementations it can cause problems of its own. There’s no reason to disable IPv6 if it’s not causing a problem. If it is, it can be disabled with an easy registry hack.

Editing the properties of a network adapter and unchecking the IPv6 box only unbinds the protocol from the adapter and does not disable it. This can have unintended consequences and cause other problems.

 

NIC1 Properties Networking SAS Techvision.in

 

To disable IPv6 entirely on your system you’ll need to edit the registry.

To display your IPv6 address and confirm that IPv6 is enabled, open a command prompt and run ipconfig.

Command prompt ipconfig SAS Techvision.in

 

In the example above we see that there is an IPv6 address and the 6to4 virtual adapter. We’ll need to add a registry key to disable IPv6.

There are two ways to do this. The first method uses the registry editor (regedit) to add the key and the second uses the command prompt. The command prompt method is a little more prone to error, but if you’re comfortable using the command prompt, jump past the regedit method for a more direct and faster method.

 

Method 1: Regedit

Press the Windows Key and the R key at the same time to bring up the Run dialog box.

Run regedit SAS Techvision.inRun regedit SAS Techvision.in

 

Type regedit in the Run dialog box and click OK

Registy Editor Computer SAS Techvision.in

 

Use Registry Editor to expand the registry tree and browse to:

Registy Editor HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTCPIP6Parameters SAS Techvision.in

 

Right click on Parameters, expand New, and select DWORD (32-bit) Value

Parameters Right click - New DWORD 32.bit value SAS Techvision.in

 

Enter DisabledComponents into the Name field

Resgisty Editor Disabled Components SAS Techvision.in

 

Double click on the new DisabledComponents value, enter ffffffff into the Value data dialog box, and click theOK button

Edit DWORD 32.bit Value SAS Techvision.in

 

Confirm the new registry value contains the required data.

Redgistry Editor Disabled Commponents SAS Techvision.in

 

After restarting the computer, run ipconfig again at the command prompt to confirm that IPv6 is disabled.

CMD ipconfig SAS Techvision.in

 

ipconfig shows nothing but good old reliable IPv4.

Method 2: Command Prompt

Alternately, the required registry key (DisabledComponents) and data can be added to the registry with the Reg Add command.

Start a command prompt with administrative permissions and enter the following command:

reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF

CMD The Operation Completed Successfully SAS Techvision.in

 

If you entered the command correctly, after rebooting, ipconfig should show no IPv6 addresses or 6to4 adapters.

Regardless of what method you’ve used, if something goes wrong, use the registry editor to verify the new registry key is in the correct spot in the registry, the name is spelled exactly as it should be, and the data is the proper value.

%d bloggers like this: