Appearance
Spektion Sensor Windows Command Line Installation Walkthrough
Learn how to install Spektion through the Windows command line
In addition to a full graphical install, Spektion can also be installed at the command line or in Windows PowerShell.
In an command prompt running as an Administrator or other privileged user, use the msiexec /q /i command to launch the Spektion MSI package. You must include either the TOKEN= argument after the package name or include the licensekey.dat file you received from your Spektion account representative in the same directory as the MSI package.
Installing with the TOKEN= argument
The TOKEN= argument can be useful if you're looking to script out installation with the use of a an enterprise deployment tool. The license key should be included after the binary name, as one line of text after TOKEN=, without spaces, as shown in the example.
Example:
msiexec /q /i SpektionSensorSetup1-0-15.msi TOKEN=<paste_token_here>
Installing with the licensekey.dat file
The Spektion MSI package also helpfully includes an option to install with a license key file in the same directory as the MSI. Simply call msiexec /q /i followed by the name of the Spektion MSI with the license key in the same directory, and Spektion will automatically ingest your license information.
Example:
msiexec /q /i SpektionSensorSetup1-0-15.msi
Spektion Auto-Updater Service
DANGER
Installations managed through a software configuration manager such as SCCM/MECM should ensure the AUTOUPDATE=false property is set during installation.
Spektion includes an auto-update service that will ensure your local Spektion Sensor is kept up to date with the latest changes. If you'd prefer to manage updates yourself, install the MSI with the AUTOUPDATE=false option on the command line. You can verify Spektion installed without the optional update service by checking for the existence of the SpektionUpdaterSvc service.
Example:
msiexec /q /i SpektionSensorSetup1-0-15.msi AUTOUPDATE=false
Verifying Your Spektion MSI deployment at the Command Line
Spektion installs two services - plus an additional auto-update service - as Windows Services. To verify your Spektion installation is working properly, you may run the following commands:
sc query spektion - The current state of the Spektion Sensor driver
sc query spektionsvc - The current state of the Spektion Sensor service Both of these services should be in a RUNNING state:
- sc query spektionupdatersvc - The current state of the Spektion Auto-Update service:
Conclusion
Spektion offers a number of easy deployment options for any size! Please get in touch with aa Spektion account representative if you have any questions on Spektion deployment options.