Forum Discussion
Script to Disable IPv6
We have an Intune setup and I've done some research on disabling IPv6. However it seems to be failing on the test computer we pushed it out too. I thought it would push a registry edit change but it seems to be failing in InTune.
Has anyone had any luck disabling IPv6 via Intune? Right now were having to manually disable it.
Powershell Script:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" -Name "DisabledComponents" -Value 0xFFFFFFFF
4 Replies
- MsudCopper Contributor
Disable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6
- Garth-MVPIron Contributor
Exactly what error are you getting when you apply this?
- TechHelp76Copper Contributor
That's the thing, it doesn't give an error but if you look at the report in Intune it shows "Failed".
I can supply a screenshot but I do not see the exact error.
- Garth-MVPIron Contributor
Add logging to the script and review this log.