Fleet
Deploy Device Protection with Fleet on Windows.
Use Fleet to deploy Device Protection across your managed Windows fleet with the required permissions in place.
#Set up the deployment
#Check you have the files
Before starting, make sure you have the following from the Noon dashboard:
- Your PowerShell install command (copied from the User group selector on the dashboard, includes token + installer download)
If you're missing it, go back to the Noon dashboard and click Connect Device.
#Run the install command on managed devices
Deploy the PowerShell install command as a one-shot script running in the system context. Fleet runs PowerShell scripts on Windows hosts as the local SYSTEM account through
fleetd.- In the Noon dashboard, copy the PowerShell install command for the target user group.
- Save the command as a
.ps1file, for exampleaikido-install.ps1. - In the Fleet console, go to Controls → Scripts.
- Select your target team from the team dropdown in the upper-left corner.
- Click Upload and add the
aikido-install.ps1file. - For fleet-wide deployment, run:
fleetctl run-script --script-path aikido-install.ps1 --hosts <hostnames>(or use a label to target all Windows hosts). For individual hosts, open the host's detail page and click Actions → Run script, then pickaikido-install.ps1and click Run. - Watch each host's Activity feed to confirm the script exited successfully.
#Apply the lockdown policy
Block uninstallation by pushing a configuration profile through Fleet.
#Block uninstall with AppLocker
- In the Fleet console, go to Controls → OS settings → Configuration profiles, click Add profile, and create a Windows profile with the following OMA-URI:
- OMA-URI:
./Vendor/MSFT/AppLocker/ApplicationLaunchRestrictions/Aikido/MSI/Policy - Value (String): paste the contents of aikido-applocker-deny-mdm.xml (open the link, copy the full XML text, and paste it here)
- OMA-URI:
- Save and deploy the profile to your Windows hosts.
- In the Fleet console, go to Controls → OS settings → Configuration profiles, click Add profile, and create a Windows profile with the following OMA-URI:
#Reboot devices after installation
Fleet does not provide a team-wide reboot button in the UI. Use the Windows
RebootNowmobile device management command throughfleetctl, or push a one-line PowerShell restart script.-
Save the following as
windows-restart-device.xml:<Exec> <Item> <Target> <LocURI>./Device/Vendor/MSFT/Reboot/RebootNow</LocURI> </Target> <Meta> <Format xmlns="syncml:metinf">null</Format> <Type>text/plain</Type> </Meta> <Data></Data> </Item> </Exec> -
Run
fleetctl mdm run-command --payload=windows-restart-device.xml --hosts=<host1>,<host2>against each target host. -
Alternatively, upload an
aikido-reboot.ps1script containingRestart-Computer -Forcethrough Controls → Scripts and run it against the target hosts.
Device Protection fully activates on the next boot.
-
#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 |