1.

Solve : How can i modify a windows 7 services with a bat?

Answer»

What the command to modify by example in WINDOWS 7 the searchindexer.xe service ?

Best Regards
One way is net start/stop (service name) (INDEXING service is listed as Windows Search in services.msc) and service name is Wsearch

examples:

net start Wsearch
net stop Wsearch

In services.msc the service STARTUP type MUST be set to one of:

Automatic (delayed start)
Automatic
Manual

If it is set to Disabled, then net start will not work.

Also

use the SC (service control) command, for help  type SC /? at the PROMPT, type SC QUERY to see a list of running services, type SC QUERY | FIND "SERVICE_NAME:" to just see the service names, read help for more...








Wonderful indeed.
Tried and running with net start and stop

putting the service name between ""

Best Regards



Discussion

No Comment Found