Internet Settings
To disable annoying internet security on newly built windows servers like server 2016:
- Go to server manager
- Select the local server in left menu
- Select "IE Enhanced Security Configuration" and set to off for the user groups you need.
- Select the local server in left menu
Enable/Disable proxy settings in internet settings
If environment has wpad configured then you can prevent this from being applied by disabling the "automatically detect settings" in internet settings LAN settings:
# Path to the registry key for Internet Settings
$regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings";
# Set the value for "AutoDetect" to disable "Automatically detect settings"
Set-ItemProperty -Path $regPath -Name AutoDetect -Value 0
#set 0 to disable, 1 to enable.
#one liner:
$regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings";Set-ItemProperty -Path $regPath -Name AutoDetect -Value 0