Solved

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

Posted on 2011-02-22
6
847 Views
Last Modified: 2012-06-22
How can I run a program without asking run "as admin prompt " as admin?
Can I do it with registry?
Thanks
0
Comment
Question by:fancyfanta
6 Comments
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 34956612
Create a shortcut

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

Use this to launch the program.
0
 

Author Comment

by:fancyfanta
ID: 34956717
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
 
LVL 4

Accepted Solution

by:
racastillojr earned 500 total points
ID: 34957589
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
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 
LVL 12

Expert Comment

by:John Griffith
ID: 34958155
Activate hidden admin account - http://sysnative.com/0x1/Hidden_Admin_Acct.html
0
 
LVL 13

Expert Comment

by:upalakshitha
ID: 34960956
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
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 34988476
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question