I need to get an msi installed on a number of machines. I've written a script to check the version and deploy if necessary, but it doesn't seem to like the msiexec call. Can msiexec be run from a limited user, or only administrators? Can someone point me in the right direction.

Alternatively, what's a better solution?


You need the "Always install with elevated privileges" setting in Group Policy, either as a Domain Policy if you have AD, otherwise as a local policy on the individual PCs themselves.

Find it in User Configuration\Administrative Templates\Windows Components\Windows Installer.

  • So, that affects all uses of MSIEXEC? I've got a VBS that runs on startup and installs an MSI that lives on a server (if the MSI has a higher version). Could you please confirm? – Tim Almond Oct 26 '09 at 18:04
  • @Tim: If it's running at startup (not login) the script is running w/ system level permissions. – Zypher Jan 29 '10 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.