How To Distribute WPA Enterprise Wi-Fi Profiles For Windows Using NinjaOne MDM

Learn how to set up RADIUS authentication on Windows in NinjaOne MDM. This guide provides step-by-step instructions for configuring RADIUS authentication with Entra ID credentials or certificates on Windows devices managed by NinjaOne MDM.

Overview - How Wi-Fi Profiles Are Distributed to Windows Devices in NinjaOne MDM

NinjaOne MDM uses Automation scripts on Windows to control configuration and settings on Windows devices. To set up RADIUS authentication on Windows devices using NinjaOne MDM, you can use the PowerShell script provided in the link below to configure your Windows devices to use EAP-TLS certificate-based authentication or EAP-TTLS with Entra ID credentials to connect to your network.

How to Set Up RADIUS Authentication on Windows in NinjaOne MDM - Step by Step Guide

Follow the steps below to set up RADIUS authentication on Windows devices using NinjaOne MDM:

Prerequisites for Setting Up WPA Enterprise Wi-Fi Profiles on Windows in NinjaOne MDM

Before you can set up RADIUS authentication on Windows devices using NinjaOne MDM, make sure you have the following prerequisites in place:

1. How to Create an EZRADIUS Subscription for Cloud RADIUS with NinjaOne MDM

An EZRADIUS subscription handles central configuration and billing. Make sure you have an active EZRADIUS subscription for Cloud RADIUS before you set up your access policies.

You can create an EZRADIUS subscription directly though Keytos by visiting our sign up page. Learn more in our sign up guide.

How to Sign Up for an EZRADIUS Subscription with a Credit Card

If you’d like to bill your EZRADIUS subscription directly to your Azure subscription, you can create your EZRADIUS subscription through the Azure Marketplace. Visit the EZRADIUS listing in the Azure Marketplace to create your subscription. Learn more in our Azure Marketplace sign up guide.

How to Sign Up for an EZRADIUS Subscription through the Azure Marketplace

If you’d like to pay through a prepaid invoice, please contact our sales team at sales@keytos.io to set up your EZRADIUS subscription.

Contact Sales for an Invoice-Based EZRADIUS Subscription

2. How to Configure Your EZRADIUS Access Policies

Access Policies in EZRADIUS determine who can connect to your network and how they can authenticate. You need to configure your Access Policies in EZRADIUS before you set up RADIUS authentication on your Windows devices using NinjaOne MDM.

Visit our guide on how to create a certificate-based Access Policy in EZRADIUS to learn how to set up your Access Policy for EAP-TLS certificate-based authentication.

How to Create a Certificate-Based Access Policy in EZRADIUS

3. How to Issue Certificates to Windows Devices for EAP-TLS Authentication in NinjaOne MDM

This step is only necessary if you’re using EAP-TLS certificate-based authentication. If you’re using EAP-TTLS with Entra ID credentials, you can skip this step.

If you plan to use EAP-TLS certificate-based authentication for your Windows devices, you need to issue certificates to your Windows devices.

Follow our EZCA certificate guide to set up your EZCA certificate authority and issue certificates to your Windows devices.

How to Create SCEP Certificates in NinjaOne MDM

If you’re using a third-party CA, you can follow the instructions provided by your CA to issue certificates to your Windows devices. Make sure to export the certificates in PFX format, as you’ll need to import them into NinjaOne MDM in the next step.

Step 1 - How to Generate Your Wi-Fi XML Profile for RADIUS Authentication on Windows in NinjaOne MDM

Windows uses XML profiles to configure Wi-Fi settings on Windows devices. Follow the instructions below to generate your Wi-Fi XML profile for RADIUS authentication on Windows devices using NinjaOne MDM.

Download Your Certificate Authority (CA) Certificates for EAP-TLS Authentication

You will need your Certificate Authority (CA) certificates to generate your Wi-Fi XML profile for EAP-TLS authentication. Make sure to download all CA certificates in your certificate chain, including the root CA and any intermediate CAs, as a .cer file.

If you need to download your CA certificates, you can do so from your EZRADIUS portal by following these steps:

  1. Navigate to your EZRADIUS portal.

  2. From the left-hand menu, select Policies.

  3. Scroll down to your RADIUS policy and find the Accepted Certificate Authorities > Trusted Certificate Authorities section.

  4. For each CA in your certificate chain, click the Download Certificate button to download the CA certificate as a .cer file.

    Download CA Certificate from EZRADIUS Portal

Download Your EZRADIUS Server Certificate CA

