Hi Guys,
How can I get installed sql server instances from registry? How I can determine default instance??
Thanks Rajesh
Hi Guys,
How can I get installed sql server instances from registry? How I can determine default instance??
Thanks Rajesh
Instance list:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names
The names are located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\InstalledInstances
The default instance is always named as MSSQLSERVER.