shell-things/Windows/IPv6-no_privacy.bat

9 lines
396 B
Batchfile

echo off
echo Disable IPv6 privacy extensions? Recommended for servers and other static devices.
pause
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent
netsh interface ipv6 set privacy state=disabled store=active
netsh interface ipv6 set privacy state=disabled store=persistent
pause
echo on