mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 05:47:23 +00:00
sync
This commit is contained in:
parent
b076e3a3e0
commit
bd4754d828
@ -49,6 +49,7 @@
|
|||||||
### [Apply a provisioning package](provisioning-apply-package.md)
|
### [Apply a provisioning package](provisioning-apply-package.md)
|
||||||
### [Settings changed when you uninstall a provisioning package](provisioning-uninstall-package.md)
|
### [Settings changed when you uninstall a provisioning package](provisioning-uninstall-package.md)
|
||||||
### [Provision PCs with common settings for initial deployment (simple provisioning)](provision-pcs-for-initial-deployment.md)
|
### [Provision PCs with common settings for initial deployment (simple provisioning)](provision-pcs-for-initial-deployment.md)
|
||||||
|
### [Provision PCs with apps](provision-pcs-with-apps.md)
|
||||||
### [Use a script to install a desktop app in provisioning packages](provisioning-script-to-install-app.md)
|
### [Use a script to install a desktop app in provisioning packages](provisioning-script-to-install-app.md)
|
||||||
### [NFC-based device provisioning](provisioning-nfc.md)
|
### [NFC-based device provisioning](provisioning-nfc.md)
|
||||||
### [Windows ICD command-line interface (reference)](provisioning-command-line.md)
|
### [Windows ICD command-line interface (reference)](provisioning-command-line.md)
|
||||||
|
@ -45,7 +45,7 @@ In a simple provisioning package, you can configure:
|
|||||||
- Local administrator account
|
- Local administrator account
|
||||||
- Add applications and certificates
|
- Add applications and certificates
|
||||||
|
|
||||||
Provisioning packages can include management instructions and policies, installation of specific apps, customization of network connections and policies, and more. To learn about provisioning packages that include more than the settings in a simple provisioning package, see [Provision PCs with apps and certificates](provision-pcs-with-apps-and-certificates.md).
|
Provisioning packages can include management instructions and policies, installation of specific apps, customization of network connections and policies, and more.
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> Use simple provisioning to create a package with the common settings, then switch to the advanced editor to add other settings, apps, policies, etc.
|
> Use simple provisioning to create a package with the common settings, then switch to the advanced editor to add other settings, apps, policies, etc.
|
||||||
|
173
windows/configure/provision-pcs-with-apps.md
Normal file
173
windows/configure/provision-pcs-with-apps.md
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
---
|
||||||
|
title: Provision PCs with apps (Windows 10)
|
||||||
|
description: Create a provisioning package to deploy apps to a PC running Windows 10.
|
||||||
|
ms.assetid: 66D14E97-E116-4218-8924-E2A326C9367E
|
||||||
|
keywords: ["runtime provisioning", "provisioning package"]
|
||||||
|
ms.prod: W10
|
||||||
|
ms.mktglfcycl: deploy
|
||||||
|
ms.sitesec: library
|
||||||
|
author: jdeckerMS
|
||||||
|
localizationpriority: high
|
||||||
|
---
|
||||||
|
|
||||||
|
# Provision PCs with apps
|
||||||
|
|
||||||
|
|
||||||
|
**Applies to**
|
||||||
|
|
||||||
|
- Windows 10
|
||||||
|
|
||||||
|
|
||||||
|
Windows 10, version 1703; variations on app install, both advanced and wizard-based
|
||||||
|
|
||||||
|
You can install multiple Universal Windows Platform (UWP) apps and Classic Windows (Win32) applications in a provisioning package. This topic explains the various settings in [Windows Configuration Designer](provisioning-install-icd.md) for app install.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Add a desktop app to your package
|
||||||
|
|
||||||
|
1. In the **Available customizations** pane, go to **Runtime settings** > **ProvisioningCommands** > **DeviceContext** > **CommandFiles**.
|
||||||
|
|
||||||
|
2. Add all the files required for the app install, including the data files and the installer.
|
||||||
|
|
||||||
|
3. 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](provisioning-script-to-install-app.md).
|
||||||
|
|
||||||
|
|
||||||
|
### 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, Windows Store for Business apps that you acquire with [offline licensing](../manage/acquire-apps-windows-store-for-business.md), or third-party apps. This procedure will assume you are distributing apps from the Windows Store for Business. For other apps, obtain the necessary information (such as the package family name) from the app developer.
|
||||||
|
|
||||||
|
1. In the **Available customizations** pane, go to **Runtime settings** > **UniversalAppInstall**.
|
||||||
|
|
||||||
|
2. For **DeviceContextApp**, specify the **PackageFamilyName** for the app. In Windows Store for Business, the package family name is listed in the **Package details** section of the download page.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
3. For **ApplicationFile**, click **Browse** to find and select the target app (either an \*.appx or \*.appxbundle).
|
||||||
|
|
||||||
|
4. For **DependencyAppxFiles**, click **Browse** to find and add any dependencies for the app. In Windows Store for Business, any dependencies for the app are listed in the **Required frameworks** section of the download page.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
5. For **DeviceContextAppLicense**, enter the **LicenseProductID**.
|
||||||
|
|
||||||
|
- In Windows 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**.
|
||||||
|
|
||||||
|
6. In the **Available customizations** pane, click the **LicenseProductId** that you just added.
|
||||||
|
|
||||||
|
7. 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 Windows Store for Business.](../manage/distribute-offline-apps.md)
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Removing a provisioning package will not remove any apps installed by device context in that provisioning package.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Add a certificate to your package
|
||||||
|
|
||||||
|
1. In the **Available customizations** pane, go to **Runtime settings** > **Certificates** > **ClientCertificates**.
|
||||||
|
|
||||||
|
2. Enter a **CertificateName** and then click **Add**.
|
||||||
|
|
||||||
|
2. Enter the **CertificatePassword**.
|
||||||
|
|
||||||
|
3. For **CertificatePath**, browse and select the certificate to be used.
|
||||||
|
|
||||||
|
4. Set **ExportCertificate** to **False**.
|
||||||
|
|
||||||
|
5. 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]( https://go.microsoft.com/fwlink/p/?LinkId=619012).
|
||||||
|
|
||||||
|
### Build your package
|
||||||
|
|
||||||
|
1. When you are done configuring the provisioning package, on the **File** menu, click **Save**.
|
||||||
|
|
||||||
|
2. 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.
|
||||||
|
|
||||||
|
3. On the **Export** menu, click **Provisioning package**.
|
||||||
|
|
||||||
|
1. 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.**
|
||||||
|
|
||||||
|
10. Set a value for **Package Version**.
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> You can make changes to existing packages and change the version number to update previously applied packages.
|
||||||
|
|
||||||
|
11. 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.
|
||||||
|
|
||||||
|
12. 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.<p>
|
||||||
|
Optionally, you can click **Browse** to change the default output location.
|
||||||
|
|
||||||
|
13. Click **Next**.
|
||||||
|
|
||||||
|
14. Click **Build** to start building the package. The project information is displayed in the build page and the progress bar indicates the build status.<p>
|
||||||
|
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**.
|
||||||
|
|
||||||
|
15. 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.<p>
|
||||||
|
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**.
|
||||||
|
|
||||||
|
16. 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](provisioning-apply-package.md)
|
||||||
|
|
||||||
|
## Learn more
|
||||||
|
|
||||||
|
- Watch the video: [Provisioning Windows 10 Devices with New Tools](https://go.microsoft.com/fwlink/p/?LinkId=615921)
|
||||||
|
|
||||||
|
- Watch the video: [Windows 10 for Mobile Devices: Provisioning Is Not Imaging](https://go.microsoft.com/fwlink/p/?LinkId=615922)
|
||||||
|
|
||||||
|
|
||||||
|
## Related topics
|
||||||
|
|
||||||
|
- [Provisioning packages for Windows 10](provisioning-packages.md)
|
||||||
|
- [How provisioning works in Windows 10](provisioning-how-it-works.md)
|
||||||
|
- [Install Windows Configuration Designer](provisioning-install-icd.md)
|
||||||
|
- [Create a provisioning package](provisioning-create-package.md)
|
||||||
|
- [Apply a provisioning package](provisioning-apply-package.md)
|
||||||
|
- [Settings changed when you uninstall a provisioning package](provisioning-uninstall-package.md)
|
||||||
|
- [Provision PCs with common settings for initial deployment (simple provisioning)](provision-pcs-for-initial-deployment.md)
|
||||||
|
- [Use a script to install a desktop app in provisioning packages](provisioning-script-to-install-app.md)
|
||||||
|
- [NFC-based device provisioning](provisioning-nfc.md)
|
||||||
|
- [Windows Configuration Designer command-line interface (reference)](provisioning-command-line.md)
|
||||||
|
- [Create a provisioning package with multivariant settings](provisioning-multivariant.md)
|
||||||
|
|
||||||
|
|
@ -130,7 +130,7 @@ Assigned Access has one setting, KioskModeApp. In the KioskModeApp setting, you
|
|||||||
<tr><td valign="top"></br></br>Enable device setup if you want to configure settings on this page.</br></br>**If enabled:**</br></br>Enter a name for the device.</br></br>(Optional) Select a license file to upgrade Windows 10 to a different edition. [See the permitted upgrades.](https://technet.microsoft.com/itpro/windows/deploy/windows-10-edition-upgrades)</br></br>Toggle **Configure devices for shared use** on or off. This setting...does what?</br></br>You can also select to remove pre-installed software from the device. </td><td></td></tr>
|
<tr><td valign="top"></br></br>Enable device setup if you want to configure settings on this page.</br></br>**If enabled:**</br></br>Enter a name for the device.</br></br>(Optional) Select a license file to upgrade Windows 10 to a different edition. [See the permitted upgrades.](https://technet.microsoft.com/itpro/windows/deploy/windows-10-edition-upgrades)</br></br>Toggle **Configure devices for shared use** on or off. This setting...does what?</br></br>You can also select to remove pre-installed software from the device. </td><td></td></tr>
|
||||||
<tr><td valign="top"> </br></br>Enable network setup if you want to configure settings on this page.</br></br>**If enabled:**</br></br>Toggle **On** or **Off** for wireless network connectivity. If you select **On**, enter the SSID, the network type (**Open** or **WPA2-Personal**), and (if **WPA2-Personal**) the password for the wireless network.</td><td></td></tr>
|
<tr><td valign="top"> </br></br>Enable network setup if you want to configure settings on this page.</br></br>**If enabled:**</br></br>Toggle **On** or **Off** for wireless network connectivity. If you select **On**, enter the SSID, the network type (**Open** or **WPA2-Personal**), and (if **WPA2-Personal**) the password for the wireless network.</td><td></td></tr>
|
||||||
<tr><td valign="top"> </br></br>Enable account management if you want to configure settings on this page. </br></br>**If enabled:**</br></br>You can enroll the device in Active Directory, enroll in Azure Active Directory, or create a local administrator account on the device</br></br>To enroll the device in Active Directory, enter the credentials for a least-privileged user account to join the device to the domain.</br></br>To enroll the device in Azure AD, select that option and enter a friendly name for the bulk token you will get using the wizard. (Something about expiry) Click **Get bulk token** (then what?)</br></br>To create a local administrator account, select that option and enter a user name and password. </br></br>**Important:** If you create a local account in the provisioning package, you must change the password using the **Settings** app every 42 days. If the password is not changed during that period, the account might be locked out and unable to sign in. </td><td></td></tr>
|
<tr><td valign="top"> </br></br>Enable account management if you want to configure settings on this page. </br></br>**If enabled:**</br></br>You can enroll the device in Active Directory, enroll in Azure Active Directory, or create a local administrator account on the device</br></br>To enroll the device in Active Directory, enter the credentials for a least-privileged user account to join the device to the domain.</br></br>To enroll the device in Azure AD, select that option and enter a friendly name for the bulk token you will get using the wizard. (Something about expiry) Click **Get bulk token** (then what?)</br></br>To create a local administrator account, select that option and enter a user name and password. </br></br>**Important:** If you create a local account in the provisioning package, you must change the password using the **Settings** app every 42 days. If the password is not changed during that period, the account might be locked out and unable to sign in. </td><td></td></tr>
|
||||||
<tr><td valign="top"> </td><td></td></tr>
|
<tr><td valign="top"> </br></br>You can install multiple applications, both Classic Windows (Win32) apps and Universal Windows Platform (UWP) apps, in a provisioning package. </td><td></td></tr>
|
||||||
<tr><td valign="top"> </br></br>To provision the device with a certificate, click **Add a certificate**. Enter a name for the certificate, and then browse to and select the certificate to be used.</td><td></td></tr>
|
<tr><td valign="top"> </br></br>To provision the device with a certificate, click **Add a certificate**. Enter a name for the certificate, and then browse to and select the certificate to be used.</td><td></td></tr>
|
||||||
<tr><td valign="top"> </br></br>You can create a local standard user account that will be used to run the kiosk app. If you toggle **No**, make sure that you have an existing user account to run the kiosk app.</br></br>If you want to create an account, enter the user name and password, and then toggle **Yes** or **No** to automatically sign in the account when the device starts.</br></br>In **Configure the kiosk mode app**, enter the name of the user account that will run the kiosk mode app. Select the type of app to run in kiosk mode, and then enter the path or filename (for a Classic Windows app) or the AUMID (for a Universal Windows app).</td><td></td></tr>
|
<tr><td valign="top"> </br></br>You can create a local standard user account that will be used to run the kiosk app. If you toggle **No**, make sure that you have an existing user account to run the kiosk app.</br></br>If you want to create an account, enter the user name and password, and then toggle **Yes** or **No** to automatically sign in the account when the device starts.</br></br>In **Configure the kiosk mode app**, enter the name of the user account that will run the kiosk mode app. Select the type of app to run in kiosk mode, and then enter the path or filename (for a Classic Windows app) or the AUMID (for a Universal Windows app).</td><td></td></tr>
|
||||||
<tr><td valign="top"> </br></br>On this step, select your options for tablet mode, the user experience on the Welcome and shutdown screens, and the timeout settings.</td><td></td></tr>
|
<tr><td valign="top"> </br></br>On this step, select your options for tablet mode, the user experience on the Welcome and shutdown screens, and the timeout settings.</td><td></td></tr>
|
||||||
@ -170,7 +170,9 @@ Set-AssignedAccess -AppName <CustomApp> -UserName <username>
|
|||||||
Set-AssignedAccess -AppName <CustomApp> -UserSID <usersid>
|
Set-AssignedAccess -AppName <CustomApp> -UserSID <usersid>
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** To set up assigned access using `-AppName`, the user account that you specify for assigned access must have logged on at least once.
|
> [!NOTE]
|
||||||
|
> To set up assigned access using `-AppName`, the user account that you specify for assigned access must have logged on at least once.
|
||||||
|
|
||||||
[Learn how to get the AUMID](https://go.microsoft.com/fwlink/p/?LinkId=614867).
|
[Learn how to get the AUMID](https://go.microsoft.com/fwlink/p/?LinkId=614867).
|
||||||
|
|
||||||
[Learn how to get the AppName](https://msdn.microsoft.com/library/windows/hardware/mt620046%28v=vs.85%29.aspx) (see **Parameters**).
|
[Learn how to get the AppName](https://msdn.microsoft.com/library/windows/hardware/mt620046%28v=vs.85%29.aspx) (see **Parameters**).
|
||||||
@ -192,8 +194,8 @@ Edit the registry to have an account automatically logged on.
|
|||||||
|
|
||||||
1. Open Registry Editor (regedit.exe).
|
1. Open Registry Editor (regedit.exe).
|
||||||
|
|
||||||
**Note**
|
>[!NOTE]
|
||||||
If you are not familiar with Registry Editor, [learn how to modify the Windows registry](https://go.microsoft.com/fwlink/p/?LinkId=615002).
|
>If you are not familiar with Registry Editor, [learn how to modify the Windows registry](https://go.microsoft.com/fwlink/p/?LinkId=615002).
|
||||||
|
|
||||||
|
|
||||||
2. Go to
|
2. Go to
|
||||||
@ -208,7 +210,8 @@ Edit the registry to have an account automatically logged on.
|
|||||||
|
|
||||||
- *DefaultPassword*: set value as the password for the account.
|
- *DefaultPassword*: set value as the password for the account.
|
||||||
|
|
||||||
> **Note** If *DefaultUserName* and *DefaultPassword* aren't there, add them as **New** > **String Value**.
|
> [!NOTE]
|
||||||
|
> If *DefaultUserName* and *DefaultPassword* aren't there, add them as **New** > **String Value**.
|
||||||
|
|
||||||
- *DefaultDomainName*: set value for domain, only for domain accounts. For local accounts, do not add this key.
|
- *DefaultDomainName*: set value for domain, only for domain accounts. For local accounts, do not add this key.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user