SOLVED

Deploy 3rd Party app with SCCM

Copper Contributor

I am fairly new to SCCM so bare with me. WE have had it setup for many years by a predecessor who has since retired. We mainly used it for pushing the client and setting bitlocker stuff. Now I want to push a 3rd party app to a non admin machine. Below is what errors I get in Software Manager as the non admin user. The deployment is set to install for system, it is required and hidden. The Device Client Settings is set to all users for permissions. I have no Network Access Accounts assigned as we are using HTTPS. What do I need to change or set to get this installed?

 

Failed to logon as network access account, 0x80070057	AppEnforce	07/19/2023 8:30:36 AM	8952 (0x22F8)
Failed in accessing working directory \\JCS1\Apps\DualShield, error 80070005	AppEnforce	07/19/2023 8:30:36 AM	8952 (0x22F8)
CMsiHandler::EnforceApp failed (0x80070005).	AppEnforce	07/19/2023 8:30:36 AM	8952 (0x22F8)
AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x80070005).	AppEnforce	07/19/2023 8:30:36 AM	8952 (0x22F8)
CommenceEnforcement failed with error 0x80070005.	AppEnforce	07/19/2023 8:30:36 AM	8952 (0x22F8)
Method CommenceEnforcement failed with error code 80070005	AppEnforce	07/19/2023 8:30:36 AM	8952 (0x22F8)
++++++ Failed to enforce app. Error 0x80070005. ++++++	AppEnforce	07/19/2023 8:30:36 AM	8952 (0x22F8)

 

2 Replies
best response confirmed by FraggleRock (Copper Contributor)
Solution
so it looks like you are trying to deploy an app and run it from a netowrk share instead of using the built in CM deployment methods. This can work, but not ideal if you are a large site unless you have that share distributed/replicated. And the computer system account would have to have access to the share since most things in CM run as the local system.

I would set the content path of the CM app to "\\JCS1\Apps\DualShield" and set the install program to just the exe and switches for the install. Update content on the deployment type tab (may not be needed if you change the content path) and distribute it to your DPs.

when you assign it to your machines/users, when it runs, it will download that content to the cache locally and run your exe from that cache folder as the working directory.

hope this helps.
Clyde
Thanks Clyde,
I was actually able to get it to work. There were a couple problems with my setup. Frist, the path of "\\JCS1\Apps\DualShield" didn't work as it needed to be "\\JCS1.domain.com\Apps\DualShield" Then just the setup.exe file under install program like you mentioned. Then for some reason not all of the rule was getting pushed to the client. Once it was all pushed it was able to install.
1 best response

Accepted Solutions
best response confirmed by FraggleRock (Copper Contributor)
Solution
so it looks like you are trying to deploy an app and run it from a netowrk share instead of using the built in CM deployment methods. This can work, but not ideal if you are a large site unless you have that share distributed/replicated. And the computer system account would have to have access to the share since most things in CM run as the local system.

I would set the content path of the CM app to "\\JCS1\Apps\DualShield" and set the install program to just the exe and switches for the install. Update content on the deployment type tab (may not be needed if you change the content path) and distribute it to your DPs.

when you assign it to your machines/users, when it runs, it will download that content to the cache locally and run your exe from that cache folder as the working directory.

hope this helps.
Clyde

View solution in original post