K-Secure VPN Client K-Secure VPN Server
Introduction
Installation
Quick Start Tutorial
How It Works
Working with the Client
VPN Client Overview
Client Status
Servers
Peers
Connections
History
Options
Options
Command Line Options
How To ...
Import Configuration
Start and Stop
Uninstall
Use the Service Control Manager
Use ipconfig
Tech Support
Purchasing and Licensing Agreements
How to Order
License

Command Line Options

K-Secure VPN Client has a number of command line options to help automate its use in either batch files or from the command prompt.

KsVpn.exe [options]

Service Control Options
  • -s : start the service
  • -t: stop the service
  • -i: install the service
  • -u: uninstall the service
  • -x: stop the service and kill all UI instances

Other Options

The following options can also be set from the command line.
  • --DisableSkin=<true|false>
    Use the traditional look and feel;
  • --HideTrayBalloon=<true|false>
    Suppress the tray balloon from showing up;
  • --HideTrayIcon=<true|false>
    Hide the icon in task bar notification area;
  • --HideUI=<true|false>
    Prevents the user interface from being launched when service is started;
  • --NoWarnOnClearLogs=<true|false>
    Suppress the warning message when cleaning the logs (resetting history data);
  • --NoWarnOnDeleteRules=<true|false>
    Suppress the warning message when deleting rules;
  • --DontAutoSyncLog=<true|false>
    Controls whether the history list view shall pull the latest events automatically;
  • --export[=<ini-filename>]
    Export all configuration data (Options, Groups, Users and Rules) into the ini-filename. If no ini-filename is specified, exports to KsVpn.ini (located in the same directory of KsVpn.exe);
  • --import[=<ini-filename>]
    Import all configuration data (Options, Groups, Users and Rules) from the ini-filename. If no ini-filename is specified, imports from KsVpn.ini (located in the same directory of KsVpn.exe);