Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: IPv6 Temporary Address - Enable or Disable


IPv6 Temporary Address - Enable or Disable

How to Enable or Disable Temporary IPv6 Address Feature in Windows 7 and 8
Published by Shadowjk
07 Sep 2013
Published by

How to Enable or Disable Temporary IPv6 Address Feature in Windows 7 and 8

information   Information
In this tutorial I will be showing you how to enable or disable the temporary IPv6 address that Windows generates when using the IPv6 address protocol. This will allow Windows to use the EUI-64 industry standard to automatically generate the interface ID part of the address rather than generating one randomly.

What is IPv6?

IPv6 is a protocol from the TCP/IP suite which allows network addressing of devices used for connecting to the internet and devices on your LAN (Local Area Network). At the moment the current network addressing protocol is IPv4 however the address space is being rapidly used up therefore over time IPv6 will replace it in order to allow more devices to be connected to the internet.

______________________________________________________________________________

What is EUI-64?

In IPv4 it is required for a Network Administrator to either assign a static IP address to every device on a network or use a protocol called DHCP to assign a unique one automatically. In IPv6 an industry standard called EUI-64 was created to make assigning an IP address via DHCP or statically completely optional by allowing the devices to automatically generate one themselves. This is done by taking the MAC address of the interface and then 'squeezing' FFFE in the middle to generate the unique IP address that can be used on the internet for online communication. Additional characters are inserted in the middle in order to expand the MAC address (48-bit) into a 64-bit address to be used. More information on EUI-64 can be found here - IPv6 interface identifiers: IPv6

Windows 7 and 8 do not follow this standard and instead use a temporary address that is randomly generated and changes frequently to prevent other online users from being able to track you via your MAC address which doesn't change. While this is great for client privacy it can cause issues when setting up servers or key devices therefore you may wish to disable it and use the EUI-64 standard. This is what I am going to show you how to do in this tutorial.

An example of a temporary and random IPv6 address generated:

Name:  Temp IPv6 address.png
Views: 24870
Size:  16.3 KB


warning   Warning
This following steps should only be done if you are using IPv6 addressing on your network. If you are not sure what address protocol you are using then please do not follow these steps.

You need to be an Administrator to complete this.


Tip   Tip
This also works for Windows 8 and 8.1


Note   Note
This tutorial applies to the Link Local Address as well since that is randomly generated by default as well


________________________________________________________________________




Disable
How to Disable Temp IPv6 Address Feature in Command Prompt

1. Open an Elevated Command Prompt.

a).
Enter the following command exactly to disable the random IP address generation feature and then press enter:
netsh interface ipv6 set global randomizeidentifiers=disabled
Name:  disable_random_address.png
Views: 24506
Size:  11.1 KB

b).
Then input the next command exactly to force Windows to use the EUI-64 standard. Press enter to apply the command:
netsh interface ipv6 set privacy state=disabled
Name:  disable_temp_address.png
Views: 24412
Size:  10.5 KB
2. Reboot the machine to apply the changes.

a).
To verify open a command prompt windows and input the following command:
ipconfig
An example of Windows using the EUI-64 standard with the MAC address as further verification:
NOTE: Some MAC numbers may be converted to letters in the address because of the hexadecimal translation. This is normal.
Name:  IPv6_EUI-64.png
Views: 24487
Size:  13.9 KB
Name:  MAC_ADDR.png
Views: 24664
Size:  15.0 KB
__________________________________________________________________




OPTION TWO
How to Disable Temp IPv6 Address Feature using a BAT file

1. Click the download button below to download the BAT file.
ipv6_temp_addr_disable.bat
download
2. Save to your desktop and then Run it as Administrator.

3. Your computer should automatically reboot and disable the IPv6 Temporary address.
__________________________________________________________________________________




Enable
How to Enable Temp IPv6 Address Feature via Command Prompt


Note   Note
This is on by default in Windows 7 ,8, and 8.1.


1. Open an Elevated Command Prompt.

a).
Enter the following command exactly to enable the random IP address generation feature and then press enter:

netsh interface ipv6 set global randomizeidentifiers=enabled
Name:  enable_random_address.png
Views: 24419
Size:  11.0 KB

b).
Then input the next command exactly to allow Windows to randomly generate a temporary address to use for network communication. Press enter to apply the command:
netsh interface ipv6 set privacy state=enabled
Name:  enable_temp_address.png
Views: 24355
Size:  10.5 KB
2. Reboot the machine to apply the changes.

a).
To verify open a command prompt windows and input the following command:
ipconfig
An example of Windows using a temporary IPv6 address can be found below:
Name:  IPv6_temp.png
Views: 24410
Size:  14.6 KB
______________________________________________________________________




OPTION TWO
How to Enable Temp IPv6 Address Feature using a BAT file


Note   Note
This is on by default in Windows 7 ,8, and 8.1.


1. Click the download button below to download the BAT file.
ipv6_temp_addr_enable.bat
download
2. Save to your desktop and then Run it as Administrator.

3. Your computer should automatically reboot and enable the IPv6 Temporary address.
Hope This Helps,
Josh



08 Sep 2013   #1
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

I have now added the option to run a BAT file to complete the commands for those who wish to use it

Josh


My System SpecsSystem Spec
Comment

 IPv6 Temporary Address - Enable or Disable




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
How to specify an IPv6 address for a DNS server?
I want to use an IPv6-only connection to Internet so I have to specify the Google public DNS as the DNS server. How can I do so? When entering an IPv6 address in the DNS server settings, it says "incorrect IP address".
Network & Sharing
Breaking down an IPv6 address: What it all means
Breaking down an IPv6 address: What it all means - TechRepublic
Network & Sharing
Cannot ping ipv6 address on Win7, but can on Win8..
I did a fresh install of Windows 8 on the exact same PC, and I am able to ping an IPv6 address.. On a fresh Windows 7 install, I cannot ping an IPv6 server, I always get "Request timed out." However on Windows 8, after a while that I've booted up my PC, I can no longer ping IPv6 servers.. It...
Network & Sharing
Firefox AutoComplete in Address Bar - Enable or Disable
How to Enable or Disable AutoComplete in Firefox AutoComplete (automatic text completion) or inline AutoComplete is a feature that automatically appends the suggested text to the words as you are typing in the Firefox address bar. It tries to guess and finish what it thinks you are typing for...
Tutorials
How to Enable or Disable Deleting Temporary Files
I need help on one of our computers, I have windows 7 home premium, and I am trying to disable deleting temporary files. Can you please help me on this? I have tried through regedit, under HKey_Current_User under Software/Policies/Microsoft/Internent Explorer/ControlPanel, it is set to 1. It is...
Browsers & Mail
IPv6 and static IPv4 address
Hi, I like to know whether is Windows 7 has a bug on IPv6 and IPv4. If I left IPv6 setting on on my NIC adaptor, I am unable to keep my own static IPv4 address after I config it and I restart my PC. On the other hand, I switched IPv6 off on my NIC, then I am enable to set up my own static IP...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App