K-Secure VPN Client K-Secure VPN Server
Introduction
Installation
Quick Start Tutorial
How It Works
Release Notes
Working with the Client
VPN Client Overview
Client Status
Servers
Peers
Connections
History
Options
General
Connections
History
Languages
Look and Feel
Warnings
Command Line Options
How To ...
Import Configuration
Start and Stop
Uninstall
Using Service Control Manager
Using 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

The options listed above may be combined together so multiple operations are carried out in a single command. For example, the command "KsVpn.exe -istu" will cause the service to be installed, started, stopped and then uninstalled (not very practical, but serves as a good example).

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;
  • --NoWarnOnResetHistory=<true|false>
    Suppress the warning message when clearing history;
  • --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);