Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

How to provision a modern application during OSD

Posted on November 13, 2019November 13, 2019 by Johan

This solution is not universal; complex applications with tons of dependencies or that is bound to user profiles will not work, but it covers the most basic needs of installing for example driver related applications, like the one in this example.

A customer of ours have a great number of machines with Nvidia graphics adapters and asked for a method to provision the Nvidia Control Panel application during OSD. This is what we came up with and thought we’d share.

First obtain the necessary files; this can be done by copying the download link from the “Share” button in Microsoft store. Then use an online service to get links to the separate files, .appx etc.

In this case the Store link looks like this:

https://www.microsoft.com/store/productId/9NF8H0H7WMLT

Online service to obtain links to the files can be found here:

https://store.rg-adguard.net/

@M_Cedervall recently published a script that downloads the files to disk right away:

https://github.com/MattiasC85/Scripts/blob/master/OSD/Download-AppxFromStore.ps1

Put the files in a folder on you content share:

Include a cmd file, that’s going to be our “Program”:

Command:

@ECHO OFF

Dism.exe /Online /Add-ProvisionedAppxPackage /PackagePath:"%~dp0NVIDIACorp.NVIDIAControlPanel_8.1.956.0_x64__56jybvy8sckqj.appx" /Region:"All" /SkipLicense

The /Region:”All” switch is pretty much the trick that makes this work at all. Without it, the application is deleted at first logon.

Create a Package with a Standard Program:

The details of the program:

(Category is optional but something we often use.)

Put an “Install Package” step in you TS (After “Setup Windows and ConfigMgr”) and configure it to run the program.

You will probably want a condition on this step, something like this should do the trick (Not tested):

SELECT * FROM Win32_VideoController Where Name Like '%Nvidia%'

Deploy a computer with Nvidia graphics, logon and – Voilá:

Please follow me on Twitter for news and updates: @josch62

4 thoughts on “How to provision a modern application during OSD”

  1. Simon says:
    November 13, 2019 at 6:34 am

    I think you have a spelling error in the screenshot and text: ‘%Nvidea%’ –> ‘%Nvidia%’

    Reply
  2. Greg says:
    November 21, 2019 at 8:34 pm

    Nice work, good to see a way to provision the apps from Microsoft Store through OSD, will this get auto-updated from the Store when there is a new version, or will it become another app to manage upgrades/dates to?

    Reply
    1. Jake Fuller says:
      January 23, 2020 at 4:01 pm

      Also wondering the same thing

      Reply
  3. Claudio Mendes says:
    December 1, 2022 at 3:06 pm

    2023 coming and nvidia, dell, microsoft rule the world of nonsense…
    first nvidia isnt capable of properly bundling the control panel with the driver
    second dell isnt capable to find, make or propose a viable workaround
    third microsoft isnt capable to get its store fixed i click install and nothing happens
    happy new year!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
All code is provided "AS-IS" with no warranties.

Tweets by ccmexec

Recent Posts

  • Configuring MS Edge Security Baseline v107 using Settings Catalog
  • Configuring Desktop App Installer using CSP and script?!
  • Customizing Taskbar and Start in Windows 11 22h2 with PowerShell
  • MMUGSE – physical event 2022-10-19 @Microsoft Reactor Stockholm.
  • Switch to Private Firewall profile on AAD joined when connected to specific network.

©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT