CryptoStopper™ Install via PowerShell Script

PowerShell Script:

#Before running this script, update line 24 with the customer license key.

$cs_web_path = ‘’
$cs_local_path = ‘C:\Temp\CryptoStopper_Install’

#Check if temp directory exists
if(Get-Item -Path $cs_local_path -ErrorAction Ignore)
Write-Host “Folder Exists”
#PowerShell Create directory if not exists
New-Item $cs_local_path -ItemType Directory
#Download latest version of CryptoStopper and save to temp
Invoke-WebRequest -uri $cs_web_path -OutFile $cs_local_path\CryptoStopper-installer.msi

#Create json file
cd $cs_local_path
fsutil file Createnew ‘cs_config.json’ 0
echo ‘{“Serialkey”:”XXXX-XXXX-XXXX-XXXX”}’ > cs_config.json

#Install CryptoStopper
msiexec /qn /i $cs_local_path\CryptoStopper-installer.msi CONFIGFILE=$cs_local_path\cs_config.json


Steps for using the PowerShell script:

  1. Use the snippet above to create the PowerShell script.
  2. Update line 24 with the correct serial key for the customer install.
  3. Run as administrator on the target machine or load in an RMM and push to the target computers.

If you are using an RMM, you can create a script for each customer with their key. This is the recommended method because if you add more endpoints to a customer location, you can locate their PowerShell script and push CryptoStopper to the new endpoints without editing the script.

Alternatively, you can create one script but you will need to remember to update the script with the correct customer key each time you deploy it.

Having trouble?

We’re here to help. Click on the live chat box in the lower right-hand corner of your screen or follow the link to contact us and ask us a question!