You will also need your EZRADIUS server certificate to generate your Wi-Fi XML profile for EAP-TLS authentication. This is the certificate that your Windows devices will trust when connecting to your network.

To download your EZRADIUS server certificate, follow these steps:

  1. Still in your EZRADIUS portal under the same RADIUS policy, scroll down to the Server Certificate > Existing Certificate section.

  2. Click Download Certificate to download your EZRADIUS server certificate as a .cer file.

    Download EZRADIUS Server Certificate from EZRADIUS Portal

Generate Your Wi-Fi XML Profile for RADIUS Authentication on Windows in NinjaOne MDM

Use our XML generation tool to generate your Wi-Fi XML profile for RADIUS authentication on Windows devices. Download the generated XML file and save it, as you’ll need to upload it to NinjaOne MDM in the next step.

Wi-Fi Profile (WLANProfile) Generator

Generates a Windows netsh-importable WLAN profile for EZRADIUS. Certificates are read and fingerprinted entirely in your browser — nothing is uploaded.

Network Configuration

Up to 32 bytes. Case-sensitive.

EAP-TLS Configuration

Upload the root and issuing CA .cer files (plus any intermediates) that issue your client certs. Their thumbprints become the CAHashList used to select the right client cert.

EZRADIUS Server Certificate

Select the type of server certificate you created in EZRADIUS.
Upload all CA certificates in the server certificate chain (root and any intermediates). Their thumbprints are used for server validation in the profile.
Upload the EZRADIUS server leaf certificate. Server names are read from its CN and SAN entries.
Parsed certificate details

Generate Your Wi-Fi XML Profile for RADIUS Authentication with Entra ID Credentials

Use our XML generation tool to generate your Wi-Fi XML profile for RADIUS authentication with Entra ID credentials. Download the generated XML file and save it, as you’ll need to upload it to NinjaOne MDM in the next step.

Wi-Fi Profile (WLANProfile) Generator

Generates a Windows netsh-importable WLAN profile for EZRADIUS. Certificates are read and fingerprinted entirely in your browser — nothing is uploaded.

Network Configuration

Up to 32 bytes. Case-sensitive.

EAP-TLS Configuration

Upload the root and issuing CA .cer files (plus any intermediates) that issue your client certs. Their thumbprints become the CAHashList used to select the right client cert.

EZRADIUS Server Certificate

Select the type of server certificate you created in EZRADIUS.
Upload all CA certificates in the server certificate chain (root and any intermediates). Their thumbprints are used for server validation in the profile.
Upload the EZRADIUS server leaf certificate. Server names are read from its CN and SAN entries.
Parsed certificate details

Step 2 - How to Upload Your Wi-Fi XML Profile to NinjaOne MDM

Now that you have your Wi-Fi XML profile generated, you need to add a new NinjaOne organization custom field and add it to your organization.

How to Create a New NinjaOne Organization Custom Field for Your Wi-Fi XML Profile

  1. Navigate to your NinjaOne portal.

  2. From the left-hand menu, select Administration > Organization > Organization custom fields.

    NinjaOne Organization Custom Fields
  3. Click + Add custom field.

  4. For the Custom field type, select Multi-line.

  5. Under Overview, enter the following information:

    • Label: EZRADIUS Windows Wi-Fi XML Profile
    • Name: ezradiusWindowsWifiProfile
    NinjaOne Custom Field Overview
  6. Keep Inheritance set to the default values.

  7. Under Permissions, set Automations to Read Only so that the custom field can be used in your NinjaOne install script.

    NinjaOne Custom Field Permissions
  8. Under Details, optionally add a description for the custom field to provide more context for your team.

  9. Click Submit to create your custom field.

How to Set Your Wi-Fi XML Profile Custom Field Value in NinjaOne MDM

Now that the custom field is created, you need to set the value of the custom field to the contents of your Wi-Fi XML profile for RADIUS authentication.

  1. Still in your NinjaOne portal, navigate to Dashboard and select your organization under Organizations.

    Select Organization in NinjaOne Dashboard
  2. From the tab menu, select Custom > Default fields.

    NinjaOne Organization Default Fields
  3. Click the pencil icon to edit your default fields.

  4. Under EZRADIUS Windows Wi-Fi XML Profile, paste the contents of your Wi-Fi XML profile for RADIUS authentication.

  5. Click Save to save the custom field value.

    Edit NinjaOne Custom Field Value

Step 3 - How to Create a Wi-Fi Profile Installation Script in NinjaOne MDM for Windows

