Explore & discover

Helpful Links

AT&T Global network client command line parameters

Employee

AT&T Global network client command line parameters

Command-line Parameters

This program accepts the following command-line parameters:

netclient.exe [-connect] [-login=LoginProfile] [-password=Password] netclient.exe [-login=LoginProfile] [-password=Password] netclient.exe [-exit | -exitnow] netclient.exe [-disconnect | -disconnect] netclient.exe [-help] netclient.exe [-initonly] netclient.exe [-vpnpassword=password] netclient.exe [-password=Password] netclient.exe [-timeout=[IdleTime] [,[DurationTime] [,[ThresholdTime] [,[ThresholdBytes] [,WarnTime]]]]]

 

-connect

Displays the Login window and starts a connection if the password is saved or if the password is entered as a command-line parameter (-password).

-disconnect

Disconnects after prompting for confirmation if necessary.

-disconnectnow

Disconnects with no confirmation.

-exit

Closes this program and prompts for confirmation before disconnecting if necessary.

-exitnow

Closes this program with no confirmation before disconnecting.

-getstatus

Returns a code to indicate the state of this program. This parameter is only useful when invoked from a program that can interpret the return code.

-help

Displays this help window.

-initonly

Initializes the database after a new install and then exits.

-login=LoginProfile

The specified LoginProfile is made the current login profile. If LoginProfile contains spaces it should be enclosed in double-quotes (for example: -login="my Internet login").

-vpnpassword=password

This parameter allows you to pass the VPN password in on the command line for CDA connections.

-password=Password

Sets the password for the current login profile, as if Password was entered on the Login window.

-timeout

Changes the timeout properties. Five separate parameters may be included an idle time, a duration time ,a threshold time, threshold bytes and a timeout warning time. All of the times are in seconds. See Timeout Options for a description of these options. Any of the five parameters can be left empty to indicate no change or set to zero to disable the timeout. Invalid values will be ignored. Idle timeout can range from 60 seconds to the maximum defined for your user ID on the network. The following are examples:

Examples

netclient.exe -timeout=,,,,0

Leave the idle and duration timeouts unchanged but disable the timeout warning.

netclient.exe -timeout=120,,,,60

Disconnect after 2 minutes of inactivity and display a warning 1 minute before disconnecting.

 

Note: Some of these parameters can be combined on the same command-line (for example 'netclient.exe -connect -login="my Internet login"'.

Status Codes Returned By GetStatus

 NotRunning  0  Initializing  100  NotConnected  200  BeforeConnecting  300  BeforeConnectAttempt  350  VerifyExistingInternetConnection  370  VerifyExistingProxyConnection  375  BeforeDialing  400  Dialing  500  AuthenticatingDial  600  AfterDialing  700  BeforeCellularSDKConnect  710  ConnectingCellularSDK  712  AuthenticatingCellularWIG  714  AfterCellularSDKConnect  716  BeforeWiFiConnect  720  ConnectingWiFi  730  AuthenticatingWiFi  740  AfterWiFiConnect  750  BeforeEthernetConnect  756  AuthenticatingEthernet  758  AfterEthernetConnect  760  PauseWhileConnectingForTesting  765  Phase1Authenticate  770  NoPhase1OrPhase2Needed  780  BeforeTunneling  800  Tunneling  900  AuthenticatingTunnel  1000  AfterTunneling  1100  AfterConnecting  1200  ConnectedNoVPN  1250  ReattachingToVPNServer  1270  AfterReattachingToVPNServer  1275  Connected  1300  BeforeDisconnecting  1400  Disconnecting  1500  AfterDisconnecting  1600  Disconnected  1700  Exiting  1800
*I am an AT&T employee, and the postings on this site are my own and don't necessarily represent AT&T's position, strategies or opinions.
Tags (3)
5,591 Views
Message 1 of 1
Share this topic
Share this topic
Announcements

Check out our AT&T Business Instagram page by visiting us HERE. Don’t forget to follow for updates and insights!

Additional Support