Solved

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

Posted on 2011-02-22
6
831 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

770 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