?
Solved

how to i run a installation as administrator on a workstation but still install application as the user

Posted on 2014-12-12
6
Medium Priority
?
99 Views
Last Modified: 2014-12-15
i have an application which has add-ins for outlook 2007. i need to run the application as a administrator, but under the users profile. If i run the application as a admin, or domain admin, when you open outlook after the installation, it opens as the <run as> user. When you close it, the add in isn't in the user thats logged in's outlook profile. Any ideas how to work around this?
0
Comment
Question by:Samz411
  • 2
  • 2
  • 2
6 Comments
 
LVL 99

Expert Comment

by:John Hurst
ID: 40497324
See if you can install the Add-in with Run As Administrator. Provide the admin credentials and it should install. Make sure UAC (User Account Control) is ENABLED. If the add-in needs installation, it should pop up UAC and then OK should require Admin Credentials.
0
 
LVL 57

Expert Comment

by:McKnife
ID: 40498114
That add-on is badly written. Report that problem to the manufacturer, maybe he has a solution.
As for a workaround: promote the user to admin, install that add-on and remove him from administrators again afterwards.
0
 

Author Comment

by:Samz411
ID: 40501058
didnt wanna go the long route and have to log the user out and back in again (as admin)

There should be a way to run as admin or domain admin or desktop admin but still install under the users profile.
No command line or anything of sorts to do this?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 99

Expert Comment

by:John Hurst
ID: 40501072
It depends on your add in. For well written apps, it is easy to start the install as the user and provide credentials as needed. Lots of apps (even those the work once installed) do not permit this, and so for those, you must log out / log in as admin. It is just the way it is. Do not let uninformed users do this.
0
 
LVL 57

Accepted Solution

by:
McKnife earned 2000 total points
ID: 40501510
If a setup uses the profile of the executing user to apply settings (which is true for your application), then this is bad design, period. If you start setup within the admin profile but would like to use different credentials, then you will have to ask the manufacturer to change this - there is no way for windows to mitigate this.
Why? Because if we change the profile to the other user, we are no longer entitled to run setup, we are no longer administrator. That's why i recommended what I recommended.
0
 

Author Closing Comment

by:Samz411
ID: 40501532
thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

757 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