- Documentation
- WuInstall
Proxy Options
/disable_winhttp_proxy
Disables the WinHTTP proxy for the run. To do so, WuInstall deletes the registry value WinHttpSettings in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections and restores it after the run.
/disable_internet_proxy
Disables the WinINet (Internet Options) proxy for the run and enables it again afterwards. If no proxy is set, WuInstall changes nothing. From WuInstall 3.0.2 on, the settings come back exactly as they were, including "Automatically detect settings" and the setup script (PAC); WuInstall 3.0.0 and 3.0.1 restored a plain manual proxy only, and WuInstall 2.9.x did not restore it.
/proxyauto
If this option is set, the web proxy settings will be detected automatically, and /proxyaddress, /proxyuser and /proxypass are ignored.
/proxyaddress "address:port"
Sets the address and the decimal port number of the proxy. From WuInstall 3.0.3 on, the proxy settings are handed to the Windows Update session, as in 2.9.x. The proxy is not enforced: with a proxy address that does not exist, WuInstall 2.9.7 and 3.0.2 still searched and downloaded (tested), so do not rely on these switches to route or block Windows Update traffic.
/proxyuser "username"
Sets the user name to submit to the proxy server for authentication. Only used together with /proxyaddress.
/proxypass "password"
Sets the password to submit to the proxy server for authentication. Only used together with /proxyaddress; add /masksensitivedata to keep it out of the log and the XML report. WuInstall 2.9.x masks it only when it is written as /proxypass password; WuInstall 3 masks every spelling, also in an /options file. With /rebootcycle, WuInstall 3.0.5 and later keep the password out of the scheduled task for the next run (3.0.0 to 3.0.4 stored it there in clear text) — see Reboot / Shutdown Options.
WuInstall 3 also accepts the spellings /proxy_auto, /proxy_address, /proxy_user and /proxy_pass shown in its built-in help. In WuInstall 2.9.x these spellings return exit code 7 — use the ones above.