FileWave
Deploy Device Protection with FileWave on Windows.
Use FileWave to deploy Device Protection across your managed Windows fleet with the required permissions in place.
#Prerequisites
- All devices have the FileWave client installed and reporting to your FileWave server.
- Your PowerShell install command, copied from the User group selector on the Noon dashboard. It includes your token and the installer download.
If you're missing the command, go back to the Noon dashboard and click Connect Device.
#Set up the deployment
#Create the install fileset
- In FileWave Central, go to Filesets and click New Desktop Fileset → Empty.
- Name the fileset "Device Protection".
- Select the fileset and click Scripts in the toolbar.
- In the Activation section, create a new script named
aikido-install.ps1. - Paste the PowerShell install command copied from the Noon dashboard into the script and save it.
FileWave runs fileset scripts as the local SYSTEM account, so the installer has the rights it needs to write to Program Files and register the service. There is no separate run-as setting.
#Add the lockdown script
AppLocker is the built-in Windows feature that controls which apps people are allowed to run. This script adds an AppLocker rule that stops people from launching the Device Protection uninstaller.
-
In the same Scripts dialog, create a second Activation script named
aikido-applocker.ps1. -
Paste the following script and save it:
aikido-applocker.ps1 $tmp = "$env:TEMP\aikido-applocker.xml" Invoke-WebRequest -Uri "https://raw.githubusercontent.com/AikidoSec/safechain-internals/refs/heads/main/docs/aikido-applocker-deny-mdm.xml" -OutFile $tmp Set-AppLockerPolicy -XmlPolicy $tmp -Merge Remove-Item $tmp -Force -
Confirm
aikido-applocker.ps1is listed belowaikido-install.ps1. Scripts in the same section run from top to bottom, so drag them into this order if needed.
The Device Protection installer hardens the
EndpointProtectionservice at the OS level, so people without admin rights can't stop or disable it. People who run as local administrators can bypass AppLocker rules, so combine the uninstall block with removal of local admin rights for stronger enforcement.-
#Force a reboot after installation
- Select the Device Protection fileset and click Properties.
- Check Force reboot and save.
FileWave restarts the device 2 minutes after the scripts run. Device Protection fully activates on the next boot.
To restart devices manually instead, right-click them in FileWave Central and select Restart Windows Devices.
#Deploy to your devices
- In FileWave Central, go to Deployments and create a new deployment named "Device Protection".
- Click + beside Clients and select the target Windows devices or group.
- Click + beside Filesets and add the Device Protection fileset.
- Click OK, then click Update Model in the toolbar to send the deployment to devices.
Start with a single test device. Once it passes the checks below, add the rest of your fleet to the deployment and click Update Model again.
#Check that it works
- In FileWave Central, open the test device's Client Info → Filesets Status and confirm the fileset activated.
- After the reboot, check that the device appears in the Noon dashboard.
#Troubleshooting
On the device, Device Protection appears as Aikido Endpoint Protection.
| Problem | Fix |
|---|---|
| Device doesn't appear in the dashboard after the script runs | Reboot the device; Device Protection fully registers on the next boot |
| Script exits with an error in the MDM console | Run the script manually as SYSTEM on a test host to see the full error; confirm the device has internet access to download the installer |
| The Device Protection service is not running | Reboot the device; if the service is still absent, re-run the install script |
| Script is blocked by execution policy | Scripts run via MDM execute as SYSTEM and bypass user-level execution policy restrictions; confirm the MDM is not applying an additional policy that restricts script execution |
| Device shows as inactive after installation | Device Protection needs a reboot to fully activate; check back after rebooting |