Create provisioning packages for Surface Hub
Provisioning packages allow you to automate deployment of key features, helping deliver a consistent experience across all Surface Hubs in your organization. Using Windows Configuration Designer (WCD) on a separate PC, you can complete the following tasks:
- Enroll in Active Directory or Azure Active Directory
- Create a device administrator account
- Add applications and certificates
- Configure proxy settings
- Add a Surface Hub configuration file
- Configure Configuration Service Provider (CSP) settings
- On a separate PC running Windows 10 or Windows 11, install Windows Configuration Designer from the Microsoft Store.
- Select Provision Surface Hub devices to configure common settings using a wizard. Or select Advanced provisioning to view and configure all possible settings.
- Create the provisioning package and save it to a USB drive.
- Deploy the package to your Surface Hub during first-run setup, or through the Settings app. To learn more, see Create a provisioning package.
Use Surface Hub provisioning wizard
Open Windows Configuration Designer and select Provision Surface Hub devices.
Name your project and select Next.
To provision the device with a certificate, select Add a certificate. Enter a name for the certificate, and then browse to select the certificate to be used. For advanced provisioning options, refer to the section below Add a certificate to your package.
Configure proxy settings
Toggle Yes or No for proxy settings. By default, Surface Hub automatically detects proxy settings. However, if your infrastructure previously required using a proxy server and has changed to not require a proxy server, you can use a provisioning package to revert your Surface Hub devices to the default settings by selecting Yes and Automatically detect settings.
If you toggle Yes, you can select to automatically detect proxy settings or manually configure the settings by entering one of the following:
- A URL to a setup script.
- A static proxy server address and port information.
If you intend to use a setup script or proxy server, turn off Automatically detect settings. You can use a setup script or a proxy server, not both.
Enter exceptions (addresses that Surface Hub should connect to directly without using the proxy server). Example: *.office365.com
Identify whether to use the proxy server for local addresses.
Set up device admins
You can enroll the device in Active Directory and specify a security group to use the Settings app, enroll in Azure Active Directory to allow global admins to use the Settings app, or create a local administrator account on the device.
- To enroll the device in Active Directory, enter the credentials for a least-privileged user account to join the device to the domain, and specify the security group to have admin credentials on Surface Hub. If applying the package to a Surface Hub that was reset, you can use the same domain account as long as it's the same account that set up the Surface Hub initially. Otherwise, a different domain account must be used in the provisioning package.
- Before you use Windows Configuration Designer to configure bulk Azure AD enrollment, Plan your Azure AD join implementation. The maximum number of devices per user setting in your Azure AD tenant determines how many times the bulk token that you get in the wizard can be used.
- 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. Set an expiration date for the token (maximum is 30 days from the date you get the token). Select Get bulk token. In the Let's get you signed in window, enter an account that has permissions to join a device to Azure AD, and then the password. Select Accept to give Windows Configuration Designer the necessary permissions.
- To create a local administrator account, select that option and enter a user name and password.
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.
Enroll in third party MDM provider
If you use a third party mobile device management (MDM) provider, you can use this section to enroll Surface Hub. To enroll in Intune, first setup Azure AD join, as described in the previous section, and follow the instructions in the following Intune documentation: Quickstart: Set up automatic enrollment for Windows 10/11 devices.
- Toggle Yes or No for enrollment in third party MDM.
- If you toggle Yes, provide a service account and password or certificate thumbprint that is authorized to enroll the device and specify the authentication type.
- If required by your MDM provider, enter the URLs for the discovery service, enrollment service, and policy service.
To learn more, see Manage Surface Hub with an MDM provider.
You can install multiple Universal Windows Platform (UWP) apps in a provisioning package. To learn more, see Provision PCs with apps.
Although Windows Configuration Designer lets you add a Classic Win32 app to a provisioning package, Surface Hub only accepts UWP apps. If you include a Classic Win32 app, provisioning will fail.
Add a configuration file
In addition to this provisioning package, you can use a Surface Hub configuration file to make it even easier to set up your devices. A Surface Hub configuration file contains a list of device accounts for connecting to Exchange, Microsoft Teams, or Skype for Business, as well as "friendly names" for wireless projection.
To create a Surface Hub configuration file:
Open Microsoft Excel (or other .csv editor), create a .csv file named SurfaceHubConfiguration.csv.
Enter a list of device accounts and friendly names in this format:
The configuration file must not contain column headers. When included in a provisioning package applied to Surface Hub, you can select the account and friendly name for the device from the file. To create the .csv file, use either a UPN address format (firstname.lastname@example.org) or down-level logon name format (contoso\rainier).
email@example.com,password,Rainier Surface Hub
Save the file to your project folder and copy it to the USB key with your provisioning package.
The configuration file can only be applied during first run setup.
Password protect provisioning package
If you choose to use a password, you will need to enter it each time you apply the provisioning package to a device.
Complete provisioning wizard
If you only need to configure common settings, select Finish > Create and skip to the section Build your package. Or continue configuring settings by switching to Advanced provisioning.
Use Advanced provisioning
Use the wizard to create a package with the common settings, then switch to the advanced editor to add other settings.
If continuing from the previous section, select Switch to advanced editor otherwise open Windows Configuration Designer and select Advanced provisioning.
Name your project and select Next.
Select Common to Windows 10 Team, select Next, and then select Finish.
In the project, under Available customizations, select Common Team settings.
Add a certificate to your package
You can use provisioning packages to install certificates that will allow the device to authenticate to Microsoft Exchange.
Provisioning packages can only install certificates to the device (local machine) store, and not to the user store. If your organization requires that certificates be installed to the user store, use the Hub Settings app: Update & Security > Certificates > Import Certificate. Alternatively, you can use MDM policies to deploy certificates to either the device store or the user store.
The ClientCertificates section is for .pfx files with a private key; .cer files for root CAs should be placed in the RootCertificates section and for Intermediate CAs in the CACertificates section.
- In Windows Configuration Designer > Available customizations , go to Runtime settings > Certificates > ClientCertificates.
- Enter a label for CertificateName and then select Add.
- Enter the CertificatePassword.
- For CertificatePath, browse and select the certificate.
- Set ExportCertificate to False.
- For KeyLocation, select Software only.
Add a UWP app to your package
To add a UWP app to a provisioning package, you will need the app package (.appx or .appxbundle files) and any dependency files. If you acquired the app from the Microsoft Store for Business, you will also need the unencoded app license. See Distribute offline apps to learn how to download these items from the Microsoft Store for Business.
To add a UWP app:
In the Available customizations pane, go to Runtime settings > UniversalAppInstall > DeviceContextApp.
Enter a PackageFamilyName for the app and then select Add. For consistency, use the app's package family name. If you acquired the app from the Microsoft Store for Business, you can find the package family name in the app license. Open the license file using a text editor, and use the value between the PFM tags.
For ApplicationFile, select Browse to find and select the target app ( .appx or .appxbundle).
For DependencyAppxFiles, select Browse to find and add any dependencies for the app. For Surface Hub, you will only need the x64 versions of these dependencies.
If you acquired the app from the Microsoft Store for Business, you will need to add the app license to your provisioning package.
To add app license:
Make a copy of the app license, and rename it to use a .ms-windows-store-license extension. For example, rename "example.xml" to "example.ms-windows-store-license".
In Windows Configuration Designer, go to Available customizations > Runtime settings > UniversalAppInstall > DeviceContextAppLicense.
Enter a LicenseProductId and then select Add. For consistency, use the app's license ID from the app license. Open the license file using a text editor. Then, in the License tag, use the value in the LicenseID attribute.
Select the new LicenseProductId node. For LicenseInstall, select Browse to find and select your renamed license file (example.ms-windows-store-license).
Add a policy to your package
Surface Hub supports a subset of the policies in the Policy configuration service provider. Some of those policies can be configured with Windows Configuration Designer.
To add CSP policies:
Go to Available customizations > Runtime settings > Policies.
Select the component you want to manage and configure the policy setting as appropriate. For example, to prevent employees from using InPrivate website browsing on Surface Hub, select AllowInPrivate and then select Disable.
Add Surface Hub settings to your package
You can add settings from the SurfaceHub configuration service provider to your provisioning package.
- Go to Available customizations > Common Team Edition Settings.
- Select the component you want to manage and configure the policy setting as appropriate.
- When you are done configuring the provisioning package, select File > Save.
- Read the warning that project files may contain sensitive information, and select OK
Build your package
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. Store the project files in a secure location or delete if no longer needed.
Open Windows Configuration Designer > Export > Provisioning package.
Change Owner to IT Admin.
Set a value for Package Version, and then select Next.
Setting the owner to IT Admin ensures that package settings maintain the appropriate "precedence properties" and remain in effect on Surface Hub if other provisioning packages are subsequently applied from other sources.
You can modify existing packages and change the version number to update previously applied packages.
Optional: You can choose to encrypt the package and enable package signing:
- Select Encrypt package and then enter a password.
- Select Sign package > Browse and choose the certificate as appropriate.
Including a trusted provisioning certificate in your provisioning package is recommended. When the package is applied to a device, the certificate is added to the system store, enabling subsequent packages to be applied silently.
Select Next to specify the output location. By default, Windows Configuration Designer uses the project folder as the output location. Or select Browse to change the default output location. Select Next.
Select Build to start building the package. The project information is displayed in the build page.
If your build fails, an error message appears with a link to the project folder. Review the logs to diagnose the error and try building the package again.
If your build succeeds, the name of the provisioning package, output directory, and project directory are displayed. Select Finish to close the wizard and go back to the Customizations page.
Select output location to go to the location of the package. Copy the .ppkg to an empty USB flash drive.
Apply a provisioning package to Surface Hub
There are two ways of deploying provisioning packages to a Surface Hub:
- First run setup. You can apply a provisioning package to customize multiple options including Wi-Fi settings, proxy settings, device account details, Azure AD join, and related settings.
- Settings app. After first run setup, you can apply a provisioning package via the Settings app.
Apply a provisioning package during first run
When you turn on the Surface Hub for the first time, the first-run program displays the Hi there page. Make sure that the settings are properly configured before proceeding.
Insert the USB flash drive containing the .ppkg file into the Surface Hub. If the package is in the root directory of the drive, the first-run program will recognize it and ask if you want to set up the device. Select Set up.
The next screen asks you to select a provisioning source. Select Removable Media and tap Next.
Select the provisioning package (*.ppkg) that you want to apply, and tap Next. Note that you can only install one package during first run.
The first-run program will show you a summary of the changes that the provisioning package will apply. Select Yes, add it.
If a configuration file is included in the root directory of the USB flash drive, you will see Select a configuration. The first device account in the configuration file will be shown with a summary of the account information that will be applied to the Surface Hub.
In Select a configuration, select the device name to apply, and then select Next.
The settings from the provisioning package will be applied to the device and OOBE will be complete. After the device restarts, you can remove the USB flash drive.
Apply a provisioning package using Settings app
- Insert the USB flash drive containing the .ppkg file into the Surface Hub.
- From Surface Hub, start Settings and enter the admin credentials when prompted.
- Navigate to Surface Hub > Device management. Under Provisioning packages, select Add or remove a provisioning package > Add a package.
- Choose your provisioning package and select Add. If prompted, enter your admin credentials again.
- You'll see a summary of the changes to be applied. Select Yes, add it.
Submit and view feedback for