Fix support for SQL server by using the right registry path