zsafadi

zsafadi

  • NA
  • 26
  • 0

Windows Service Start Mode

Apr 12 2005 7:30 AM
hi all, i created a windows service and build a controller to that service, just as the SQL Server Service Manager if any saw it. Anyway the problem is i want to control the startup mode of the windows service (Automatic, Manual, Disabled), in .Net you can specify this in the Service Installer but after that i didn't find a way to change it. Does anyone know a way to change the startup mode of the Windows Service in .Net? i think that i foud a way to do it in win32, but i need it in .Net... thanks for help

Answers (4)