We are pleased to provide you with a comprehensive set of command-line tools designed to enhance the flexibility and efficiency of our software. These tools enable users to script and automate various functionalities, tailoring the software to meet their specific needs and workflows.
Explore the possibilities and optimize your experience with our command-line options.
You only have to run the following command lines as an elevated Administrator. As a reminder, TSplus-Security.exe is located in the following folder C:\Program Files (x86)\TSplus-Security by default.
To perform operation on licenses, please replace the program AdminTool.exe presented in the following documentation by the TSplus-Security.exe program located in Advanced Security setup directory (usually C:\Program Files (x86)\TSplus-Security).
/proxy /set
TSplus-Security.exe /proxy /set [parameters]
Command /proxy /set
is used to configure a proxy server for Internet access.
/host
: the destination host can be a predefined value ("ie" or "none") or a user-defined value (e.g: 127.0.0.1 or proxy.company.org). This parameter is mandatory/port
: the port number used to connect to the proxy server. Required if the hostname value is a custom user-defined value./username
: the username to connect to the proxy server. This setting is optional/password
: the user's password must be supplied if a username has been defined. However, its value can be emptyTSplus-Security.exe /proxy /set /host proxy.company.org /port 80 /username dummy /password pass@word1
TSplus-Security.exe /proxy /set /host ie
For more information, please go to How to configure a Proxy Server for Internet Access?
/backup
TSplus-Security.exe /backup [DestinationDirectoryPath]
Command /backup
is used to backup TSplus Advanced Security data and settings.
By default, the backup will be created in the archives directory located in Advanced Security setup directory (e.g.: C:\Program Files (x86)\TSplus-Security\archives).
DestinationDirectoryPath
: to backup in another directory than the default one. Relative and absolute paths are allowed.TSplus-Security.exe /backup
TSplus-Security.exe /backup "C:\Users\admin\mycustomfolder"
For more information, please go to Advanced - Backup and Restore
/restore
TSplus-Security.exe /restore [Backup Directory Path]
Command /restore
is used to restore TSplus Advanced Security data and settings.
The specified backup directory path must be created by the /backup command or from the Backup feature from the aplication.
Backup Directory Path
: the path where is located the backup directory to restore.TSplus-Security.exe /restore "C:\Program Files (x86)\TSplus-Security\archives\backup-2025-03-11_21-45-51-setup" /silent
For more information, please go to Advanced - Backup and Restore
/unblockall
TSplus-Security.exe /unblockall
Command /unblockall
is used to remove all blocked IP addresses from TSplus Advanced Security's firewall and unblock them from Microsoft Windows Defender firewall if required.
TSplus-Security.exe /unblockall
For more information, please go to Firewall
/unblockips
TSplus-Security.exe /unblockips [IP addresses]
Command /unblockips
is used to remove all specified blocked IP addresses from TSplus Advanced Security's firewall and unblock them from Microsoft Windows Defender firewall if required.
This command has no effect on IP addresses already blocked by Hacker IP protection. If you still want to unblock one of these addresses, please use the whitelist command.
IP addresses
: the list of ip addresses or ip ranges to unblock (coma or semicolon separated).TSplus-Security.exe /unblockips 1.1.1.1;2.2.2.2;3.3.3.1-3.3.6.12;5.5.5.5
For more information, please go to Firewall
/blockips
TSplus-Security.exe /blockips [IP addresses] [Optional Description]
Command /blockips
is used to block all specified IP addresses using TSplus Advanced Security's firewall and block them using Microsoft Windows Defender firewall if configured.
IP addresses
: the list of ip addresses or ip ranges to block (coma or semicolon separated).Optional Description
: an optional description which will be added for each entry.TSplus-Security.exe /blockips 1.1.1.1;2.2.2.2;3.3.3.1-3.3.6.12;5.5.5.5 "John's workplaces"
For more information, please go to Firewall
/addwhitelistedip
TSplus-Security.exe /addwhitelistedip [IP addresses] [Optional Description]
Command /addwhitelistedip
is used to add specified IP addresses to the authorized IP addresses of TSplus Advanced Security's firewall and unblock them from Microsoft Windows Defender firewall if required.
IP addresses
: the list of ip addresses or ip ranges to whitelist (coma or semicolon separated).Optional Description
: an optional description which will be added for each entry.TSplus-Security.exe /addwhitelistedip 1.1.1.1;2.2.2.2;3.3.3.1-3.3.6.12;5.5.5.5 "John's workplaces"
For more information, please go to Firewall
/whitelist
TSplus-Security.exe /whitelist add [Authorized Paths]
Command /whitelist add
is used to add specified program paths and directory paths to the authorized list of TSplus Advanced Security's Ransomware Protection.
Authorized Paths
: the list of program paths and directory paths to add to TSplus Advanced Security's Ransomware Protection authoriaztion list (semicolon separated).TSplus-Security.exe /whitelist add "C:\Windows\notepad.exe;C:\Program Files (x86)\Tsplus\Client\webserver"
For more information, please go to Ransomware Protection Action
/refreshipprotection
TSplus-Security.exe /refreshipprotection
Command /refreshipprotection
is used to refresh the list of blocked IP ranges for the Hacker IP protection feature. Support and Updates Services subscription is required.
TSplus-Security.exe /refreshipprotection
For more information, please go to Hacker IP Protection
/setloglevel
TSplus-Security.exe /setloglevel [Log Level]
Command /setloglevel
is used to set the log level for all Advanced Security's components.
Log Level
: the log level among the following values : ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFFTSplus-Security.exe /setloglevel ALL
For more information, please go to Advanced > Logs
/addtrusteddevices
TSplus-Security.exe /addtrusteddevices [Trusted Devices Configuration]
Command /addtrusteddevices
is used to add trusted devices programmatically. Requires Ultimate edition.
Trusted Devices Configuration
: The argument is composed of a list of trusted devices (semicolon separated), structured as follows:Username and Devices are separated by the colon character (,).
Username Details:
User Type and Full Username are separated by the colon character (:). Accepted user types are "user" and "group".
Optional Keyword "disabled": if included, the trusted devices will be created, but restrictions will be disabled for this user. If not mentioned, restrictions are enabled by default.
Device Details:
Device Name and Optional Comment: separated by the equal sign character (=).
Devices are separated by the colon character (:).
TSplus-Security.exe /addtrusteddevices "user:WIN-A1BCDE23FGH\admin:disabled,device1name=this is a comment for device 1:device2name:device3name;user:DESKTOP-A1BCDE23FGH\johndoe,device1name:device4name=another comment;group:DESKTOP-A1BCDE23FGH\Administrators:disabled,device5name"
For more information, please go to Trusted Devices
/enabletrusteddevices
TSplus-Security.exe /enabletrusteddevices [User or Groups]
Command /enabletrusteddevices
is used to enable all configured trusted devices for the specified users and groups.
User or Groups
: The argument is a list of users and groups (semicolon separated). Within the username, the separation between the user type ("user" and "group" are the only accepted values) and the full username is done by a colon.TSplus-Security.exe /enabletrusteddevices "user:WIN-A1BCDE23FGH\admin;user:DESKTOP-A1BCDE23FGH\johndoe;group:DESKTOP-A1BCDE23FGH\Administrators"
For more information, please go to Trusted Devices
/disabletrusteddevices
TSplus-Security.exe /disabletrusteddevices [User or Groups]
Command /disabletrusteddevices
is used to disable all configured trusted devices for the specified users and groups.
User or Groups
: The argument is a list of users and groups (semicolon separated). Within the username, the separation between the user type ("user" and "group" are the only accepted values) and the full username is done by a colon.TSplus-Security.exe /disabletrusteddevices "user:WIN-A1BCDE23FGH\admin;user:DESKTOP-A1BCDE23FGH\johndoe;group:DESKTOP-A1BCDE23FGH\Administrators"
For more information, please go to Trusted Devices
/setup-driver
TSplus-Security.exe /setup-driver
Command /setup-driver
installs the Ransomware Protection driver. This operation is normally perfomed during installation.
TSplus-Security.exe /setup-driver
For more information, please go to Ransomware Protection
/uninstalldriver
TSplus-Security.exe /uninstalldriver
Command /uninstalldriver
uninstall the Ransomware Protection driver. This operation is normally perfomed during Advanced Security uninstallation.
TSplus-Security.exe /uninstalldriver
For more information, please go to Ransomware Protection