Link to home
Start Free TrialLog in
Avatar of fancyfanta
fancyfantaFlag for Türkiye

asked on

Always run a specified program as Administrator (Registry or etc)

How can I run a program without asking run "as admin prompt " as admin?
Can I do it with registry?
Thanks
Avatar of ☠ MASQ ☠
☠ MASQ ☠

Create a shortcut

Right-click > Properties > Shortcut Tab > Advanced button
Select "Run as administrator"

Use this to launch the program.
Avatar of fancyfanta

ASKER

I don't want to do it manually. Im programing a antivirus program.
But it asking always admin prompt.
I want to register it as run as administrotor always. Without asking.
ASKER CERTIFIED SOLUTION
Avatar of racastillojr
racastillojr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Antivirus software runs as a windows service(without user interaction).you should write it to be able to run as a service.

I think Question is in a wrong zone.
Take care disabling UAC, it's there to prevent the kind of behaviour your AV program wants to stop so doing this could actually end up being counter-productive.