Step 1:Creating a Linked Server. EXEC sp_addlinkedserver ‘ADSI’, ‘Active Directory Services 2.5’, ‘ADSDSOObject’, ‘adsdatasource’ Step 2:Creating a SQL Server Authenticated Login EXEC sp_addlinkedsrvlogin rmtsrvname = N’ADSI’, locallogin = NULL , use