Solved

How to launch an app as administrator without giving the user local admin group membership?

Posted on 2016-10-26
9
115 Views
Last Modified: 2016-11-21
An app has to be launched as administrator, otherwise, it will not run properly.
But i do not want the computer user to be the member of local administrator group, for security reasons.
How would you make it?

Thanks!
0
Comment
Question by:techcity
  • 3
9 Comments
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 41860910
There is no secure way to achieve that goal. People might tell you there is, but those methods are utterly insecure.

The only secure way are 3rd party utilities like Powerbroker
0
 
LVL 13

Expert Comment

by:John Tsioumpris
ID: 41860945
There is a trick where you use task scheduler to create a task with admin rights and then you create a shortcut with the name of the task
schtasks /run /tn “TheTaskName”

Open in new window

Quotes
"

Open in new window

are needed....
0
 
LVL 54

Expert Comment

by:McKnife
ID: 41860968
That is no trick. And it will not work since tasks that you start elevated will not show visibly. If they show for you, it's because you use the same user account and you are admin already.
0
 
LVL 24

Expert Comment

by:NVIT
ID: 41860982
@ John,

I think one concern is while the program is running. What can the user do in the program? Can they access sensitive files? Can they run programs to elevate their non-admin account? etc.
0
 
LVL 54

Expert Comment

by:McKnife
ID: 41894982
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
One of the biggest threats facing all high-value targets are APT's.  These threats include sophisticated tactics that "often starts with mapping human organization and collecting intelligence on employees, who are nowadays a weaker link than network…
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.

786 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