Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 873
  • 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
John GriffithCommented:
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

Problems using Powershell and Active Directory?

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

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