Installing TrustServer on Windows
This article will discuss a typical installation and initial setup of an administrator account for the server side of TrustViewerPro – TrustServer in the Windows operating system. TrustServer can work both in the line of desktop Windows systems, and on server versions of Windows Server. The installation and configuration process is almost the same.
We will install it on the newly installed Windows 10.
First, download the distribution kit of the TrustViewerPro software package, which contains the necessary TrustServer files. The current version is located on the developer’s website at the link:
http://pro.trustviewer.com/file/TrustViewerPro-en.7z
The distribution kit of the software package comes in a .7z archive, so we need to download and install the 7-Zip archiver available on the developer’s website www.7-zip.org.
Unpack the archive with the TrustViewerPro distribution:

After that, go to the folder where the TrustServer executable file we need is located, in our case it is C:\Download\TrustViewerPro-en\Server\Windows\

Let’s copy the TrustServer executable file to the clipboard by right-clicking on it and selecting the “Copy” line in the drop-down menu.
Next, we will create a folder on the disk where the TrustServer working files will be located and paste the copied executable file there.
In our example, we created the TrustServer folder on the C:\ drive and copied the TrustServer file there.

Now let’s move on to configuring the launch of TrustServer.
It should be noted that TrustServer is not a Windows service. It is a program that runs in the background on behalf of the system or as a user. Therefore, automatic start at system boot can be carried out both by the system itself and using third-party applications or scripts.
Let’s consider the simplest way to configure server autorun using the Task Scheduler console included in Windows 10. For previous versions of Windows, the console interface and task windows may differ, but to understand the principle, the example below will be enough to figure it out.
Let’s go to Start -> Windows Administrative Tools -> Task Scheduler.

Or, you can start Task Scheduler from the command line by running the taskschd.msc command.
To do this, press the key combination Windows+R, in the window that opens, type “taskschd.msc”, press “OK”.

In the console that opens, select “Create task”. In our example, a task will be created that will be executed at computer startup for all users.

In the task settings window that opens, in the “General” tab, set the task name. The name can be any name of your choice. We put a checkbox in the “Run with highest privileges” item so that TrustServer is launched with administrator rights.

Next, go to the “Triggers” tab and configure the server start event. To do this, press the “New…” button.

In the window that opens, in the drop-down list, select the task launch event “At startup” and make sure that the “Enabled” checkbox is checked:

Now go to the “Actions” tab. In this tab, click the “New…” button and set the server startup parameters:

In the drop-down list, select the action “Start a program”.
Next, click “Browse…” and specify the path to our TrustServer. In our case, select the server file from the folder we created earlier: C:\TrustServer\TrustServer.exe
Then we set the server startup arguments:
start -port 8443 -pass 123456
here:
start – server start command
-port 8443 – is the port number on which the server management console will be available. The port number 8443 is shown as an example, you can specify any non-reserved port. Remember to make sure the port is open in the firewall. You can also omit the “-port” argument at all, then TrustServer will control connections on the default port “443”. Attention! If you use the https protocol, then you need to set the argument “-port” other than the value 443, otherwise access to the TrustServer management console will not be available.
-pass 123456 – sets the temporary root password for the first login.
In the same window, in the “Start in (optional):” field, specify the working folder where the files and folders created by TrustServer will be stored. In our case, this is the folder with the location of the server executable file C:\TrustServer\

To save the action, press the “OK” button and see the result:

Next, go to the “Conditions” tab and uncheck the “Start the task only if the computer is on AC power” option:

Go to the “Parameters” tab and configure additional parameters for performing tasks:

In this tab, check the options:
– “Allow task to be run on demand”
– “Run task as soon as possible after a scheduled start is missed”
– “If the task fails, restart every:”. The restart time and the number of restart attempts can be left by default or set to your convenience.
We leave unchecked the “Stop the task if it runs longer than:” option, since we need the server to work constantly.
Leave unchecked the “If the running task does not end when requested, force it to stop” parameter. You can check this item with a checkbox if there is a need to manually stop the task, but for some reason manual stop does not complete the task.
Be sure to leave unchecked the option “If the task is not scheduled to run again, delete in after:”. We need the task not to be deleted and to run TrustServer every time the system starts.
For the parameter “If the task is already running, then the following rule applies:” we leave the item “Do not start a new instance” so as not to start parallel processes “TrustServer” and eliminate their conflicts.
When everything is ready and all the task settings have been made, press the “OK” button. The task is set up. Find our task, view its status, change, etc. you can in the “Task Scheduler Library”:

To check the completion of the created task, restart the computer and check the task status in one of the following ways:
– check the “TrustServer.exe” process in the task manager;
– open the TrustServer management console page in the browser;
– look at the column “Last Run Result” in the task scheduler. If the task is successfully completed, it should say “The operation completed successfully. (0x0)”.
After making sure that TrustServer is running, go to the server management console using the browser at:http://your domain:8443/admin
Instead of “your domain”, enter the name of the local computer on which TrustServer is running, or the IP address at which the server is available. If you changed the port number, then instead of the value “8443” specify your value.
On the page that opens, in the “Username” field, indicate “root”, in the “Password” field – the temporary password that we specified when we first started from the console.

Click “Login” and, if everything is entered correctly, go to the management console and go to the “Users” tab:

After successfully logging into the TrustServer management console, go to the “Users” tab, click the “Add” button and create a TrustServer administrator account with maximum rights.
To do this, fill in the fields:
Username (English only)
Display name
Full name
Password.
In the “Authorization” field, be sure to set the rights “Super admin”

We save the account with the “Save” button and exit the console by clicking the “Logout” link in the upper right corner.
Attention! After creating a server administrator account, a temporary account with the “root” login is blocked and subsequent authorizations must be carried out with a new account.
This completes the installation of the TrustServer server. Further configuration of TrustServer takes place directly in the management console under an account with super administrator rights.
Discuss the article on the forum
Full or partial copying and publication of materials is allowed with a mandatory link to this article.