Solved

How do i install a service on a remote PC

Posted on 1998-11-06
8
418 Views
Last Modified: 2013-12-28
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
Comment
Question by:klute
  • 4
  • 2
  • 2
8 Comments
 
LVL 2

Expert Comment

by:livni
ID: 1794425
SrvInstW.exe from the resource kit should do the install/remove

The server manager allows you to stop and start services remotly
0
 
LVL 1

Author Comment

by:klute
ID: 1794426
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
 
LVL 2

Accepted Solution

by:
livni earned 50 total points
ID: 1794427
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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 2

Expert Comment

by:livni
ID: 1794428
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
 
LVL 2

Expert Comment

by:livni
ID: 1794429
and when I said rconsvc.exe I ment rcmdsvc.exe
sorry...
0
 
LVL 1

Author Comment

by:klute
ID: 1794430
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
 

Expert Comment

by:chris83
ID: 7930857
0
 

Expert Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question