The Name parameter passes the name of the service to install to the Create method. The maximum string length is 256 characters. ...

The Name parameter passes the name of the service to install to the Create method. The maximum string length is 256 characters. The service control manager database preserves the case of the characters, but service name comparisons are always case insensitive. Forward-slashes (/) and double back-slashes (\\) are invalid service name characters.