How to use WuInstall with a proxy server?
- When using a proxy that requires authentication, the user who runs WuInstall must be allowed to access the internet through the proxy.
- When you use a WSUS and a proxy, put the WSUS on the proxy exception list, so that the WSUS is reached directly and not through the proxy.
To set a proxy for the WuInstall run, use these switches:
/proxyaddress address: address and port number of the proxy server/proxyuser userand/proxypass password: credentials for a proxy that requires authentication (only together with/proxyaddress)/proxyauto: detect the proxy settings automatically (the other proxy switches are then ignored)
WuInstall hands these settings to the Windows Update session, but they are not enforced: where Windows Update can reach the internet without the proxy, it still searches and downloads, even with a proxy address that does not exist.
These spellings without an underscore work in WuInstall 2.9.x and WuInstall 3. The spellings /proxy_address, /proxy_user, /proxy_pass and /proxy_auto shown in the built-in help work in WuInstall 3 only; WuInstall 2.9.x rejects them with exit code 7.
The proxy user name and password are written to the log and the XML report. Add /masksensitivedata to mask them: WuInstall 3 masks every spelling, also in an /options file; WuInstall 2.9.x masks only /proxyuser and /proxypass followed by a blank.
👉 See also: Proxy Options