Remote program execution over network

Team,

I'm looking for a small nice utility or piece of code which allows or shows how to start an executable on WinCE device from a networked remote PC.

Thanks,
Valery
Herbert De Jong
1)  Rapi start  can be used

1)  Rapi start  can be used to start a exe which is already on the device.

see

http://www.microsoft.com/downloadS/details.aspx?FamilyID=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&displaylang=en

2) http://www.essemer.com.au/windowsce

CEUtils can also be used to additionally copy a exe to the device first.


sample below to launch Remote Display on device:


CD ASRDisp


..\progs\cecopy.exe "cerdisp2.exe"    "dev:\windows\cerdisp2.exe"


echo Remote Display copied and will be started on device.


ASRDisp.exe


CD ..
CD progs


cecopy.exe "KillProc.exe"     "dev:\Windows\KillProc.exe"


rapistart killproc cerdisp2.exe


echo Remotely killed.


cedel.exe      "CE:\Windows\KillProc.exe"

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Herbert,Thanks but RAPI is

Herbert,

Thanks but RAPI is for ActiveSync-ed devices only. I'm looking for a true networked one where I can specify target CE device(s) by IP.


Actually customer wants to be able to reboot the devices

Valery

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Herbert,Thanks but RAPI is

Herbert,

Thanks but RAPI is for ActiveSync-ed devices only. I'm looking for a true networked one where I can specify target CE device(s) by IP.


Actually customer wants to be able to reboot the devices remotely. I was

Valery

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Herbert,Thanks but RAPI is

Herbert,

Thanks but RAPI is for ActiveSync-ed devices only. I'm looking for a true networked one where I can specify target CE device(s) by IP.


Actually customer wants to be able to reboot the devices remotely. I was thinking of using

Valery

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Herbert,Thanks but RAPI is

Herbert,

Thanks but RAPI is for ActiveSync-ed devices only. I'm looking for a true networked one where I can specify target CE device(s) by IP.


Actually customer wants to be able to reboot the devices remotely. I was thinking of using warmboot.exe for this

Valery

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Gene Niles
This sounds like an

This sounds like an invitiation to a security hole. If we were to implement something like this any thing on the network can send unsolicted messages.

Now with that said, you may want to consider some sort of server program that would listen for a connection, and act upon it after some level of authenication takes place. A telnet server on the mobile may fit this bill but do not know of any off hand.

Another alternative could be to implement something (for demo purposes only) like we have on SymScript and emScript. These tools have samples that poll a network loaction (on an FTP server) for a command file, download it, and then execute the statements in the script. This is not such security risk since communication is initiated and controlled from the device.

hope this helps
Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Tariq Hasan
Val, Use MSP :-) Not aware

Val,

Use MSP :-)
Not aware of 3.x but 2.9 had a feature where you could run a .exe on the terminal from the MSP console.
Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Allan Herrod
There are certainly several

There are certainly several ways you could do this using MSP 3.x.  I would need to know more about your requirements to recommend the best way.  And, of course, you would need to be using MSP for that to help.
Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Arsen Bandurian
MSP is your choice: 1.

MSP is your choice:

1. Secure (more or less )
2. Reboot one device via Remote Control or reboot groups of devices using actions/policies.

You could also try investigating PocketBrowser - if it's able to execute local apps (I didn't check), you could use PushNavigate to push this request to the device. And it comes free on MK500
Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
The request came from the

The request came from the partner who has a custom application for the MK1200/2200 kiosks and now want to add MK500. The application has a management part (server based) which in particular does discovery of the kiosks in the network, pushes the software to them and reboots the devices to get the software installed and running. Old kiosks had snmp agent and ftp server so the task was relatively easy. MK500 has neither of them. FTP is an easy part but discovery and remote reboot seems complicated. My idea was to reboot by remotely starting the warmboot.exe.

Of course MSP was the first that I've proposed - but obviously they need to incorporate the above into their own application.
Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments