Solved

How do i install a service on a remote PC

Posted on 1998-11-06
8
414 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
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…
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…

831 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