Activating Products Silently
AdminStudio supports silent activation, enabling you to use public Windows Installer properties to enter the activation code automatically during installation.
To enable silent activation, you need to set the following public Windows Installer properties.
-
PRODUCTID property—Set the
PRODUCTIDproperty to a valid AdminStudio activation code. Enter this number in the following 4-4-4-4 (4 sets of 4 characters) format, including dashes: XXXX-XXXX-XXXX-XXXX. -
ASACTSTATUS property—Set the
ASACTSTATUSproperty to0to allow the installer to show the status of the activation process as the product is activated, or set it to1to perform the activation without showing any status of the activation process.
Activating Silently in a Self-Hosted Environment with a License Server
To activate AdminStudio silently when configuring AdminStudio to use a license server, you need to use a transform file that includes a custom action that runs a command line that specifies the license server name.
To activate AdminStudio silently in a self-hosted environment with a license server:
-
Create a transform file that includes a custom action that runs the following command line:
AdminStudioInstallDir\Common\tpsconfig.exe /silent /set_license_server@LICENSE_SERVER
For example:
tpsconfig.exe /silent /set_license_server@XYZSERVER
If you have configured the license server to run on a custom port, put the custom port number before the @ character, such as:
tpsconfig.exe /silent /set_license_serverLS_PORT@LICENSE_SERVER
tpsconfig.exe /silent /set_license_server8300@XYZSERVER
-
Use the following command line to install the transform with the AdminStudio installation:
AdminStudio2025R2.exe /silent /skipupdate ASCommandLine="TRANSFORMS=MyTransform.mst"
Activating Silently After Installation
You can also activate AdminStudio using tpsconfig.exe after AdminStudio is already installed.
To activate AdminStudio silently after installation:
-
To activate AdminStudio silently after installation, use the following command, assuming that your activation code is
NNNN-XXXX-YYYY-ZZZZ:"C:\Program Files (x86)\AdminStudio\2025R2\Common\TPSConfig.exe" /activate /silent
/serial_numberNNNN-XXXX-YYYY-ZZZZnoteNote that there is no space between
/serial_numberand the activation code. -
To return the activation, use the following command:
"C:\Program Files (x86)\AdminStudio\2025R2\Common\TPSConfig.exe" /return /silent