I am using SCCM to deploy and install MSI, but the program requires elevated privelages in order to install correctly. I need a script to call the MSI and install it under a different user ID and password. Any assistance would be greatly appreciated. Thank you in advance.

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


What version of SCCM are you using? Anyway in both, you should be able to specfy the user account to use to install the product *in SCCM*, but in all honesty you should be fine with the Local System Account.

SCCM2007 Program
When you create the program you should select "Run with Admin Rights", this is the local system account.

SCCM2007 Task Seq
You will need to use the task sequence to deploy a
product with diff username and password. see link below to get an idea.


No idea, someone else will need to answer that Q. But one would assume it would like 2007...almost. 


Trying to figure out if your new to SCCM, or that you have a specific requirement to use another user context.

Answered 05/28/2014 by: rileyz
Red Belt

Please log in to comment



I agree with the above, but I know that sometimes you have to install it with a NON system acc.

This will happen one day, so, create a AD acc that is NOT a system account, make sure it is a member of the LocalAdministrators group of the clients.

I have had something similar, where I had to deploy via CD, (in the post) an application to remote users, I created a VBS that ran the install command with a local user acc (that was an administrator). Don't worry, the VBS was encrypted.

But as I told my client. The encryption will take approx. 1.5 seconds to crack, assuming it takes you 1 second to log in and run the decryption hack tools. They were happy with the risk. (It would prevent to overly curious people from editing the unencrypted VBS in a text editor.)

Not a proud day for me.... But it got the job done.

Answered 11/10/2014 by: Badger
Red Belt

Please log in to comment

If your SCCM doesn't have the rights to install an MSI, you've broken something.  No script is needed to install anything - SCCM has the appropriate security rights to manage everything.

Answered 05/28/2014 by: vjaneczko
Seventh Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja