S
s31064-ics
I have about 50 Server 2016 VMs I need to set a proxy on. Now I know I can do it for specific users with registry settings like this:
Powershell
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 1
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer -Value $Proxy":"$Port
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride -Value "<local>;*.domain.com"
and replacing HKCU with HKU:\<User SID> but if someone logs in for the first time after that, they won't get the proxy settings. I've been told (and tried) to put the settings in HKU:\.DEFAULT and HKU:\S-1-5-18, neither worked. I even tried creating the keys in HKLM:, to no avail. How can I set/create default proxy settings for a system?
Continue reading...
Powershell
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 1
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer -Value $Proxy":"$Port
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride -Value "<local>;*.domain.com"
and replacing HKCU with HKU:\<User SID> but if someone logs in for the first time after that, they won't get the proxy settings. I've been told (and tried) to put the settings in HKU:\.DEFAULT and HKU:\S-1-5-18, neither worked. I even tried creating the keys in HKLM:, to no avail. How can I set/create default proxy settings for a system?
Continue reading...