Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 427
  • Last Modified:

How do i install a service on a remote PC

I am trying to distribute and install a utility called Remote command prompt (rcmd.exe and rcmdsvc.exe) on some remote servers. the file Rcmdsvc.exe is run as a service and I need to install this file on about 120 machines.       then I need to start the rcmdsvc.exe service "Remote Command
Prompt Service" remotely from a batch process through the command prompt on these 120 machines. My problem is, what utility can I use to do the following tasks
1. Install a service on a remote PC
2. remove a service on a remote PC
3. start or stop a service on a remote PC.
I have used an a small app called serviceu.exe in the past to do this, but i don’t know where i can find this file, or anything similar

0
klute
Asked:
klute
  • 4
  • 2
  • 2
1 Solution
 
livniCommented:
SrvInstW.exe from the resource kit should do the install/remove

The server manager allows you to stop and start services remotly
0
 
kluteAuthor Commented:
SrvInstW.exe is a gui program. I dont have the time to start and stop a service and then install a service one machine at a time. I have over 100 machines and i need to do this from a batch file.
I could not get it to work in the past either when i tried to install a service on a remote server, because it tries to pull the exe. file from the local machine that you are on. But the file has to be on the remote server. SrvInstW.exe works perfectly when you try to install a service on a local machine one service at a time..

Thanks for the reply..

 
0
 
livniCommented:
ok...I understand.

Try to do this:
1. write a script that copies rconsvc.exe to all of your servers
2. also copy instsrv.exe from the resource kit to all of your servers
3. write a script that schdules instsrv at all those severs using
   at \\servername <blah blah blah> "instsrv ...."
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
livniCommented:
I forgot:

in order to stop or start a service in a remote computer,
schedule with at command :
at \\servername <blah blah> "net stop/start <servicename>"
0
 
livniCommented:
and when I said rconsvc.exe I ment rcmdsvc.exe
sorry...
0
 
kluteAuthor Commented:
This is another method of ecomplishing what i am trying to do
but it requires more steps and is more time consuming. I guess the root of my question is
where can i attain the file called serviceu.exe or something similiar. That is a dos based app that will alow you to do the following things.
1- start service
2- stop service
3- install service
4- uninstall service
on both the local machine and on the remote machine..


0
 
chris83Commented:
well i didn't notice the dates on the other posts, but that link will help anyone with that question
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now