Bitsadmin /util /setieproxy
Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Vista
Set proxy settings to use when transferring files using a service account.
Syntax
bitsadmin /Util /GetIEProxy <Account> <Usage>[/Conn <ConnectionName>]
Parameters
Parameter | Description |
---|---|
Account |
Specifies the service account whose proxy settings you want to retrieve. Possible values are:
|
Usage |
Specifies the form of proxy detection to use. Possible values are:
|
ConnectionName |
Optional—used with the /Conn command to specify the use of a modem connection. If you do not specify the /Conn command, BITS uses the LAN connection. Specify the modem connection name immediately following the /Conn parameter. |
Remarks
Each successive call using this command replaces the previously specified usage but not the parameters of the previously defined usage. For example, if you specify NO_PROXY, AUTODETECT, and MANUAL_PROXY on separate calls, BITS uses the last supplied usage but keeps the parameters from the previously defined usage.
Important
You must run this command from an elevated command prompt for it to complete successfully.
Examples
The following example sets the proxy usage for the NETWORK SERVICE account.
C:\>bitsadmin /Util /SetIEProxy localsystem AUTODETECT