Command Line Options
K-Secure VPN ™ Server has a number of command line options to help automate its use in either batch files or from the command prompt.
KsVpnSvr.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 "KsVpnSvr.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 KsVpnSvr.ini (located
in the same directory of KsVpnSvr.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 KsVpnSvr.ini (located
in the same directory of KsVpnSvr.exe);
- --ExportConfig=<Username>
Exports the configuration for Username into Username.kvr; Username is case
sensitive;
If Username exists and the export is successful, you will see Username.kvr in the
current directory;
|