Re: Remote restart of services

From: BobBrandt (BobBrandt.16tacv_at_mail.webservertalk.com)
Date: 05/25/04


Date: Tue, 25 May 2004 06:50:20 -0500


I think what Joel was asking was if there is a way of restarting a
Service, not the entire server.

The NET command only offers STOP and START functionality on the local
server you are working on.

There is a NETSVC command available for free download from the Windows
2000 Resource Kit (I have tried to attach it to the thread)

This command allowes you to
/STOP
/START
/PAUSE
/CONTINUE
and /QUERY the services on any server local or remote.

I am still working on how to make it work with VB effectively

Bob

   +----------------------------------------------------------------+
   | Attachment filename: netsvc.zip |
   |Download attachment: http://www.webservertalk.com/attachment.php?postid=794619 |
   +----------------------------------------------------------------+

--
BobBrandt
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message225942.html
 


Relevant Pages

  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Can you do the following on uksccmads01 ... The problem may actually have nothing to do with the new server but the ... From a command prompt try and see if you get any additional info ... Skipping site UK-CCM, this site is outside the scope ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Can you do the following on uksccmads01 ... The problem may actually have nothing to do with the new server but the ... Active Directory Forest Replication GUIDs Found: ... From a command prompt try and see if you get any additional info ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Default Server: uksccmads01.jw-uk.jameswalker.co.uk ... Output from dnslint on uksccmads01: No erros found, ... Active Directory Forest Replication GUIDs Found: ... From a command prompt try and see if you get any additional info ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Then change the secondary DNS to the other site DNS server. ... Skipping site UK-CCM, this site is outside the scope provided ... command line arguments provided. ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Both forward and reverse zones and server records have the correct IP ... Once you have found the error then on both servers, from a command ... Skipping site UK-CCM, this site is outside the scope provided ...
    (microsoft.public.windows.server.active_directory)