12

Well the title says it, in a Windows Service, will the Start Parameters be preserved after a reboot if the Start is of type "Automatic"?

Many Thanks

16

No. The Service Manager GUI stinks.

If you want to actually save start parameters, then go to \\HKLM\SYSTEM\CurrentControlSet\Services in the registry. Find your service. You can also enter startup parameters as part of the ImagePath key.

enter image description here

| improve this answer | |
  • thanks, so if I set a service to start automatically from within the UI and set there the start parameters, am I supposed to see these appended to the ImagePath in the registry because I don't. Is there anywhere else in the registry where I can see what parameters were set within the UI? Many thanks. – Giuseppe Romagnuolo May 17 '13 at 5:58
  • Yes, in this case, forget the GUI. The GUI sucks. It works for passing in parameters one time, but it will not save them. I'm revising my answer to reflect that. Sorry for the inconvenience. – Ryan Ries May 17 '13 at 13:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.