+ Post New Thread
Results 1 to 11 of 11
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 ...
  1. #1
    torledo's Avatar
    Join Date
    Oct 2007
    Posts
    2,928
    Thank Post
    168
    Thanked 155 Times in 126 Posts
    Rep Power
    48

    msi install elevated privildges

    Hi chaps

    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 ?

    TIA

  2. #2
    torledo's Avatar
    Join Date
    Oct 2007
    Posts
    2,928
    Thank Post
    168
    Thanked 155 Times in 126 Posts
    Rep Power
    48
    sorry to be a pain

    but this is a bit urgent, need to get this sorted by lunchtime. Any ideas ?

  3. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,247
    Thank Post
    882
    Thanked 2,745 Times in 2,319 Posts
    Blog Entries
    11
    Rep Power
    785
    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

  4. #4

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,713
    Thank Post
    950
    Thanked 1,359 Times in 830 Posts
    Blog Entries
    1
    Rep Power
    451
    You could use autoit to elevate to a domain admin fairly securely.
    Code:
    RunAsSet('user', 'domain', 'pass',0)
    RunWait('msiexec something.msi')

  5. #5

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,866
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Why the login script? A startup script will run elevated.

  6. #6
    torledo's Avatar
    Join Date
    Oct 2007
    Posts
    2,928
    Thank Post
    168
    Thanked 155 Times in 126 Posts
    Rep Power
    48
    Quote Originally Posted by torledo View Post
    sorry to be a pain

    but this is a bit urgent, need to get this sorted by lunchtime. Any ideas ?
    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

    Error 1303: you have insuffient prividledges to access:
    C:windows\systems32\macromed\update.

    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.

  7. #7

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,713
    Thank Post
    950
    Thanked 1,359 Times in 830 Posts
    Blog Entries
    1
    Rep Power
    451
    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.

  8. #8

    Join Date
    Jun 2006
    Location
    Dorset
    Posts
    111
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    17
    Why don't you just assign it through group policy? - This will install the msi using the system account.

  9. #9
    torledo's Avatar
    Join Date
    Oct 2007
    Posts
    2,928
    Thank Post
    168
    Thanked 155 Times in 126 Posts
    Rep Power
    48
    Quote Originally Posted by rusty155 View Post
    Why don't you just assign it through group policy? - This will install the msi using the system account.
    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.

    Until then i'll give ZH's advice a go.

    thanks for everyones input.

  10. #10

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,713
    Thank Post
    950
    Thanked 1,359 Times in 830 Posts
    Blog Entries
    1
    Rep Power
    451
    Let us know if it works as I may get it wiki'ed about possible ways to elevate privileges.

  11. #11

    Join Date
    Jul 2006
    Location
    London
    Posts
    1,271
    Thank Post
    114
    Thanked 243 Times in 194 Posts
    Blog Entries
    1
    Rep Power
    74
    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.



SHARE:
+ Post New Thread

Similar Threads

  1. Prodesktop install
    By snakepottery in forum Windows
    Replies: 65
    Last Post: 28th August 2012, 10:30 AM
  2. FMS Install
    By Craig_W in forum MIS Systems
    Replies: 27
    Last Post: 22nd May 2008, 04:31 PM
  3. Sky Install
    By russdev in forum General Chat
    Replies: 6
    Last Post: 23rd August 2007, 12:55 PM
  4. rm successmaker install
    By edie209 in forum Educational Software
    Replies: 11
    Last Post: 1st November 2006, 12:06 PM
  5. Run script with elevated permissions
    By ajbritton in forum Windows
    Replies: 3
    Last Post: 9th August 2006, 03:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •