Jump to content

Recommended Posts

Posted

How can we set the process status like manual disabled in autoit as we can through the "services.msc" app........i tried GUI automation but Windows Info just doesn't read the SystreeView as individual entries.....Any Suggestions please???

Posted

How can we set the process status like manual disabled in autoit as we can through the "services.msc" app........i tried GUI automation but Windows Info just doesn't read the SystreeView as individual entries.....Any Suggestions please???

This can be done by WMI COM objects, or by just editing registry keys like:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger\Start

There is an AutoIt UDF for service management at: ServiceControl.au3 by SumTingWong

It hasn't been updated since December, 2004 and doesn't include that specific function, but opening the .au3 file will give you ideas.

:rolleyes:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...