Running a particular Application with Admin privilege

Hi,

I need to run only one application with Admin privilege whilst logged in as a normal user. I do not want the user to type the password it needs to be cached in a script in the application launch.

Please help.
GulfITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

becraigCommented:
Here is a quick link on doing this:
http://technet.microsoft.com/en-us/magazine/ff431742.aspx

You will need to ensure UAC is configured so the user will get a prompt indicating the application needs elevation.
0
GulfITAuthor Commented:
Sorry the user does not have the password with him.
0
becraigCommented:
Then I can only suggest below (using savecred).

http://bjtechnews.org/tag/savecred-in-runas-command/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

GulfITAuthor Commented:
Is there any way can encrypt the password ?
0
becraigCommented:
Try looking at this tool:
http://www.robotronic.de/runasspcEn.html

I've not used it before, but it should encrypt the credential.
0
Scott ThomsonCommented:
Hi Gulf,

Can you give a little more detail about the type of user and program. While you may want to just run it with different credentials it may be easier with another solution.

With more information we may be able to find a more effective solution about how to run the application.

Some suggestions could be (without any information some may not be applicable)
- Launch the app on startup using a VB script or command prompt login script. This way its launched with the correct credentials and the user just sees the application open.
- placing the application on the network as a network install instead of a local install..

How often do they run this application?
0
GulfITAuthor Commented:
Done.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.