Bob K
2005-01-02 21:38:02 UTC
In using ChangeServiceConfig to change only the start type to
SERVICE_BOOT_START, I get the error:
ERROR_INVALID_PARAMETER (87) - The parameter is incorrect
If I use this exact same call to set the start type to any of the other
valid values, it works fine.
The doc for ChangeServiceConfig does specify that SERVICE_BOOT_START is an
acceptable parameter.
I have tried changing the permissions of OpenSCManager and OpenService to
"all access" but it didn't help.
Any ideas??
I am just about ready to just poke the registry directly ("Start" value),
but I'm sure purists will object.
Thanks,
Bob
SERVICE_BOOT_START, I get the error:
ERROR_INVALID_PARAMETER (87) - The parameter is incorrect
If I use this exact same call to set the start type to any of the other
valid values, it works fine.
The doc for ChangeServiceConfig does specify that SERVICE_BOOT_START is an
acceptable parameter.
I have tried changing the permissions of OpenSCManager and OpenService to
"all access" but it didn't help.
Any ideas??
I am just about ready to just poke the registry directly ("Start" value),
but I'm sure purists will object.
Thanks,
Bob