Run an .exe as administrator in uipath studio

Can anyone help how to run an .exe application as administrator. Please give me the steps to follow

Hi

Hope these steps would help you resolve this
—open notepad and write this command

runas /user:Administrator applicationname.exe

If you have logged in as admin then this command will help
Type this and save the file as .bat file

—get the FilePath of the bat file and pass that as input to START PROCESS activity in UiPath and run it will application as admin

Or

If you are not the admin then ensure that you have the password to login and same way with bat file
But with this command

psexec \computername -u domain\user -p password “C:\Program Files\Internet Explorer\iexplore.exe”

Cheers @Ashok98

1 Like

Thank you so much!@Palaniyappan

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.