"SC.EXE config" and dollar sign in service name
- by Joe Schmoe
Say I want to make Windows Service startup dependent on SQL Server.
In my case service name for SQL Server is MSSQL$SQL11 (SQL11 is SQL Server instance name)
However, when I issue this command:
SC.EXE config MyService depend= MSSQL$SQL11
everything after the dollar sign is ignored. When I go to "Dependencies" tab in "Services" SQL Server is not…