Microsoft KB Archive/248660

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:14, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Using Command Line Locally to Change Startup Value of Services Remotely, Locally

Article ID: 248660

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Server 4.0 Standard Edition



This article was previously published under Q248660

SUMMARY

This article explains how to change the startup values for services on local and remote computers by using the command line locally.

MORE INFORMATION

The Reg.exe utility from the Microsoft Windows NT Resource Kit must be installed on your computer.

To change the startup value for a service on a local computer by using the command line, type the following at the command prompt and then press ENTER:

REG UPDATE HKLM\SYSTEM\CurrentControlSet\Services\servicename\Start=X


where servicename is the name of the service as it appears in the registry and X is either a 2, a 3, or a 4 (representing automatic startup, manual startup, or disabled, respectively).

To change the startup value for a service on a remote computer by using the command line locally, type the following at the command prompt and press ENTER:

REG UPDATE HKLM\SYSTEM\CurrentControlSet\Services\servicename\Start=X \\servername


where servicename is the name of the service as it appears in the registry, X is either a 2, a 3, or a 4 (representing automatic startup, manual startup, or disabled, respectively), and servername is the name of the remote server.

To see how the service name appears in the registry, view the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ 
                

Keywords: kbinfo KB248660