I’m trying to execute a single uninstall command in Windows but that requires UAC acceptance to proceed. Is there a way to execute this without having to disable UAC?
The computer is in a domain but tried with a domain admin account and with a local admin account.
Below the commands used:
override run
completion=job
runas=localuser
asadmin=true
user=localuser (being localuser a local account member of the admin group)
password=required
run “C:\Program Files (x86)\CompletePath\uninst.exe”
or
override run
completion=job
runas=localuser
asadmin=true
user=domain\user (being user a domain admin)
password=required
run “C:\Program Files (x86)\CompletePath\uninst.exe”
Tried other combinations but the result are always the same. Or it keeps running forever or says completed but nothing happens.
Thanks in advance.