[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 876
  • Last Modified:

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
0
fancyfanta
Asked:
fancyfanta
1 Solution
 
☠ MASQ ☠Commented:
Create a shortcut

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

Use this to launch the program.
0
 
fancyfantaAuthor Commented:
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.
0
 
racastillojrCommented:
Try disabling the User Account control. The link below will show you how to disable it.

http://windows.microsoft.com/en-US/windows-vista/Turn-User-Account-Control-on-or-off
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
John GriffithConsultantCommented:
Activate hidden admin account - http://sysnative.com/0x1/Hidden_Admin_Acct.html
0
 
upalakshithaCommented:
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.
0
 
☠ MASQ ☠Commented:
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.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now