|
Question : Service is not saving the start parameter
|
|
I have a service on a Windows 2003 server that requires a start parameter. I can enter the parameter in the properties and start the service correctly, but it will not save the start parameter. The next time I reboot and the service starts automatically, there is no start parameter used or listed in the properties. How can I correct this? Thanks!
|
|
Answer : Service is not saving the start parameter
|
|
The field in the MMC will indeed only work a single time. To make this permanent, start regedit (the usual precautions apply) and go to HKLM\System\CurrentControlSet\Services\rviceName>, and edit the value ImagePath; add the argument at the end. For an example, compare with HKLM\System\CurrentControlSet\Services\Alerter, which uses svchost.exe and the parameters "-k LocalService": ImagePath=%SystemRoot%\system32\svchost.exe -k LocalService
|
|
|
|