8,330 questions
Hello CorsaroDelVento
Here's a script that should accomplish what you're looking for:
Function Set-ProxySettings {
# Set "Automatically detect settings"
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 0
# Disable "Use setup script"
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyAutoConfigURL -Value ""
# Disable "Use a proxy server"
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer -Value ""
}
Set-ProxySettings