Author Topic: UAC Integration?  (Read 1773 times)

0 Members and 1 Guest are viewing this topic.

BHarr

  • Guest
UAC Integration?
« 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

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: UAC Integration?
« Reply #1 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.
The best things in life are free.

BHarr

  • Guest
Re: UAC Integration?
« Reply #2 on: May 29, 2011, 11:37:32 PM »
Thank you, been eager to get an "good answer."

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: UAC Integration?
« Reply #3 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
The best things in life are free.