diff --git a/src/NewRelic.Microsoft.SqlServer.Plugin/Core/InstallController.cs b/src/NewRelic.Microsoft.SqlServer.Plugin/Core/InstallController.cs index 6ceebe5..248fcf5 100644 --- a/src/NewRelic.Microsoft.SqlServer.Plugin/Core/InstallController.cs +++ b/src/NewRelic.Microsoft.SqlServer.Plugin/Core/InstallController.cs @@ -32,6 +32,7 @@ public InstallController(string serviceName, bool isProcessElevated) public void Install() { Install(true); + StartService(); } public void Uninstall() diff --git a/src/NewRelic.Microsoft.SqlServer.Plugin/Core/ServiceProcessInstaller.cs b/src/NewRelic.Microsoft.SqlServer.Plugin/Core/ServiceProcessInstaller.cs index 87ccdd9..9eb31c2 100644 --- a/src/NewRelic.Microsoft.SqlServer.Plugin/Core/ServiceProcessInstaller.cs +++ b/src/NewRelic.Microsoft.SqlServer.Plugin/Core/ServiceProcessInstaller.cs @@ -8,8 +8,8 @@ public sealed class ServiceProcessInstaller : System.ServiceProcess.ServiceProce { public ServiceProcessInstaller() { - //Installs using local Service, this will need to be updated with the proper credentials after install - Account = ServiceAccount.LocalService; + //Installs using Local System. This may need to be updated with the proper credentials after install. + Account = ServiceAccount.LocalSystem; } } } \ No newline at end of file