Solved

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

Posted on 2011-02-22
6
821 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anyone has experience of using cygwin rync to sync between Windows Servers ? 1 32
Deploying applications with MDT 2 14
Error in script 11 43
Entity Framework 7 27
OfficeMate Freezes on login or does not load after login credentials are input.
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 walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now