Greg
Greg

Reputation: 4045

AOS service is depending on unused local instance of SQL

Our production AOS server is configured to point to a remote SQL Server instance (per Server Configuration). there is also a local instance of SQL installed that may have been used at one point many moons ago, but definitely not anymore.

Every time we stop the local SQL instance, it also stops the AOS service, which affects production. If I go to services, and look at the properties of the AOS service, the Dependencies tab clearly shows that the service depends on the SQL instance.

We are trying to clean up unused instances of SQL, but I cannot find out where this dependency has been defined, thus can't stop it because it stops the AOS service too. Any idea?

AOS service showing dependency

Upvotes: 0

Views: 153

Answers (1)

Matej
Matej

Reputation: 7627

Use sc.exe to configure service.

Example:

sc.exe config "AOS$01" depend= ""

PS: in PowerShell use / (forward slash) instead of empty string.

Upvotes: 1

Related Questions