question

jaybird283-2674 avatar image
0 Votes"
jaybird283-2674 asked SherryKissinger-ECM answered

Deploy Apps quickly to newly imaged computers using MEMCM

Hi, I am looking for a way to quickly install an MEMCM application on new computers shortly after first boot. i created a collection that contains computers that don't have the application installed and it deploys to them. but this seems to not work well for new computers (maybe because of the inventory cycle or something).

What's the best practice for getting software deployed automatically to new computers quickly (Using MEMCM)?

mem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Garth avatar image
1 Vote"
Garth answered

Why not install the app as part of the image? That would be the fast way.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Amandayou-MSFT avatar image
0 Votes"
Amandayou-MSFT answered Amandayou-MSFT edited

Hi @jaybird283-2674,

Agree with Garth, we could add application into image, it is the quick way. Please refer to this screenshot:

127602-8301.png

But if the image has installed already, we could deploy the application separately. Here is the article:
https://docs.microsoft.com/en-us/mem/configmgr/apps/get-started/create-and-deploy-an-application



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



8301.png (17.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jaybird283-2674 avatar image
0 Votes"
jaybird283-2674 answered

I don't currently use task sequences for imaging (i know i know...). But there is still a need in some situations for quickly deploying software to new machines. is that not possible with MCM app deployment?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SherryKissinger-ECM avatar image
0 Votes"
SherryKissinger-ECM answered

Since you don't use TS for imaging, then you have to "think outside the box"

Defining the issue, based on your description is...
for
1) a <type of device> (I'm assuming workstation os?),
2) if <some date we can compare to listed locally> is < 1 day,
then <install this thing if not there already>

Is that the ONLY parameters, no others at all?

If it were me with something like this, I'd make a custom Global Condition, based on a powershell script, something like...

$ErrorActionPreference = 'SilentlyContinue'
$StartDate = [Management.ManagementDateTimeConverter]::ToDateTime((Get-WmiObject -Namespace 'root\cimv2' -class 'win32_operatingsystem').InstallDate)
$EndDate = Get-Date
(NEW-TIMESPAN –Start $StartDate –End $EndDate).Days

and the condition you would look for would be "Requirement of 2 or less" (for example).

and you'd also have a global condition requirement of "one of" the Workstation OS' you support.

You'd deploy that to "All Systems" (if you want to; if you don't want to go that deep, then a collection for All workstations... but only if you based that collection on information solely submitted via Heartbeat information, not anything submitted via Inventory).

"In theory" then, that is for all workstations; and presuming you have that collection be one of the ones that does Delta evaluation, that deployment to "all workstations", will be evaluated by all workstations, but most of the time, requirements aren't met, because they were installed more than 2 days ago, so don't deserve that app.

Of course, this is assuming that the one and only and single condition you care about is "newly imaged". If you start to layer on other requirements, like "only if Marketing team", or "only if they have the widgets app, but not the fubar app, then they deserve to install this whatchamathing app... now you are getting deeper and deeper into the weeds, and your stated single requirement of "newly imaged" is going down into a deep dark and scary place.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.