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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
johnb6767Connect With a Mentor Commented:
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
 
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
 
QlemoConnect With a Mentor DeveloperCommented:
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
All Courses

From novice to tech pro — start learning today.