PsExec

Hi,

Can I package PsExec.exe along with my application setup files.
I need to remotely setup my client applications from the Server machine, for this I need PsExec.
Will this attract any licensing issues.

Regards
Allan
Allan_FernandesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

c_a_n_o_nCommented:
No.  I found this great script that may help you along.
Source: http://forum.sysinternals.com/psexec-launching-setupexe-on-remote-server_topic18643_page2.html
Set objShell = CreateObject("Wscript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objNTInfo = CreateObject("WinNTSystemInfo")
strPSExec = "C:\Windows\psexec.exe"
strPSExec = objFSO.GetFile(strPSExec).ShortPath
strUser = "username"
strPass = "password"
strCmd = "cmd /c " & strPSExec & " \\%computername% " & " -accepteula " & " -d " & " -e " & " -u " & strUser & " -p " & strPass & " ""\\servername\install\AcrobatWriter5\Acrobat 5\setup.exe"""
strRealCmd = "cmd.exe /c echo " & strCmd & " & pause"
objShell.Run strRealCmd

Open in new window

0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
You cannot package PsExec. See Eula.txt, item 2:

You may not:
[...]
* transfer the software or this agreement to any third party; or
It is legit to download PsExec on the remote site, and then use or copy it there. It is even legit to implement the download in the setup itself. But strictly seen you may not copy the program to other sites:
"You may install and use any number of copies of the software on your devices."
0
johnb6767Commented:
Packaging it internally should be fine, for different sites of the org, but not to distribute outside of your company (eg. customers, vendors etc...)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.