Execute-ProcessAsUser Admin

Hi

We lock our users’ machines by removing administrator rights, therefore the user cannot install anything without entering a user and pwd with local administration rights.

We have had no problems with the deployment of the app from the MDM, installing as system.

But with the latest software that we have received to distribute it is not installing correctly. If we perform the manual installation with the logged in user and enter the user/pwd of the local admin it works correctly. Therefore everything seems that the application must be run in the user’s context for it to install correctly.
We have tried configuring the app using Execute-ProcessAsUser, but the behavior is not as expected either.

Any ideas on how to install it with user context even if I don’t have administration rights?

Best regards