Skip to content
How to Deploy PPKG Files Using Intune

How to Deploy PPKG Files Using Intune

Written By Vimal Das
Last Updated July 7, 2024
Posted In Intune
SHARE

Learn How to Deploy PPKG Files Using Intune. Let’s also understand the relevance of the PPKG file deployment in the modern device management world. The PPKG provisioning package works fine with Windows 11 21H2 and Windows 10 operating systems.

Have you heard about PPKG files? They are on-the-fly configuration files that you can send via email. In this post, I will discuss more provisioning package files. I hope this will help you learn how to deploy PPKG files with Intune.

Update 04th Oct 2022: There is a known issue with the PPKG provisioning package Intune deployment with the Windows 11 22H2 operating system.

Provisioning packages (PPKG) don’t work on Windows 11 2022 Update. More details -> Known issue: Provisioning packages don’t work on Windows 11 2022 Update – Microsoft Tech Community

Patch My PC
Index
What is PPKG File?
How to Create PPKG Files?
Benefits of Using PPKG
Features of WICD Tool
Deploy PPKG Files with Intune
High-level Steps Involved – Deploy PPKG Files with Intune
Create PPKG – Disabling Bluetooth & Deploy CA Root
Wrap PPKG file in Intunewin Format and Deploy using Intune
Intune Console Actions to Deploy PPKG Files
Results and Troubleshooting PPKG File Deployment
Conclusion – Strategic Approach
How to Deploy PPKG Files Using Intune – Table.1

What is PPKG File?

PPKG files are the provisioning package files created by the Windows Imaging and Configuration Designer tool. These PPKG files will be with an extension (*. PPKG). You can apply the provisioning package to Windows 10 devices.

How to Create PPKG Files?

You can create PPKG files using the Windows Imaging and Configuration Designer (WICD) tool. This free tool customizes and configures Windows 10 and is included in Windows ADK.

Benefits of Using PPKG

How to Deploy PPKG Files Using Intune? Are there any benefits of using PPKG files?

  1. Can it be used on both mobile and desktop devices?
  2. Simple to apply.
  3. No network connectivity is required. You can send the PPKG file as an email to the user.
  4. Deploy PPKG using SCCM.
  5. Deploy PPKG using Intune ( we will cover this in this post).

Features of WICD Tool

Below are some areas where you can use the Windows Imaging and Configuration Designer (WICD) tool.

  1. Accounts (Example: Azure AD enrolment, domain join)
  2. Browser settings
  3. Certificates
  4. Applications (add/remove)
  5. Regional settings
  6. Edition upgrade
  7. Policies (example: Wi-Fi, Bluetooth, update, etc.)
  8. Execute scripts (PowerShell, VBS, etc.)
  9. Computer naming
  10. Remove pre-installed software
How to Deploy PPKG Files Using Intune - Fig.1
How to Deploy PPKG Files Using Intune – Fig.1

Deploy PPKG Files with Intune

In this post, you will see how to deploy PPKG with Intune. You can use this approach in the Windows Autopilot scenario to apply image customization. For example, I will create PPKG to add a root certificate and disable Bluetooth settings.

High-level Steps InvolvedDeploy PPKG Files with Intune

Let’s check the High-level Steps Involved in creating the PPKG files and Deploying PPKG Files with Intune.

  1. Create PPKG file
  2. Wrap the PPKG file in Intunewin format
  3. Create Win32 apps and deploy

Create PPKG – Disabling Bluetooth & Deploy CA Root

From the Windows 10 Start menu, click on the Windows Imaging and Configuration Designer (WICD) shortcut to create PPKG files.

How to Deploy PPKG Files Using Intune - Fig.2
How to Deploy PPKG Files Using Intune – Fig.2

Wizard will provide options for creating a provisioning package. Select Advanced Provisioning.

How to Deploy PPKG Files Using Intune - Fig.3
How to Deploy PPKG Files Using Intune – Fig.3

Navigate to the Policies section and disable Bluetooth in the wizard. I have used this setting only as an example. You can configure the required setting based on your requirements.

How to Deploy PPKG Files Using Intune - Fig.4
How to Deploy PPKG Files Using Intune – Fig.4

Next, navigate to the certificate section. Browse and add the root CA.

How to Deploy PPKG Files Using Intune - Fig.4
How to Deploy PPKG Files Using Intune – Fig.4

At last, we will export the customizations as a provisioning package (PPKG file).

How to Deploy PPKG Files Using Intune - Fig.5
How to Deploy PPKG Files Using Intune – Fig.5

Wrap PPKG file in Intunewin Format and Deploy using Intune

Next, we must wrap the PPKG file using the Win32 App Packaging Tool. The output of the tool will be in Intunewin format. I have another blog explaining how to dress and deploy using Intune.

  • Run the IntuneWinAppUtil.exe as administrator.
  • Next step, it will ask, “Please specify the source folder” where you save the PPKG file. Specify the source path and hit Enter.
  • Please specify the setup file“. Provide the File.ppkg > Enter. For Example, Project_4.ppkg
  • Please specify the output folder” where you want to save the intunewin converted file > Enter.
  • Next, “Do you want to specify the catalog folder” type Enter.
