RE: How can I enumerate all windows services and disable some of them?

| []
|
| | I know that Module win32service has some functions on manipulating
| | win32 services.
| | But I still have 2 questions:
| | 1. how to enumerate all services?
| | 2. how to disable a certain one?
|
| You can use WMI to do this if you want.

.... or I could actually read the question before answering.
I don't know if you can actually *disable* a service
from WMI. You can certainly stop it, but the status appears
to be a read-only option.

Sorry
TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:http://www.star.net.uk
________________________________________________________________________

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!