Server configuration: remote access - SQL Server (2024)

  • Article

Applies to: Server configuration: remote access - SQL Server (1) SQL Server

This article is about the remote access configuration option, which is a deprecated SQL Server to SQL Server communication feature.

This option affects servers that are added by using sp_addserver and sp_addlinkedserver. You should leave remote access enabled (the default) if you use linked servers.

Important

This feature will be removed in a future version of SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

If you reached this page because you're having trouble connecting to SQL Server, see one of the following articles instead:

Programmers might be interested in the following articles:

Manage remote access

The remote access configuration option controls the execution of stored procedures from local or remote servers on which instances of SQL Server are running.

The default value for the remote access option is 1 (enabled). This grants permission to run local stored procedures from remote servers or remote stored procedures from the local server. To prevent local stored procedures from being run from a remote server or remote stored procedures from being run on the local server, set the option to 0 (disabled).

This setting doesn't take effect until you restart SQL Server.

Remote access is required for the log shipping status report in SQL Server Management Studio (SSMS) to work and the LSAlert Job to complete appropriately.

Permissions

Execute permissions on sp_configure with no parameters or with only the first parameter are granted to all users by default.

To execute sp_configure with both parameters to change a configuration option, or to run the RECONFIGURE statement, a user must be granted the ALTER SETTINGS server-level permission. The ALTER SETTINGS permission is implicitly held by the sysadmin and serveradmin fixed server roles.

Use SQL Server Management Studio

  1. In Object Explorer, right-click a server and select Properties.

  2. Select the Connections node.

  3. Under Remote server connections, select or clear the Allow remote connections to this server check box.

Use Transact-SQL

  1. Connect to the Database Engine.

  2. From the Standard bar, select New Query.

  3. Copy and paste the following example into the query window and select Execute. This example shows how to use sp_configure to set the value of the remote access option to 0.

EXEC sp_configure 'remote access', 0;GORECONFIGURE;GO

For more information, see Server configuration options.

Related content

Server configuration: remote access - SQL Server (2024)
Top Articles
Housing in Europe: Where do people rent more than they buy?
How to Withdraw Tron (TRX) to a Bank Account in 2024
Craigslist San Francisco Bay
Use Copilot in Microsoft Teams meetings
Kem Minnick Playboy
Dannys U Pull - Self-Service Automotive Recycling
Ds Cuts Saugus
Comcast Xfinity Outage in Kipton, Ohio
Is Sportsurge Safe and Legal in 2024? Any Alternatives?
Tabler Oklahoma
What is a basic financial statement?
REVIEW - Empire of Sin
1Win - инновационное онлайн-казино и букмекерская контора
ExploreLearning on LinkedIn: This month's featured product is our ExploreLearning Gizmos Pen Pack, the…
A rough Sunday for some of the NFL's best teams in 2023 led to the three biggest upsets: Analysis - NFL
10-Day Weather Forecast for Santa Cruz, CA - The Weather Channel | weather.com
3S Bivy Cover 2D Gen
Milanka Kudel Telegram
Lola Bunny R34 Gif
Allybearloves
Samantha Aufderheide
Quick Answer: When Is The Zellwood Corn Festival - BikeHike
At&T Outage Today 2022 Map
How to Watch Every NFL Football Game on a Streaming Service
Aspenx2 Newburyport
Inkwell, pen rests and nib boxes made of pewter, glass and porcelain.
Discord Nuker Bot Invite
Die 8 Rollen einer Führungskraft
Craigs List Jax Fl
+18886727547
Used 2 Seater Go Karts
Indiana Jones 5 Showtimes Near Jamaica Multiplex Cinemas
Soiza Grass
Matlab Kruskal Wallis
Myhrconnect Kp
Hattie Bartons Brownie Recipe
Ippa 番号
Baywatch 2017 123Movies
Pinellas Fire Active Calls
R Nba Fantasy
The Thing About ‘Dateline’
Labyrinth enchantment | PoE Wiki
Plead Irksomely Crossword
Сталь aisi 310s российский аналог
Leland Nc Craigslist
Senior Houses For Sale Near Me
Gon Deer Forum
Www.homedepot .Com
Model Center Jasmin
Diesel Technician/Mechanic III - Entry Level - transportation - job employment - craigslist
Chitterlings (Chitlins)
Latest Posts
Article information

Author: Ms. Lucile Johns

Last Updated:

Views: 5949

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ms. Lucile Johns

Birthday: 1999-11-16

Address: Suite 237 56046 Walsh Coves, West Enid, VT 46557

Phone: +59115435987187

Job: Education Supervisor

Hobby: Genealogy, Stone skipping, Skydiving, Nordic skating, Couponing, Coloring, Gardening

Introduction: My name is Ms. Lucile Johns, I am a successful, friendly, friendly, homely, adventurous, handsome, delightful person who loves writing and wants to share my knowledge and understanding with you.