Hi Guys,
Anyone know how to run a application from powerautomate desktop with admin rights.
Currently when i launch the software manually it prompts users to run as admin.
When running application from powerautomate desktop it doesnt run it as admin therefore program doesnt work.
Any help is greatly appreciated.
Thanks
Hello @christian12 ,
In case it helps,
What I've done to run apps with elevated rights from an unelevated and unattended PAD(interaction with UAC is not an option, but I don't wanna disable it) is:
@christian12 Note that you will need to run PAD with elevated permissions too. Otherwise, you will not be able to control the elevated app.
Hi @christian12
Could you try running this powershell script using Run Powershell script action, Then u can open the application
Pass path of application, adminusername, adminpassword in the respective variables as shown below 🙂
$applicationPath = "C:\Program Files\MyApp.exe"
$username = "Administrator"
$password = "password" | ConvertTo-SecureString -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential($username, $password)
Start-Process -FilePath $applicationPath -Credential $credential -Verb runAs