Remove Windows Services

ตอนลง MySQL เพิ่ม จำได้ว่า มันมี Service ชื่อเดิมอยู่ เลยไม่ยอม Start Service ให้ ต้องตั้งชื่ออื่นถึงลงได้
ใช้ ๆ ไปจนลืม วันนึงมีเหตุให้ต้องเปิด Service ขึ้นมาดู เลยเห็นว่า Service มันมีอยู่สองอัน

ไม่ดี ๆ เปลืองหน่วยความจำ จัดการ stop ซะ

แต่ก็ยังดูเกะกะลูกหูลูกตาอยู่ดี ไม่เอา ๆ เอาออกไปเลยดีกว่า ไม่ได้ใช้แล้วนี่ แต่เอาออกยังไงล่ะวา
และแล้วก็ต้องพึ่ง google แล้วก็ได้คำตอบ สั้น ๆ ง่าย ๆ เป็น Command line ของ Windows นี่เอง

sc

รายละเอียดก็ดู help ของโปรแกรมได้เลย

ที่เราต้องการก็คือเอาออก ดังนั้น ก็ต้องใช้ sc delete [service name]

sc delete mysql

ส่วนพวก Service ที่ชื่อยาว ๆ ก็ไม่ต้องงง ที่เห็นยาว ๆ นั่นเป็น Display name ชื่อจริง ๆ ให้ double click ดูครับ

Written by admin on August 6th, 2008 with no comments.
Read more articles on Admin and IT Tips.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:

You have to be identified to write a comment.