Forum Discussion
OV
5 years agoFrequent Contributor
Hi Marsha,
Is there way to run the installer as admin. we are struggling by passing the UAC approval, we tried using this command like which doesn't seems to work - bat "runas /user:Administator TestExecute1481.exe -SilentInstall", it still saks for user name and password.
Is there a way to by pass the AUC via command like?
Thanks,
Ofer
AlexKaras
5 years agoCommunity Hero
Hi Ofer,
> Is there a way to by pass the AUC via command like?
Try powershell with the Runas verb: https://devblogs.microsoft.com/powershell/v2-quick-tip-starting-a-new-elevated-process-from-a-powershell-script/
https://superuser.com/questions/55809/how-to-run-program-from-command-line-with-elevated-rights