none
PSEXEC/PS1 - specify local admin to install exe RRS feed

  • Question

  • Hello,

    I am trying to push exe file through Microsoft Intune and need to run the exe file as local admin.
    I have package psexec, application.exe into intunewin format and push it through Intune and run the commnad - psexec.exe -h -u admin -p password -accepteula .\application.exe /s

    But I am not able to get it installed. How can I with powershell or Psexec specify local credentials to run exe file and package it as exe to push it throgh intune?

    The package does not install using System context thats why we are trying to run exe using PSEXEC or PS1 to run it with the local admin account on the computer

    Tuesday, June 16, 2020 8:32 PM

All replies

  • Via a Scheduled Task..

    Create a Group Policy that distribute the task and run it as local admin.

    HTH
    -mario

    Friday, June 26, 2020 9:18 AM