Jump to content
Sign in to follow this  
ngocdaica

How to End Process in services.msc?

Recommended Posts

ngocdaica

Dear!

I have a problem! I want to kill a process in service process by my script, but I can't...

For Ex: To kill process ***.exe in process services.msc, what can I do?

Thanks for all of yours support!

Share this post


Link to post
Share on other sites
BrettF

Dear!

I have a problem! I want to kill a process in service process by my script, but I can't...

For Ex: To kill process ***.exe in process services.msc, what can I do?

Thanks for all of yours support!

Maybe this can get you on your way?

#include "ServiceControl.au3"
$servicename = "MyServiceName"
_DeleteService("", $servicename)

Share this post


Link to post
Share on other sites
ngocdaica

Thank you so much!

I will try it and reply you soon.

Sincerely!

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.