Solved

Run program as admin without clicking on Win7

Posted on 2013-10-31
7
485 Views
Last Modified: 2013-11-06
Hi,

I have a couple of programs that I need to run as administrator.  Every time I launch the program, Windows 7 security  brings up a permission screen requiring me to click on it.

I'd like to to be able to launch a couple of programs from a Windows equivalent of a cron, but how can I do that if I have to be there to click to grant permission?

Can I give a program admin privileges without having my personal interaction?  Is there a way to do this?
0
Comment
Question by:ugeb
7 Comments
 
LVL 1

Expert Comment

by:Jpoppi
ID: 39615509
I'm thinking this might have something to do with UAC. Maybe try disabling UAC completely and see if the prompt still appears.

Disable UAC

If this works, and you still want UAC turned on (Recommended), you might have to go down this path, which is a little more complicated. (This guide also applies for Win 7)

Disable UAC for a select program
0
 
LVL 90

Accepted Solution

by:
John Hurst earned 500 total points
ID: 39615510
The way to do this in Windows 7 is to use Windows Scheduler (Task Scheduler). Scheduler can start Admin tasks with permissions.

Run with Highest Privileges is under the General Tab. Take a look and it should do what you need.

.... Thinkpads_User
0
 
LVL 90

Expert Comment

by:John Hurst
ID: 39615514
@ugeb  - to the post above mine: I do NOT recommend you disable UAC. This is the wrong thing to do in Windows 7. It is there to help prevent people from accessing your computer if you click on a wrong link (for example).

... Thinkpads_User
0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 
LVL 5

Expert Comment

by:Recept
ID: 39615516
You can save the admin credentials and run scheduled tasks (equivalent of cron).

When you create a scheduled task set the following options in the General tab;
When running the task, use the following user account: (select your Admin account)
Run whether user is logged on or not
Run with the highest privilages
0
 
LVL 53

Expert Comment

by:McKnife
ID: 39616146
[scheduled task is the way to go, yes]
In addition: If your own account is an admin, you don't need to save a password, but you can select "run only when logged in". If it ain't admin, consider using the system account ("system"), because then, we don't need to save a password to the task. That task would fail if we changed the pw.
0
 
LVL 11

Author Closing Comment

by:ugeb
ID: 39629096
Thank you all for your comments.  I think the scheduler is what will work best for me. I'm iffy on disabling the UAC for anything as I've been bitten by the viral bugs before when my guard was down.

Thanks to all!
0
 
LVL 90

Expert Comment

by:John Hurst
ID: 39629098
@ugeb - Thanks and I was happy to help you with this.

... Thinkpads_User
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

707 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

18 Experts available now in Live!

Get 1:1 Help Now