Now that you have your Wi-Fi XML profile uploaded to NinjaOne MDM as a custom field, you need to create an installation script in NinjaOne MDM that will install the Wi-Fi profile on your Windows devices.

  1. In your NinjaOne portal, navigate to Administration > Library > Automation

    NinjaOne Automation Library
  2. Click + Add Automation > New script to create a new automation script.

  3. Enter the following information:

    • Name: Install EZRADIUS Wi-Fi Profile
    • Description: This script installs the EZRADIUS Wi-Fi XML profile on Windows devices for RADIUS authentication.
    • Language: PowerShell
    • Operating System: Windows
    • Architecture: All
    • Run as: System (you can override this later when you add the script to your Windows policy)
  4. Next to Script variables, click + Add > String/Text to add a new script variable.

  5. Enter the following information for the script variable:

    • Make variable mandatory: Enabled
    • Name: Profile Scope
    • Description: The scope of the Wi-Fi profile installation. Use “User” to install the profile for the current user or “Machine” to install the profile for the entire machine. Must match the scope of your certificate if using EAP-TLS authentication. If using EAP-TTLS with Entra ID credentials, set the scope to “User”.
    • Option values: Add “User” and “Machine” as option values for the variable.
    NinjaOne Automation Script Variable
  6. Click Add to add the script variable.

  7. Download Install-WifiProfile.ps1 and open it in a text editor. This is the PowerShell script that will be used to install the Wi-Fi profile on your Windows devices.

  8. Copy the contents of Install-WifiProfile.ps1 and paste it into the script editor in your NinjaOne automation script.

    NinjaOne Automation Script Editor
  9. Click Save to save your automation script.

Step 4 - How to Update Your Windows Policy in NinjaOne MDM to Include Your Wi-Fi Profile Installation Script

After creating your Wi-Fi profile installation script, you need to update your Windows policy in NinjaOne MDM to include the installation of the Wi-Fi profile on your Windows devices.

  1. In your NinjaOne portal, navigate to Administration > Policies > Agent policies.

    NinjaOne Agent Policies
  2. Select the Windows Workstation Policy or select your custom Windows policy if you have one set up.

  3. From the left-hand menu, select Scheduled Automations.

  4. Click Add a Scheduled Automation to add a new scheduled automation to your Windows policy.

    Add Scheduled Automation to NinjaOne Policy
  5. Fill in the following information for your scheduled automation:

    • Name: EZRADIUS - Install Wi-Fi Profile
    • Description: This scheduled automation installs the EZRADIUS Wi-Fi profile on Windows devices for RADIUS authentication.
    • Schedule: Run Once Immediately (runs once on every device as soon as they are online and sync with NinjaOne)
  6. Under Automations, click the small Add button.

  7. Select the Install EZRADIUS Wi-Fi Profile automation script that you created in the previous step and set the following:

    • Run As: If you use device/machine certificates for EAP-TLS authentication, select System. If you use user certificates for EAP-TLS authentication or if you use EAP-TTLS with Entra ID credentials, select Current User.
    • Profile Scope: Select the scope of your Wi-Fi profile installation. If you use device/machine certificates for EAP-TLS authentication, select Machine. If you use user certificates for EAP-TLS authentication or if you use EAP-TTLS with Entra ID credentials, select User.
    Add Wi-Fi Profile Installation Script to NinjaOne Windows Policy
  8. Click Apply to apply the automation script to your scheduled automation.

  9. You should now have a complete scheduled automation for installing the EZRADIUS Wi-Fi profile on your Windows devices.

    Add Wi-Fi Profile Installation Script to NinjaOne Windows Policy
  10. Click the larger Add button in the bottom right corner to add the scheduled automation to your policy.

  11. Click Save to save your updated Windows policy.

Done! Your Windows devices will now have the EZRADIUS Wi-Fi profile installed and will be able to connect to your network using RADIUS authentication with the settings you configured in your Wi-Fi XML profile.

Step 5 - How to Verify RADIUS Authentication is Working on Your Windows Devices in NinjaOne MDM

To verify that the Wi-Fi profile was installed correctly, follow these steps.

  1. In your NinjaOne portal, navigate to Devices and select a Windows device that is enrolled in your NinjaOne MDM and is assigned to the Windows policy that you updated in the previous step.

  2. In the tab menu, select Activities > All to view the activity log for the device.

  3. Look for an activity with the name Install EZRADIUS Wi-Fi Profile to confirm that the Wi-Fi profile installation script ran successfully on the device.

    NinjaOne Device Activity Logs