How to Deploy PPKG Files Using Intune

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

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.

Adaptiva
  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 PPKG file as 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

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. I would say 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

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

11 thoughts on “How to Deploy PPKG Files Using Intune”

  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?

    Reply
  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 .

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.