Notikumi
29. apr. 14 - 30. apr. 19
Pievienojieties galvenajam Windows Server virtuālajam notikumam no 29. līdz 30. aprīlim, lai iegūtu padziļinātas tehniskās sesijas un tiešraides jautājumus un atbildes ar Microsoft inženieriem.
Reģistrēties tūlītŠī pārlūkprogramma vairs netiek atbalstīta.
Jauniniet uz Microsoft Edge, lai izmantotu jaunāko līdzekļu, drošības atjauninājumu un tehniskā atbalsta sniegtās priekšrocības.
Deletes a service subkey from the registry. If the service is running or if another process has an open handle to the service, the service is marked for deletion.
Piezīme
We don't recommend you to use this command to delete built-in operating system services such as DHCP, DNS, or Internet Information Services. To install, remove, or reconfigure operating system roles, services and components, see Install or Uninstall Roles, Role Services, or Features
sc.exe [<servername>] delete [<servicename>]
Parameter | Description |
---|---|
<servername> |
Specifies the name of the remote server on which the service is located. The name must use the Universal Naming Convention (UNC) format (for example, \myserver). To run SC.exe locally, don't use this parameter. |
<servicename> |
Specifies the service name returned by the getkeyname operation. |
/? | Displays help at the command prompt. |
To delete the service subkey NewServ from the registry on the local computer, type:
sc.exe delete NewServ
Notikumi
29. apr. 14 - 30. apr. 19
Pievienojieties galvenajam Windows Server virtuālajam notikumam no 29. līdz 30. aprīlim, lai iegūtu padziļinātas tehniskās sesijas un tiešraides jautājumus un atbildes ar Microsoft inženieriem.
Reģistrēties tūlīt