Thành viên | Nội dung |
aspnet
Lập trình không biên giới 598 bài
| để 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 598 bài
| 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
| 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 ---
|
|