SQL Server 2025 Encryption Changes and the @@SERVERNAME Linked Server Problem
SQL Server 2025 Encryption Changes and the @@SERVERNAME Linked Server Problem Last updated: 2026-08-21 Table of Contents Why Microsoft Changed the OLE DB Driver The Certificate Requirement Why data access and provider string matter for @@SERVERNAME Procedure: Connect to @@SERVERNAME as a Linked Server The Recommended Fix vs. the Fallback Sources Why Microsoft Changed the OLE DB Driver SQL Server 2025 (17.x) removes the SQL Server Native Client (SQLNCLI) OLE DB provider. The Microsoft OLE DB Driver 19 for SQL Server (MSOLEDBSQL19) is the default OLE DB provider for linked servers. This driver adds support for TDS 8.0 and TLS 1.3. In OLE DB Driver 18 and earlier versions, the Encrypt setting had a default value of No. A linked server connection with no explicit Encrypt setting ran without encryption. Microsoft changed this default to close that security gap. In OLE DB Driver 19, the Encrypt setting has a default value of Mandatory. A linked server connecti...