Distributable PsExec Alternative

Hi,

I need to deploy my application using PsExec.exe. On checking I got to know that the license does not permit distribution. I use Delphi 2007. Is there any other method.

Regards
Allan
Allan_FernandesAsked:
Who is Participating?
 
CodedKCommented:
Hi Allan,

I am a coder and I can tell you that building an app that acts the same way like PsExec is difficult and its the subject of more than one question and last its a lost cause because it will act like a virus and it will be blocked. It will raise every flag possible from firewalls and antivirus.

First you'll have to build the client and the server part. This is easy there are many examples out there, even in Delphi folder.

2. You have to embed/merge those 2 applications. This requires knowledge on reading and extracting a resource from a PE.

3. As the article i posted above you have to extract it and give the commands you want.

The second and the third part is the "virus" like behavior.
0
 
CodedKCommented:
Hi Allan.

PsExec contains another executable as a binary resource.

This executable is like a Win32 service that acts like a server. The main program creates a file in :
"\\RemoteSystemName\ADMIN$\System32" and saves the resource file inside. This is how it works.

I've never saw another application providing the same options like PsExec but I am sure that if one is around it will be marked as a virus/trojan like PsExec for many AVs.
So using something other than PsExec, even PsExec is bad for distribution in general!

Anyway if you can mimic the things PsExec do you can build something like this too and distribute your application until its marked as a virus from AVs.

Check this link also :
http://www.ntkernel.com/w&p.php?id=15

Hope this helps.
0
 
CodedKCommented:
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
CodedKCommented:
0
 
bbaoIT ConsultantCommented:
if all the alternatives won't work beautifully as you expected, why don't you just simply provide a link from your deployment application and allow end users to install PsExec themselves and your application call it afterward? :-))
0
 
johnb6767Commented:
I was in your other thread, and I still dont know why it needs to be included with the setup of your app...

If a package is run on the server to install it locally, are you trying to make it install remotely on the clients to as a part of the process??
0
 
Allan_FernandesAuthor Commented:
Hi John,

My application needs to reside on all the machines within the LAN of my customer. One machine is designated as the Server. All clients interact via Sockets to the Server and to each other. No sharing of drives is necessary. If I do not remotely install the clients then I will need to physically go to every machine in the office and request the user to hand me the machine for at least a minute. This I have been doing till now.
PsExec has come as a saviour. If other options do not work then I may have to settle in for bbao's solution. CodedK has given fantastic input too.

Thanks
Allan
0
 
johnb6767Commented:
Is there an AD Domain involved?
0
 
Allan_FernandesAuthor Commented:
Not really. Why do you ask ?


0
 
johnb6767Commented:
Theres other ways to deploy applications natively in GPO......
0
 
Allan_FernandesAuthor Commented:
Hi,

My application needs to be installed on any (and across any)  platform of windows, Win98/2000 onwards.

My Application Server can be installed on a low end win98 machine too.

If remote install does not happen across some platforms it is quite OK.

Is there any Delphi code equivalent to PSExec basic code. If not I will settle in for Download from the net at user end.

Thanks
Allan

0
 
johnb6767Commented:
Sorry, not a coder....
0
 
johnb6767Commented:
Might go as far as to contact MS Support and inquire about thier licensing....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.