How to... Delete a Service


Delete a Service

วันนี้นั่งทำงาน  นึกอยากจะลบ Service ในเครื่อง ทำไงหว่า จำไม่ได้ ค้นหาครับ ไปเจอเว็บนี้เลย http://www.cryer.co.uk/brian/windows/howto_nt_das.htm โดนใจมาก ใช่เลย ขอ copy ไว้ก่อนละ ไม่อยากแปล เดี๋ยวผิด

Normally it should not be necessary to manually delete a service. Uninstalling an application should remove its associated service (if any).

However, should it be necessary to manually remove a service:

  1. Run Regedit or regedt32.

  2. Find the registry entry:

    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

  3. Find the service there and delete it.
    You may wish to look at the keys and see what files the service was using and perhaps delete them also.

Note:

  • You will have to reboot before the list gets updated in server manager.
  • I have had it pointed out that some programs are cunning and prevent you from removing their service easily. (For example the spyware\malware called ‘Command Service’ - "cmdService".) These change the permissions to make it more difficult for you to delete them. For these you will have to right click on the ‘service’ in regedit (regedt32), go to permissions and grant the administrator full control before the service can be deleted.

These notes have been tested with Windows NT 4, Windows 2000 and Windows XP


คำสำคัญ (Tags): #delete a service
หมายเลขบันทึก: 107784เขียนเมื่อ 1 กรกฎาคม 2007 12:55 น. ()แก้ไขเมื่อ 11 กุมภาพันธ์ 2012 19:16 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (0)

ไม่มีความเห็น

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท