Article ID: 140378 - Last Review: November 1, 2006 - Revision: 3.1

Using NETSVC.EXE To Control and Display Services

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q140378
Expand all | Collapse all

SUMMARY

This article describes how to use NETSVC.EXE to control and display Windows NT services on a local or a remote computer.

You may also use NETSVC.EXE to view current driver status.

MORE INFORMATION

NETSVC.EXE is a command line utility which allows you to administer and query services on a Windows NT workstation or server.

In order to use this utility, you must first have adequate permissions on the target computer. In most cases, Local Administrator equivalencies are required.

SYNTAX: NETSVC servicename \\computername /command

Available command options:

   /query      Queries the status of the service
   /start      Starts the service
   /stop       Stops the service
   /pause      Pauses the service
   /continue   Starts the paused service
   /list       Lists installed services and drivers
				


Additionally, the /list option can be followed by the > command and a filename to write the output to file. For example:

NETSVC \\ABRAMELIN /LIST > SERVICES.TXT


NETSVC is available on the Windows NT Resource Kit CD-ROM under the \platform (x86, alpha, ppc, mips) \netadmin subdirectory, or on the SMS 1.1 CD-ROM, under the \PSSTOOLS\X86.BIN for x86 computers.

NOTE: The SMS CD-ROM contains the X86 version only.

APPLIES TO
  • Microsoft Systems Management Server 1.0 Standard Edition
  • Microsoft Systems Management Server 1.1 Standard Edition
  • MSPRESS Microsoft Windows NT Resource Kit 3.5
  • MSPRESS Microsoft Windows NT Resource Kit 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
Keywords: 
KB140378