Scripting Question

What is the difference between installing package through psexec and interactive cmd?

02/28/2014 6669 views

There  is 1 package called "DimensionalSolutions_Foundation3D_5.5.0", When we run setup.exe thorugh system context we are getting different behaviours.

thorugh psexec - setup.exe installs without any error

through interactive cmd service - it throws internal error - Error Number: 0x80040707

We searched a lot, to investigate, but apart from nelow link did not get much information :


Now confusion is, if its installshield setup's internal problem then why its not throwing error in both the ways? (through interactve cmd and through psexec)

Q - 2,

which installation method is exact replica of sccm installation? interactive cmd? or psexec?

0 Comments   [ + ] Show comments


All Answers


The interactive CMD opens the CMD for the local System account on the machine it's launched on. PSExec is designed to remote to machines and operate (by default) with THAT machine's System account. The latter is the best way to mimic and deployment system which uses the remote machine's System account. Remember you may have to use the '-h' argument and that you can also specify different credentials to execute the command remotely. That will be mandatory if the command (or any process that it spawns) requires network access.

Answered 02/28/2014 by: VBScab
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