Search code examples
servicewindows-serviceswmi

WMI StartService Parameter


I am currently starting a Service in my C# code using WMI, and I would like to set its startup parameters.

Is there a way to do this? I couldn't find anything relevant so far.

Thanks in advance.

Thomas.


Solution

  • These other posts helped me to solve my issue :

    https://superuser.com/questions/809868/wmi-startservice-parameter

    Dynamics AX 2012 RegConfig does not work