Solved

How do i install a service on a remote PC

Posted on 1998-11-06
8
420 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
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mask & unmask data in journal 6 42
Windows update check through command line 8 38
How to make the default printer settings to all the users? 2 35
send to option in chrome 11 34
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

713 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