Remote program execution over network

// Expert user has replied.
Y Yanis Dalabiras 3 years 6 months ago
48 10 0

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

Please Register or Login to post a reply

10 Replies

Y Yanis Dalabiras

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.

T Tariq Hasan

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.

A Allan Herrod

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.

A Arsen Bandurian

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

Y Yanis Dalabiras

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

Y Yanis Dalabiras

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

G Gene Niles

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

Y Yanis Dalabiras

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

Y Yanis Dalabiras

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

H Herbert De Jong

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-… 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"

CONTACT
Can’t find what you’re looking for?