Solved

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

Posted on 2016-10-26
9
108 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 53

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 53

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 23

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 53

Expert Comment

by:McKnife
ID: 41894982
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

Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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.

911 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

23 Experts available now in Live!

Get 1:1 Help Now