You must disable a service before you can set most properties on it. You can verify if the service is disabled by viewing its status. The only properties you can set for an enabled service are:
If you set other properties while the service is enabled, the property value changes take effect only after you disable, then enable the service again.