Experience Center
Interacting with Zscaler Client Connector Remotely
This feature is available only for Zscaler Client Connector version 4.4 and later for Windows.
You can use a CLI to interact with Zscaler Client Connector remotely to view the status of services. You can also enable or disable the Private Applications service. This feature is useful if you must interact with services on behalf of users (for example, an outage requires you to disable Private Applications for all users).
Enabling the CLI
To enable the CLI:
- In the Admin Portal, go to Infrastructure > Connectors > Client.
- Under Platform Settings, select Windows and click Add Windows Policy.
- In the Command Line Interface Access section, enable the Command Line Interface.
(Optional) In the Disable Services section, enable Disable ZPA Password to require a password when disabling the Private Applications service using the CLI.
If enabled, a Generate ZPA Disable Password option appears.
The Private Applications service is the only service that can require a password. The Internet & SaaS and Digital Experience Monitoring services cannot require a password.
Using the CLI
To use the CLI:
- Start a command prompt as an administrator.
- Use one of the following file paths, depending on your Windows system version:
- For 64-bit:
C:\Program Files\Zscaler\ZSACli\ZSACli.exe
<command>
- For 32-bit:
C:\Program Files (x86)\Zscaler\ZSACli\ZSACli.exe
<command>
- For 64-bit:
Replace
<command>
with one of the following commands and pressEnter
.Command Result Notes enable -s zpa
Turn on Private Applications. If you are enabling Private Applications for a partner tenant, add
-u
<partner username>
afterzpa
.Can be run five or fewer times per minute.
disable -s zpa
Turn off Private Applications. If you enabled Disable ZPA Password and generated a password in app profiles, add
-p
<disable password>
afterzpa
.Example:
ZSAcli.exe disable -s zpa -p
<disable password>
Can be run three or fewer times per minute.
status -s
<service>
Display the status in a JSON format of the entered service, or for all services if you enter all
.Possible values for
<service>
:zia
zpa
zdx
deception
zep
all
help
Displays help information about the CLI arguments. N/A If a message displays indicating that the CLI is disabled from the policy, enable the Command Line Interface option in the app profile.