You are here: Home > Device Management > Windows > Enrollment > Provisioning Package Enrollment

How to Enroll Windows Devices Using a Provisioning Package

Enroll Windows devices at scale using a Provisioning Package generated from a Smart Enrollment in Applivery — no user interaction required.

3 min read

TL;DR

From a Smart Enrollment in Applivery, click the vertical dots, select View instructions, choose Provisioning Package, and click Create provisioning to generate a PPKG file ready to deploy on Windows devices.

A Provisioning Package (PPKG) is a deployment method that lets you enroll Windows devices automatically using a file generated directly from a Windows Smart Enrollment. It is ideal for bulk or zero-touch deployments, since no manual URL entry or user credentials are needed on the device.

How to generate and deploy a Provisioning Package

Note

Before you start, make sure you have a Windows Smart Enrollment already configured.

1
Open the Smart Enrollment instructions

In the Applivery Dashboard, go to the Automation section 1 and select Smart Enrollments 2. From the left-hand menu, choose Windows 3 as the platform.

Click the three vertical dots 4 next to the Smart Enrollment you want to use and select View instructions 5.

provisioning package
2
Generate the Provisioning Package

In the side panel, select Provisioning Package 6 and click the + Create provisioning button 7.

Warning

Devices enrolled through this package will be initially linked to a single user or department. You can reassign them later using a script. You can create as many Provisioning Packages as you need from the same enrollment.

3
Apply the package to your devices

Once the package is generated, click Select 8.

create and select ppkg

The on-screen instructions will guide you through applying the PPKG file to your Windows devices.


Enrolling during OOBE (Out-of-Box Experience)

When you apply a Provisioning Package during the Windows OOBE — the initial setup wizard that runs on a brand-new or freshly reset device — enrollment needs an extra step to stick.

During OOBE, Windows runs under a temporary session (defaultuser0) that is not persistent. If you enroll straight from that stage, the Applivery enrollment gets tied to that temporary session and is silently removed once the session is cleaned up — leaving the device unenrolled.

To avoid this, you split the process into two stages:

  • OOBE stage: the user account and everything unrelated to Applivery enrollment is set up on the device.

  • After the first Windows login: the actual Applivery enrollment runs, attached to a persistent user, so it survives reboots.

Note

This procedure is only required when the PPKG is applied from the OOBE wizard. For devices that are already activated (past the initial setup), you only need the single Enroll.ppkg described in the section above.

1
Create the Smart Enrollment and export Enroll.ppkg

In the Applivery Dashboard, create a Windows Smart Enrollment, select Anonymous login, and add a policy.

Anonymous

Generate a Provisioning Package following the dashboard instructions (as in the section above), including only the Workplace configuration to enroll.

Export it as Enroll.ppkg to your desktop. Note that a .cat catalog file with the same name is created alongside it.

configure windows configuration designer
2
Build the wrapper package in Windows Configuration Designer

Create a new provisioning package project in Windows Configuration Designer and set up the following.

a) Create the user account

Create a user account and make sure it belongs to the local Administrators group. If it is a standard user, enrollment after RunOnce will fail due to permissions.

admin user

b) Add Enroll.ppkg to the delivered files

Scroll down to the Folders node under Runtime settings and expand it. Files added here are delivered to C:\Users\Public\Documents on the target device. Add the Enroll.ppkg and its .cat catalog file, then click Add. They will appear inside the Runtime tree.

folders

c) Configure OOBE

Scroll down to the OOBE node and configure it as shown.

node configuration

d) Add the RunOnce provisioning command

This is the key step. Scroll down to Provisioning Commands and expand it. Click Device Context and select the CommandLine field from the left tree.

Add the following one-liner command:

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v "AppliveryOOBEEnroll" /t REG_SZ /d "powershell.exe -ExecutionPolicy Bypass -Command \"Install-ProvisioningPackage -PackagePath C:\Users\Public\Documents\Enroll.ppkg -QuietInstall -ForceInstall\"" /f
3
Export and deploy

Export the PPKG, and you are good to go.

The command injects a RunOnce entry into the Windows Registry that runs silently right after the user's first login following the OOBE provisioning. This attaches the Applivery enrollment to the persistent user who has just logged in.

To confirm, go to Settings > Accounts > Access work or school — the Applivery account will already be listed. From that point, enrollment persists across reboots.

Key Takeaways

  • A Provisioning Package is generated directly from a Windows Smart Enrollment — no separate tool required.
  • Devices enrolled via PPKG are initially linked to a single user or department, which can be reassigned later using a script.
  • You can create as many Provisioning Packages as needed from the same enrollment.

A Provisioning Package (PPKG) is a deployment method that automatically enrolls Windows devices using a file generated from a Windows Smart Enrollment. It's ideal for bulk or zero-touch deployments.

It's ideal for bulk or zero-touch deployments because it eliminates the need for manual URL entry or user credentials on the device, streamlining the enrollment process.

Before you can generate a Provisioning Package, you must ensure you have a Windows Smart Enrollment already configured in the Applivery Dashboard.

In the Applivery Dashboard, go to Automation > Smart Enrollments, select Windows, view instructions for your Smart Enrollment, then choose "Provisioning Package" and click "+ Create provisioning."

Yes, you can create as many Provisioning Packages as you need from a single Windows Smart Enrollment to suit different deployment scenarios.

Devices enrolled through a Provisioning Package are initially linked to a single user or department. You can reassign them later using a script if necessary.

Once the package is generated, click "Select" to access on-screen instructions that will guide you through the process of applying the PPKG file to your Windows devices.

During OOBE, Windows runs under a temporary session (defaultuser0) that isn't persistent, so the enrollment gets tied to it and is silently removed. Split the process into two stages so enrollment attaches to a persistent user instead.

Create an Enroll.ppkg from a Smart Enrollment, then build a wrapper package in Windows Configuration Designer that creates the user, delivers Enroll.ppkg, and adds a RunOnce command to install it after the first login.

Yes. For OOBE you need an Enroll.ppkg plus a wrapper package built in Windows Configuration Designer. For devices that are already activated, the single Enroll.ppkg is enough.

Was this page helpful?

Last updated: July 14, 2026