File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,3 +188,16 @@ if ($userinput -eq 'y' -or !$userinput) {
188188 Set-ItemProperty - Path $tele.registry.Path [$i ] - Name $tele.registry.Name [$i ] - Value $tele.registry.Value [$i ] - Type $tele.registry.Type [$i ]
189189 }
190190}
191+
192+
193+ if ($AcceptAllTweaks ) {
194+ $userinput = ' y'
195+ } else {$userinput = Read-Host - Prompt " Do you want to disable IPv6? (Not Recommended Unless It's Causing Problems) (y/N)" }
196+ if ($userinput -eq ' y' -or ! $userinput ) {
197+ $IPv6 = Get-Content $configdir \disable_ipv6.json | ConvertFrom-Json
198+
199+ for ($i = 0 ; $i -lt $Registry.Count ; $i ++ ) {
200+ Set-ItemProperty - Path $IPv6.registry.Path [$i ] - Name $IPv6.registry.Name [$i ] - Value $IPv6.registry.Value [$i ] - Type $IPv6.registry.Type [$i ]
201+ }
202+ Disable-NetAdapterBinding - Name " *" - ComponentID ms_tcpip6
203+ }
You can’t perform that action at this time.
0 commit comments