AutomoxAutomox

Worklet - Disable IPv6 (Windows)

vienna
April 14, 2021 at 3:39 pm UTC

Hi all,

We disable IPv6 in our environment and thought I’d share a quick worklet to disable this.

Evaulation:

exit 1

Remediation:

powershell5 lines
Get-NetAdapter | foreach { Disable-NetAdapterBinding -InterfaceAlias $_.Name -ComponentID ms_tcpip6 }

Write-Output "Disabled IPv6, running check to report new status"

Get-NetAdapterBinding -ComponentID ms_tcpip6 | select-object Enabled

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (1)

trillyApril 15, 2021
#1

We disabled IPv6 2-3 years back and ended up switching it back on. Created some unexpected and unwanted behaviour. It may and likely to have changed now but for anyone considering undertaking this be sure you know what it is you are doing other than simply disabling IPv6.

Old post in Spiceworks on the subject