Windows Thread, msi install elevated privildges in Technical; Hi chaps
I'm looking to install the shockwave player msi on to some machines via the users' login script. The ...
7th February 2008, 10:11 AM #1
msi install elevated privildges
I'm looking to install the shockwave player msi on to some machines via the users' login script. The domain users don't have local administrative rights to the machines, so i was wondering if the switches or method was to install an msi with elevated priviledges using msiexec ?
IDG Tech News
7th February 2008, 11:26 AM #2
sorry to be a pain
but this is a bit urgent, need to get this sorted by lunchtime. Any ideas ?
7th February 2008, 11:34 AM #3
I think that you just need to chuck in the registry key as stated here to make any MSI run with elevated privileges. You should be able to set this key, install then unset it to return to a secured mode. You can do it via GP if you have a windows server system setup to which is also discussed in the link.
Last edited by SYNACK; 7th February 2008 at 11:35 AM.
Reason: Added info
7th February 2008, 11:38 AM #4
You could use autoit to elevate to a domain admin fairly securely.
RunAsSet('user', 'domain', 'pass',0)
7th February 2008, 11:54 AM #5
Why the login script? A startup script will run elevated.
7th February 2008, 12:57 PM #6
i tried adding the AlwaysInstallElevated key to a machine but after it failed to install following a sinlent install i run the msi directly via a network share as a domain user and when the installation ran i got the following error part of the way through install
Originally Posted by torledo
Error 1303: you have insuffient prividledges to access:
I then had to abort the installation.
looks like it needs to create or write to a folder on the system drive, and can't.
7th February 2008, 01:26 PM #7
I honestly would do it with autoit and compile it to a exe and then link that exe to group policy. Its only 2 lines of code to run msiexec as another user.
7th February 2008, 01:31 PM #8
- Rep Power
Why don't you just assign it through group policy? - This will install the msi using the system account.
7th February 2008, 02:04 PM #9
for some reason software deployment thru group policy has never played nice in our environment. I've given up on it and am looking at a proper software deployment solution i.e SMS to deal with centralised software deployment long-term.
Originally Posted by rusty155
Until then i'll give ZH's advice a go.
thanks for everyones input.
7th February 2008, 04:06 PM #10
Let us know if it works as I may get it wiki'ed about possible ways to elevate privileges.
8th February 2008, 12:05 PM #11
Intrigued.. what environment do you have where gpo deployment doesn't play nice?
We had that problem once, but abondoning classlinkxp and creating new policies and XP images from scratch resolved it.
Not exactly something that you could do in the half hour before lunch, I'll grant you.
By snakepottery in forum Windows
Last Post: 28th August 2012, 10:30 AM
By Craig_W in forum MIS Systems
Last Post: 22nd May 2008, 04:31 PM
By russdev in forum General Chat
Last Post: 23rd August 2007, 12:55 PM
By edie209 in forum Educational Software
Last Post: 1st November 2006, 12:06 PM
By ajbritton in forum Windows
Last Post: 9th August 2006, 03:04 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)