Avast WEBforum

Other => General Topics => Topic started by: BHarr on May 29, 2011, 11:12:39 PM

Title: UAC Integration?
Post by: BHarr on May 29, 2011, 11:12:39 PM
Hello,
   Does anybody know the script code to where you can integrate UAC (user-account control) into a program, like what avast! does when password-protection is enabled and a user tries to open up the avast! UI (user-interface) or change programming settings on the avast! firewall, or the source-files/programming-files. Any help would be appreciated

Regards,
Brandon
Title: Re: UAC Integration?
Post by: Lisandro on May 29, 2011, 11:28:37 PM
There isn't such script and you won't find it.
The last reason for UAC is to avoid such situation.
If you don't want any UAC question, disable it.
If you want to configure which will and will not flag the question, you need a HIPS program.
Title: Re: UAC Integration?
Post by: BHarr on May 29, 2011, 11:37:32 PM
Thank you, been eager to get an "good answer."
Title: Re: UAC Integration?
Post by: Lisandro on May 29, 2011, 11:44:11 PM
You can make links to applications that use elevated rights and type the password just once. For instance:
C:\Windows\System32\runas.exe /user:<computer_name>\Administrator /savecred cmd.exe