10 KiB
title, description, keywords, ms.prod, ms.mktglfcycl, ms.sitesec, author, ms.author, ms.topic, ms.localizationpriority, ms.date, ms.reviewer, manager
title | description | keywords | ms.prod | ms.mktglfcycl | ms.sitesec | author | ms.author | ms.topic | ms.localizationpriority | ms.date | ms.reviewer | manager | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Provision PCs with apps and certificates (Windows 10) | Create a provisioning package to apply settings to a PC running Windows 10. |
|
w10 | deploy | library | greg-lindsay | greglin | article | medium | 07/27/2017 | dansimp |
Provision PCs with apps and certificates for initial deployment (advanced provisioning)
Applies to
- Windows 10
DEPRECATED - See Provision PCs with apps
This topic explains how to create and apply a provisioning package that contains apps and certificates to a device running all desktop editions of Windows 10 except Windows 10 Home. Provisioning packages can include management instructions and policies, installation of specific apps, customization of network connections and policies, and more.
You can apply a provisioning package on a USB drive to off-the-shelf devices during setup, making it fast and easy to configure new devices.
Advantages
-
You can configure new devices without reimaging.
-
Works on both mobile and desktop devices.
-
No network connectivity required.
-
Simple to apply.
Learn more about the benefits and uses of provisioning packages.
Create the provisioning package
Use the Windows Imaging and Configuration Designer (ICD) tool included in the Windows Assessment and Deployment Kit (ADK) for Windows 10 to create a provisioning package. Install the ADK and select Configuration Designer.
-
Open Windows ICD (by default, %windir%\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Imaging and Configuration Designer\x86\ICD.exe).
-
Click Advanced provisioning.
-
Name your project and click Next.
-
Select All Windows desktop editions, click Next, and then click Finish.
Add a desktop app to your package
-
In the Available customizations pane, go to Runtime settings > ProvisioningCommands > DeviceContext > CommandFiles.
-
Add all the files required for the app install, including the data files and the installer.
-
Go to Runtime settings > ProvisioningCommands > DeviceContext > CommandLine and specify the command line that needs to be executed to install the app. This is a single command line (such as a script, executable, or msi) that triggers a silent install of your CommandFiles. Note that the install must execute silently (without displaying any UI). For MSI installers use, the
msiexec /quiet
option.
Note
If you are installing more than one app, then use
CommandLine
to invoke the script or batch file that orchestrates installation of the files. For more information, see Use a script to install a desktop app in provisioning packages.
Add a universal app to your package
Universal apps that you can distribute in the provisioning package can be line-of-business (LOB) apps developed by your organization, Microsoft Store for Business apps that you acquire with offline licensing, or third-party apps. This procedure will assume you are distributing apps from the Microsoft Store for Business. For other apps, obtain the necessary information (such as the package family name) from the app developer.
-
In the Available customizations pane, go to Runtime settings > UniversalAppInstall.
-
For DeviceContextApp, specify the PackageFamilyName for the app. In Microsoft Store for Business, the package family name is listed in the Package details section of the download page.
-
For ApplicationFile, click Browse to find and select the target app (either an *.appx or *.appxbundle).
-
For DependencyAppxFiles, click Browse to find and add any dependencies for the app. In Microsoft Store for Business, any dependencies for the app are listed in the Required frameworks section of the download page.
-
For DeviceContextAppLicense, enter the LicenseProductID.
-
In Microsoft Store for Business, generate the unencoded license for the app on the app's download page, and change the extension of the license file from .xml to .ms-windows-store-license.
-
Open the license file and search for LicenseID= to get the GUID, enter the GUID in the LicenseProductID field and click Add.
-
-
In the Available customizations pane, click the LicenseProductId that you just added.
-
For LicenseInstall, click Browse, navigate to the license file that you renamed <file name>.ms-windows-store-license, and select the license file.
Learn more about distributing offline apps from the Microsoft Store for Business.
Note
Removing a provisioning package will not remove any apps installed by device context in that provisioning package.
Add a certificate to your package
-
In the Available customizations pane, go to Runtime settings > Certificates > ClientCertificates.
-
Enter a CertificateName and then click Add.
-
Enter the CertificatePassword.
-
For CertificatePath, browse and select the certificate to be used.
-
Set ExportCertificate to False.
-
For KeyLocation, select Software only.
Add other settings to your package
For details about the settings you can customize in provisioning packages, see Windows Provisioning settings reference.
Build your package
-
When you are done configuring the provisioning package, on the File menu, click Save.
-
Read the warning that project files may contain sensitive information, and click OK.
Important
When you build a provisioning package, you may include sensitive information in the project files and in the provisioning package (.ppkg) file. Although you have the option to encrypt the .ppkg file, project files are not encrypted. You should store the project files in a secure location and delete the project files when they are no longer needed.
-
On the Export menu, click Provisioning package.
-
Change Owner to IT Admin, which will set the precedence of this provisioning package higher than provisioning packages applied to this device from other sources, and then select Next.
-
Set a value for Package Version.
Tip
You can make changes to existing packages and change the version number to update previously applied packages.
-
Optional. In the Provisioning package security window, you can choose to encrypt the package and enable package signing.
-
Enable package encryption - If you select this option, an auto-generated password will be shown on the screen.
-
Enable package signing - If you select this option, you must select a valid certificate to use for signing the package. You can specify the certificate by clicking Select... and choosing the certificate you want to use to sign the package.
Important
We recommend that you include a trusted provisioning certificate in your provisioning package. When the package is applied to a device, the certificate is added to the system store and any package signed with that certificate thereafter can be applied silently.
-
-
Click Next to specify the output location where you want the provisioning package to go once it's built. By default, Windows ICD uses the project folder as the output location.
Optionally, you can click Browse to change the default output location.
-
Click Next.
-
Click Build to start building the package. The project information is displayed in the build page and the progress bar indicates the build status.
If you need to cancel the build, click Cancel. This cancels the current build process, closes the wizard, and takes you back to the Customizations Page.
-
If your build fails, an error message will show up that includes a link to the project folder. You can scan the logs to determine what caused the error. Once you fix the issue, try building the package again.
If your build is successful, the name of the provisioning package, output directory, and project directory will be shown.
-
If you choose, you can build the provisioning package again and pick a different path for the output package. To do this, click Back to change the output package name and path, and then click Next to start another build.
-
If you are done, click Finish to close the wizard and go back to the Customizations Page.
-
-
Select the output location link to go to the location of the package. You can provide that .ppkg to others through any of the following methods:
-
Shared network folder
-
SharePoint site
-
Removable media (USB/SD)
-
Email
-
USB tether (mobile only)
-
NFC (mobile only)
-
Next step: How to apply a provisioning package
Learn more
-
Watch the video: Provisioning Windows 10 Devices with New Tools
-
Watch the video: Windows 10 for Mobile Devices: Provisioning Is Not Imaging
Related topics
- Provisioning packages for Windows 10
- How provisioning works in Windows 10
- Install Windows Configuration Designer
- Create a provisioning package
- Apply a provisioning package
- Settings changed when you uninstall a provisioning package
- Provision PCs with common settings for initial deployment (simple provisioning)
- Use a script to install a desktop app in provisioning packages
- Windows Configuration Designer command-line interface (reference)
- Create a provisioning package with multivariant settings