Execute file .exe like a service

G

Guest

Hello everyone first I want to thank you for your attention and help you can
give me ; I'd like can run file .exe throught a service windows , so I can
run it from remote , for example start a service on a server in Dataroom that
start program.exe.
I made it in the past but I don't remember I try to find documentation on
internet and consult windows Help but I don't have a lot of time, I'm very
very busy !
Someone can explain me How to do this , thanka in advance
Leonardo
 
S

Steve Parry [MVP]

Leopoldino said:
Hello everyone first I want to thank you for your attention and help you
can give me ; I'd like can run file .exe throught a service windows , so
I can run it from remote , for example start a service on a server in
Dataroom that start program.exe.
I made it in the past but I don't remember I try to find documentation on
internet and consult windows Help but I don't have a lot of time, I'm very
very busy !
Someone can explain me How to do this , thanka in advance
Leonardo

Take a look for srvany.exe

http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

and take a peek here for remote service operation

http://www.sysinternals.com/Utilities/PsService.html
 
S

Steve Parry [MVP]

Leopoldino said:
Hello everyone first I want to thank you for your attention and help you
can give me ; I'd like can run file .exe throught a service windows , so
I can run it from remote , for example start a service on a server in
Dataroom that start program.exe.
I made it in the past but I don't remember I try to find documentation on
internet and consult windows Help but I don't have a lot of time, I'm very
very busy !
Someone can explain me How to do this , thanka in advance
Leonardo

PS http://www.tacktech.com/pub/microsoft/service/srvany.zip
 
D

David H. Lipman

From: "Leopoldino" <[email protected]>

| Hello everyone first I want to thank you for your attention and help you can
| give me ; I'd like can run file .exe throught a service windows , so I can
| run it from remote , for example start a service on a server in Dataroom that
| start program.exe.
| I made it in the past but I don't remember I try to find documentation on
| internet and consult windows Help but I don't have a lot of time, I'm very
| very busy !
| Someone can explain me How to do this , thanka in advance
| Leonardo

Use the SC.EXE command to create a NT Service.

sc create /?

Creates a service entry in the registry and Service Database.
SYNTAX:
sc create [service name] [binPath= ] <option1> <option2>...
CREATE OPTIONS:
NOTE: The option name includes the equal sign.
type= <own|share|interact|kernel|filesys|rec|error>
(default = own)
start= <boot|system|auto|demand|disabled|error>
(default = demand)
error= <normal|severe|critical|error|ignore>
(default = normal)
binPath= <BinaryPathName>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
(default = LocalSystem)
DisplayName= <display name>
password= <password>
 
G

Guest

Steve probably answer is your job but I want to thank you however,
have a Nice Week End
Leonardo

31 march 2006 , Italy
 
D

Dave Patrick

Maybe you don't need a service just remote control?

http://www.sysinternals.com/Utilities/PsExec.html

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello everyone first I want to thank you for your attention and help you
can
| give me ; I'd like can run file .exe throught a service windows , so I can
| run it from remote , for example start a service on a server in Dataroom
that
| start program.exe.
| I made it in the past but I don't remember I try to find documentation on
| internet and consult windows Help but I don't have a lot of time, I'm very
| very busy !
| Someone can explain me How to do this , thanka in advance
| Leonardo
 
S

Steve Parry [MVP]

Delollis said:
Steve probably answer is your job but I want to thank you however,
have a Nice Week End
Leonardo


Hi Leonardo,

Answering is not my job, it's a hobby ... and a sign I "need" to get out
more ;)

Thanks for the feedback, much appreciated

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top