Alternative CYRISMA Installation Script for Windows
If users experience issues with the PowerShell-based installation of CYRISMA agents, this alternative Batch Script (CMD) method can be used instead. This script downloads and installs the CYRISMA agent using Windows' built-in bitsadmin tool.
- User Manual
- Agents
- The Cyber Risk Assessment Process
- API Documents
- General Questions and Troubleshooting
- The Cyber Risk Assessment Process (Video Tutorials)
- Sales and Prospecting Articles
- CYRISMA Partner Portal Access
- Glossary
- CYRISMA Change Log
- Support Ticket SLA
- Onboarding Framework
- PSA Integrations
- Billing Questions
- Self Onboarding Guide
Table of Contents
Prerequisites
Administrator privileges on the machine where the agent is being installed.
Internet access to download the CYRISMA installer.
Ensure bitsadmin
is enabled on the system (available by default on Windows).
Installation Methods
There are two versions of the script:
With Auto-Provisioning Enabled (Automatically registers the agent).
Without Auto-Provisioning (Manual registration required).
Option 1: Install with Auto-Provisioning
This method installs the CYRISMA agent and automatically provisions it to the platform.
Script
Copy and paste the following script into Notepad, then save it as a .bat
file (e.g., install_cyrisma.bat
).
@echo off
setlocal
:: Define variables
set "INSTALLER_URL=https://dl.cyrisma.com/6167656E7473/Cyrisma_Setup.exe"
set "INSTALLER_PATH=C:\windows\temp\Cyrisma_Setup.exe"
set "INSTALL_ARGS=/verysilent /key=XXXXXX /URL=XX /autoprovision=yes"
:: Download the installer using bitsadmin (Windows built-in tool)
bitsadmin /transfer "DownloadCyrisma" %INSTALLER_URL% %INSTALLER_PATH%
:: Check if download was successful
if not exist %INSTALLER_PATH% (
echo Download failed!
exit /b 1
)
:: Run the installer with arguments
start /wait "" "%INSTALLER_PATH%" %INSTALL_ARGS%
:: Cleanup (optional)
:: del %INSTALLER_PATH%
echo Installation complete.
exit /b 0
Instructions for Use
Replace XXXXXX
with your CYRISMA API key.
Replace XX
with the appropriate CYRISMA server URL.
Save the file as install_cyrisma.bat
.
Right-click the script and select Run as administrator.
Option 2: Install Without Auto-Provisioning
If you prefer to manually provision the agent after installation, use this script:
@echo off
setlocal
:: Define variables
set "INSTALLER_URL=https://dl.cyrisma.com/6167656E7473/Cyrisma_Setup.exe"
set "INSTALLER_PATH=C:\windows\temp\Cyrisma_Setup.exe"
set "INSTALL_ARGS=/verysilent /key=XXXXXX /URL=XX"
:: Download the installer using bitsadmin (Windows built-in tool)
bitsadmin /transfer "DownloadCyrisma" %INSTALLER_URL% %INSTALLER_PATH%
:: Check if download was successful
if not exist %INSTALLER_PATH% (
echo Download failed!
exit /b 1
)
:: Run the installer with arguments
start /wait "" "%INSTALLER_PATH%" %INSTALL_ARGS%
:: Cleanup (optional)
:: del %INSTALLER_PATH%
echo Installation complete.
exit /b 0
Instructions for Use
Replace XXXXXX
with your CYRISMA API key.
Replace XX
with the appropriate CYRISMA server URL.
Save the file as install_cyrisma_no_provision.bat
.
Right-click the script and select Run as administrator.
After installation, manually provision the agent via the CYRISMA portal.
Troubleshooting
If the Script Fails to Download the Installer
Ensure the machine has internet access and can reach https://dl.cyrisma.com/6167656E7473/Cyrisma_Setup.exe
.
Run the following command in Command Prompt to manually check connectivity:
ping dl.cyrisma.com
If bitsadmin
is restricted, try using PowerShell to download the installer:
Invoke-WebRequest -Uri "https://dl.cyrisma.com/6167656E7473/Cyrisma_Setup.exe" -OutFile "C:\windows\temp\Cyrisma_Setup.exe"
If the Installation Fails
Ensure you run the script as an administrator.
Check the log file at C:\ProgramData\Cyrisma\Logs
for error messages.
Verify that antivirus software or endpoint protection is not blocking the installer.
Additional Notes
This method is an alternative only if the PowerShell installation fails.
The silent installation (/verysilent
) ensures minimal user interaction.
If necessary, remove the cleanup line (del %INSTALLER_PATH%
) to keep the installer for troubleshooting.
For further assistance, contact CYRISMA Support. 🚀