Windows 11 - How to permanently disable temporary IPv6 address

Barungar 15 Reputation points
2023-04-03T07:48:10.16+00:00

Hi,

I need some hints or help. I've tried to permanently disable the use of IPv6 temporary addresses on my Windows 11 computer. Both methods I tried only work for the next system start. With following starts having those IPv6 temporary address being enabled again.

Using PowerShell I tried:

Set-NetIPv6Protocol -UseTemporaryAddresses Disable

Using CMD with netsh I tried:

netsh interface ipv6 set privacy state=disabled store=persistent

The PowerShell or CMD were run with elevated (admin) rights. None returned an error. Sadly the result stays the same. After rebooting temporary IPv6 addresses are disabled. With the following reboot they are back again.

How do I get a persistent / permanent removal of IPv6 temporary addresses?

Thanks,

Barungar

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,346 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,585 questions
0 comments No comments
{count} vote

6 answers

Sort by: Most helpful
  1. Roland Schweiger 0 Reputation points
    2024-08-11T17:32:45.97+00:00

    thanks for the reply, unfortunately does not work for me. The only commands that work are the 2 powershell commands:

    Set-NetIPv6Protocol -RandomizeIdentifiers Disabled

    Set-NetIPv6Protocol -UseTemporaryAddresses Disabled

    but they only work for the current session. After every reboot, privacy-extensions are enabled again and i get random temporary ipv6 addresses.

    This is driving me bananas .....

    Also tried enabling the true "Administrator" account in windows11 and entering all the commands there, no luck ...

    but thanks for the help anyway.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.