How to Suppress the Access Remote SQL Server Connection Warning
Question details
Users encounter a security warning in Microsoft Access when a form or startup process attempts to connect to a remote SQL Server before any user interaction occurs.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Launching an Access database application linked to a remote SQL Server.
- Observed behavior
- A warning prompt appears regarding the remote SQL Server connection, requiring the user to click Yes to proceed.
Ensure you have the necessary permissions to modify the Access application's startup code and VBA modules.
Modify the Application Initialization Sequence
Delay the SQL Server connection until after the user has interacted with the application to prevent the warning.
Because there is currently no supported built-in setting to suppress this specific warning, modifying the application architecture is the best workaround. By shifting the initial database connection to an event triggered by user interaction, the security prompt is bypassed.
Launch Microsoft Access and open the affected database file in Design View.
Navigate to your database's AutoExec macro or check the startup form's On Load and On Open event procedures.
Move any VBA code or macros that connect to the remote SQL Server to a later event, such as an On Click event for a button on your main dashboard form.
Save your design changes, restart the Access application without clicking anything, and confirm the warning no longer appears automatically.

Manually Dismiss the Warning
If altering the startup sequence is not feasible, users can manually dismiss the prompt to continue.
Switch to WPS Office for a Streamlined Experience
While Microsoft Access manages complex databases, many of your daily document, spreadsheet, and presentation needs can be handled more efficiently with WPS Office. Enjoy a lightweight, secure, and highly compatible office suite without the hefty subscription fees or unnecessary background security prompts.

Frequently Asked Questions
Can I disable this SQL Server warning through Access Trust Center settings?
No, there is currently no supported setting within the Access Trust Center or general options to completely disable this specific remote SQL Server connection warning.
Why does Access show this warning now?
Microsoft introduced this behavior, primarily seen in Office Insider builds, as a security measure to prevent applications from silently connecting to remote servers without user knowledge or interaction.
Does this warning prevent my database from working?
No. It is simply a notification. Once you click 'Yes' to acknowledge the prompt, the SQL Server connection is established and your database application will function normally.
Will rolling back my Office version remove the warning?
If the warning was introduced in a recent Office Insider channel update, switching to a standard release channel or rolling back to a previous Office build may temporarily remove the prompt.




