0

I would like to programmatically install using a give AD user / delete / check the status of a windows services using C#. I would need to constantly check the status of these dynamically created services from a remote machine.

Is there any way to achieve this ?

Thank you.

Marius Ilie
  • 220
  • 2
  • 13
  • this might help you http://www.c-sharpcorner.com/UploadFile/sachin.nigam/InstallingWinServiceProgrammatically11262005061332AM/InstallingWinServiceProgrammatically.aspx – Zain Mar 08 '16 at 08:19
  • @Zain I'll try this, and update as soon as I have a result, thank you. – Marius Ilie Mar 08 '16 at 08:23

1 Answers1

0

The solution provided in this threads suits my needs very well, and I have no issue in creating and managing remote services.

Programmatically Install Windows Service On Remote Machine

Community
  • 1
  • 1
Marius Ilie
  • 220
  • 2
  • 13