You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ZT] Push mdm.xml to Windows devices with Intune (cloudflare#22919)
* push mdm.xml with intune
* overwrites the old file
* Apply suggestions from code review
Co-authored-by: Kate Tungusova <[email protected]>
* Update intune.mdx
---------
Co-authored-by: Kate Tungusova <[email protected]>
The on-disk configuration of the Windows client can be changed at any time by modifying or replacing the contents of `C:\ProgramData\Cloudflare\mdm.xml`. The format of this file is as follows:
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/partners/intune.mdx
+89-18Lines changed: 89 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,30 +10,101 @@ This guide covers how to deploy the Cloudflare WARP client using Microsoft Intun
10
10
11
11
## Windows
12
12
13
-
### Prerequisites
14
-
15
-
[Download the `Cloudflare_WARP_<VERSION>.msi` installer](/cloudflare-one/connections/connect-devices/warp/download-warp/#windows).
16
-
17
-
### Configure Intune for Windows
18
-
19
-
1. Log in to your Microsoft Intune account.
20
-
2. Go to **Apps** > **All Apps** > **Add**.
21
-
3. In**App type**, select *Line-of-business app* from the drop-down menu. Select **Select**.
22
-
4. Select **Select app package file** and upload the `Cloudflare_WARP_<VERSION>.msi` installer you downloaded previously.
23
-
5. Select **OK**.
24
-
6. In the **Name** field, we recommend entering the version number of the package being uploaded.
25
-
7. In the **Publisher** field, we recommend entering `Cloudflare, Inc`.
26
-
8. In the **Command-line arguments** field, enter a valid installation command. For example,
13
+
### Deploy the WARP client
14
+
15
+
To deploy WARP on Windows using Intune:
16
+
17
+
1.[Download the `Cloudflare_WARP_<VERSION>.msi` installer](/cloudflare-one/connections/connect-devices/warp/download-warp/#windows).
18
+
2. Log in to your Microsoft Intune account.
19
+
3. Go to **Apps** > **All Apps** > **Add**.
20
+
4. In **App type**, select *Line-of-business app* from the drop-down menu. Select **Select**.
21
+
5. Select**Select app package file** and upload the `Cloudflare_WARP_<VERSION>.msi` installer you downloaded previously.
22
+
6. Select **OK**.
23
+
7. In the **Name** field, we recommend entering the version number of the package being uploaded.
24
+
8. In the **Publisher** field, we recommend entering `Cloudflare, Inc`.
25
+
9. In the **Command-line arguments** field, enter a valid installation command.
Refer to [deployment parameters](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/) for a description of each argument.
31
-
9. Select **Next**.
32
-
10. Add the users or groups who require Cloudflare WARP and select **Next**.
33
-
11. Review your configuration and select **Create**.
30
+
Refer to [deployment parameters](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/) for a description of each argument. You can change these parameters at any time by pushing a new [MDM file](#update-mdm-parameters).
31
+
10. Select **Next**.
32
+
11. Add the users or groups who require Cloudflare WARP and select **Next**.
33
+
12. Review your configuration and select **Create**.
34
34
35
35
Intune is now configured to deploy the WARP client.
36
36
37
+
### Update MDM parameters
38
+
39
+
You can use Intune to update [MDM parameters](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/) for the WARP client. On Windows, these parameters are stored on the local device in `C:\ProgramData\Cloudflare\mdm.xml`.
40
+
41
+
To push a new `mdm.xml` file using Intune:
42
+
43
+
1. Log in to your Microsoft Intune account.
44
+
2. Go to **Devices** > **Scripts and remediations**.
45
+
3. Select the **Platform scripts** tab and select **Add**.
46
+
4. Select **Windows 10 and later**.
47
+
5. Enter a name for the script (for example, `Deploy Cloudflare mdm.xml`).
48
+
6. In **PowerShell script**, upload the following `.ps1` file. Be sure to modify the XML content with your desired [parameters](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/).
Write-Host "mdm.xml file created successfully at: $filePath"
96
+
}
97
+
catch {
98
+
Write-Error "Failed to create mdm.xml file: $_"
99
+
}
100
+
```
101
+
7. In **Assignments**, select the Windows devices that should receive the new `mdm.xml` file.
102
+
8. To deploy the script, select **Add**.
103
+
104
+
Intune will now execute the Powershell script on the target devices and overwrite the previous `mdm.xml` file. Once the new `mdm.xml` file is created, WARP will immediately start using the new configuration.
105
+
106
+
If you prefer to use Intune's Win32 App tool to run the Powershell script, refer to the [Intune documentation](https://learn.microsoft.com/en-us/mem/intune/apps/apps-win32-app-management).
107
+
37
108
## macOS
38
109
39
110
Refer to the [generic instructions for macOS](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/#macos).
0 commit comments