OS commands for the CylanceOPTICS agent
CylanceOPTICS
agentThe
CylanceOPTICS
agent installer supports the following OS commands.Windows
Windows
Actions | Commands |
---|---|
Specify the installation directory. | INSTALLFOLDER= <path> |
Specify the directory for the local CylanceOPTICS data store. | OPTICSROOTDATAFOLDER= <path> |
Perform a silent installation with no user action required. | For the .exe package, use any of the following:
For the .msi package, use either of the following:
|
Create an installation log file. | For the .exe package, use either of the following:
For the .msi package, use either of the following:
|
Disable proxy bypass for the CylanceOPTICS agent (.msi package only). | Use this option if you want the CylanceOPTICS agent to always use a specified proxy connection to the CylanceOPTICS cloud services. This is optional in most environments but required if you are using CylanceHYBRID .Before you execute the installer with the command below, create the ProxyServer registry key on the device. See Configuring a proxy for the CylancePROTECT Desktop and Cylance OPTICS agents. If you are using CylanceHYBRID , see the Windows setup instructions in the CylanceHYBRID Administration Guide and create the ProxyServer registry key with the required value for CylanceHYBRID .After you create the ProxyServer registry key on the device, use the following command when installing the agent: HYBRID=True The installer creates the DisableProxyBypass registry key on the device with the value set to True. For more information, see Proxy options for the CylanceOPTICS agent. If the command is set to False , the installer does not create the registry key. |
Uninstall the CylanceOPTICS agent. | " <CylanceOPTICS_program_directory> \CyOpticsUninstaller.exe"For example: "C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe" To perform a silent uninstall that doesn't require user interaction, add the following commands: --use_cli -t v20 If you configured the CylanceOPTICS agent to require an uninstall password, add the following command: --password <password> For example: "C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe" --use_cli -t v20 --password samplepass |
macOS
macOS
Action | Commands |
---|---|
Install the CylanceOPTICS agent. | sudo installer -pkg CylanceOPTICS.pkg -target / |
Install the CylanceOPTICS agent and create an installation log file. | sudo installer -verboseR -dumplog -pkg CylanceOPTICS.pkg -target / |
Disable proxy bypass for the CylanceOPTICS agent | Use this option if you want the CylanceOPTICS agent to always use a specified proxy connection to the CylanceOPTICS cloud services. This is optional in most environments, but required if you are using CylanceHYBRID .Before you install the CylanceOPTICS agent, follow the instructions in Cylance Endpoint Security proxy requirements to configure proxy bypass for macOS devices. |
Start the CylanceOPTICS service. | sudo launchctl load /Library/LaunchDaemons/com.cylance.cyoptics_service.plist |
Stop the CylanceOPTICS service. | sudo launchctl unload /Library/LaunchDaemons/com.cylance.cyoptics_service.plist |
Uninstall the CylanceOPTICS agent. | sudo /Applications/Cylance/Optics/Uninstall\ CylanceOPTICS.app/Contents/MacOS/Uninstall\ CylanceOPTICS |
Uninstall the CylanceOPTICS agent with no UI. | sudo /Applications/Cylance/Optics/Uninstall\ CylanceOPTICS.app/Contents/MacOS/Uninstall\ CylanceOPTICS --noui If you want to use this command, additional actions are required on macOS 11.x devices. For more information, see the troubleshooting section in the Cylance Endpoint Security Administration content. |
Linux
Linux
Action | Commands |
---|---|
Install the CylanceOPTICS agent on RHEL/CentOS, SUSE, or Amazon Linux 2. | yum install CylanceOPTICS- , where <version> .rpm<version> is the version of the .rpm file. |
Install the CylanceOPTICS agent on Ubuntu . | dpkg -i cylance-optics_ , where <version> _amd64.deb<version> is the version of the .deb file. |
Start the CylanceOPTICS service. | systemctl start cyoptics.service |
Stop the CylanceOPTICS service. | systemctl stop cyoptics.service |
Uninstall the CylanceOPTICS agent on RHEL/CentOS, SUSE, or Amazon Linux 2. | rpm -e CylanceOPTICS |
Uninstall the CylanceOPTICS agent on Ubuntu . | dpkg -P cylance-optics |