How to Deploy PPKG Files Using Intune - Fig.6
How to Deploy PPKG Files Using Intune – Fig.6

More details about Win32 or. EXE app deployment with Intune is explained in my previous post

Intune Console Actions to Deploy PPKG Files

After wrapping the PPKG file to the intunewin format, you can upload the file to Intune. More details about the steps to upload and create an application with Intune are explained in my previous post.

Please use the below PowerShell command line while configuring in Intune. Below the command line, apply the provisioning package (PPKG) silently.

How to Deploy PPKG Files Using Intune - Fig.7
How to Deploy PPKG Files Using Intune – Fig.7

powershell.exe “Add-ProvisioningPackage -Path “XXXXX.ppkg” -ForceInstall -QuietInstall”

powershell.exe Remove-ProvisioningPackage -PackageId “{XXXXX}”

Refer for more details on PPKG install and uninstall command line switches.

Results and Troubleshooting PPKG File Deployment

The best place to check or troubleshoot PPKG deployment is Event Viewer. You can see the PPKG-related events in the event viewer section “Provisioning-Diagnostics-provider.”

More details about Windows MDM Troubleshooting are available.

How to Deploy PPKG Files Using Intune - Fig.8
How to Deploy PPKG Files Using Intune – Fig.8

Applying package ‘Custom.ppkg’ ID: {426c45cf-a045-4cb1-92cf-aa4f69ead9d8}.

You can see the Root certificate configured in PPKG is applied successfully.

How to Deploy PPKG Files Using Intune - Fig.9
How to Deploy PPKG Files Using Intune – Fig.9

ProvXML category ‘Certificates’ completed successfully. Provisioning succeeded.

  • You can see the policy to turn off BlueTooth is applied by PPKG

Configuring ProvXML with category ‘Policies.’ ProvXML data:Policy/Config/Connectivity/AllowBluetooth

How to Deploy PPKG Files Using Intune - Fig.10
How to Deploy PPKG Files Using Intune – Fig.10

Bluetooth is turned off and disabled successfully. The below screenshot will guide you.

How to Deploy PPKG Files Using Intune - Fig.11
How to Deploy PPKG Files Using Intune – Fig.11

Conclusion – Strategic Approach

Traditionally, Provisioning packages (PPKG) are manually executed by IT admins or users to deploy configuration. However, PPKG is an excellent tool. But we should not rely only on provisioning packages (PPKG). I would try to avoid deploying PPKG files with Intune.

In Modern desktop deployment, Windows Autopilot and Intune are strategic tools that should be used to deploy Win 10 settings, apps, and any image customizations. Intune doesn’t natively support PPKG files as a deployment type.

Hence, we must wrap the provisioning package (PPKG) to the Intunewin format for Intune deployment.

We are on WhatsApp. To get the latest step-by-step guides and news updates, Join our Channel. Click here –HTMD WhatsApp.

Author

Written by

Vimal has more than 10 years of experience in SCCM device management solution. His main focus is on Device Management technologies like Microsoft Intune, ConfigMgr (SCCM), OS Deployment,Patch Management. He writes about the technologies like SCCM, Windows 10, Microsoft Intune and MDT.

Discussion · 11 comments

  1. Hi,

    I created a provisioning package to join the MTR devices to AAD and enroll them in MEM. When i run the package on an MTR device, it is joining the device to AAD but not enrolling in MEM. What could be the possible reason for that?

  2. in above example steps are missing to convert ppkg to Intune formate,

    can you please illustrate we want to deploy,

    when we are converting that package its not converting .

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Simplify Windows Devices to Run Only the Required Applications using Intune

Key Takeaways Hey, let’s learn about Simplify Windows Devices to Run Only the Required Applications using Intune. This policy lets administrators replace the default windows shell with a custom or lightweight shell. it improves performance by using system resources and is useful for devices that run a dedicated application. If the policy is disabled or […]

AC Anoop C Nair 8 min read
Intune

Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune

Key Takeaways In this post we are discussing about Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune. Microsoft has announced the general availability of Custom Compliance Settings for macOS in Microsoft Intune. The feature helps organizations strengthen security controls while supporting many types of macOS management scenarios. […]

AC Anoop C Nair 4 min read
Intune

Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune

Key Takeaways In this post we are discussing Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune. Microsoft Intune has received a new update that expands firmware management capabilities for Samsung Galaxy devices through Firmware Versionsintegration. This enhancement gives IT administrators more control over firmware and operating system updates, helping them […]

AC Anoop C Nair 4 min read
Intune

MS Intune Adds Windows Registry Data Collection to Device Inventory for Single Values All Key Values and Subkeys

Key Takeaways Microsoft Intune 2607 introduces Windows Registry Data collection in Device Inventory, allowing IT admins to verify actual device configurations without relying on custom discovery or remediation scripts. Using the Properties Catalog, admins can collect registry information through Single Value, All Values Under a Key (Non-Recursive), or Same Value Across Subkeys. MS Intune Adds […]

AC Anoop C Nair 5 min read