Diễn đàn    Quan tri mang    Quản lý service trong window

Thành viênTrả lời
aspnet

Lập trình không biên giới
608  bài
26-10-2008 21:34:2
để quản lý services trong windows xp bạn mở command line = cách bấm run -> cmd

-Query Status of a service
c:> sc query servicename

-stop a service
c:> sc stop servicename

-delete a service
c:> sc delete servicename

còn bình thường thì dùng services.msc cái này thì beginner thôi chưa prồ.
 
aspnet

Lập trình không biên giới
608  bài
26-10-2008 21:35:41
Windows services

Starting and stopping
On the command line (cmd.exe)
A Windows service can be started and stopped on the command line (if it is not disabled):

net start name-of-service
net stop name-of-service

Opening the services panel
Type services.msc in the Start-->run box.
Listing services
There are at least three ways to determine what services are: the registry, sc and services.msc. available.
Using the registry
The installed services can be found in the registry under

\\HKEY_LOCAL_MACHNINE\SYSTEM\CurrentControlSet\Services

Using sc
It's also possible to list the services with the command line utility sc:

C:\> sc query state= all | findstr SERVICE_NAME

Note: the space after state= is important. If omitted, sc tries to find a service named state=all which will, most probably, not exist.
If the state= all is omitted altogether, only running services will be returned.
services.msc
Typing services.msc into Run->Start, or into a cmd console, opens the Service panel which displays all installed services on the system.
Deleting a service
A service can either be deleted by removing all entries belonging to a service from the registry (see above). Or by using sc:

C:\> sc delete service-name
---
Coding for food
 
ngocchung832002


11  bài
23-7-2009 16:25:50
làm cái này cần phải nhớ chính xác 100% tên service anh ah. Vào services.msc cho nó trực quan. hi hiiis
---
 

Chủ đề gần đây :

Cùng loại :

Tên file Mô tả chi tiết Ngày
NWeb.zip (1) Module đơn giản Newsweb trên Dotnetnuke v10.x.x.x10/18/2025 8:08:11 AM
vspforum.zip (11) Ma nguon vspforum ngay xua4/18/2023 6:38:37 AM
pdfjs.rar (2) pdfjs 2017 : hiển thị tốt trên iphone 11, 12, 13 không lỗi, bản 2012 sẽ lỗi trên iphone6/21/2022 11:52:48 AM
pdfjs2.rar (2) Xem file pdf bằng viewer.hml cua pdfjs (thư viện chuẩn mozilla) 2012. https://mozilla.github.io/pdf.js/getting_started/#download có thể download bản prebuild tại đây6/21/2022 11:52:04 AM
runner.zip (0) using three.js, orbitcontrol to view an object move random on map. Di chuyển 1 đồ vật ngẫu nhiên trên bản đồ, sử dụng với demo nhân viên di chuyển trong văn phòng. Toàn js download về là chạy12/5/2019 5:55:14 PM
gmap.zip (1) google map + marker7/17/2019 2:25:05 PM
vinsmarthomeservice.zip (1) java post json to api, use AsyncTask, event listener7/9/2019 5:00:10 PM
fblogin.zip (0) Login facebook bang javascript SDK7/9/2019 9:16:37 AM
autocomplete-location.zip (2) autocomplete location geo from google place, html + js7/4/2019 4:37:55 PM
WebAPI.zip (8) api for android access db (v1.0.0)7/4/2019 9:14:17 AM