Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Oracle/MSSQL/MySQL » Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases
  • Screenshot 2020 07 25 at 13.09.08
    Fix the following error occurred when DNS was queried for the service location Windows Server
  • delete Apps from Launchpad on Mac
    How to delete Apps from Launchpad on Mac Mac
  • PowerShell 1
    How to upgrade PowerShell to the latest version on macOS via Homebrew Mac
  • sync
    AD Connect Sync Service Not Running: Start ADSync to Continue AWS/Azure/OpenShift
  • original
    Error 0x800710E0: Operator or Administrator has refused request Windows Server
  • screenshot 2020 05 11 at 15.03.02
    How to record the screen of macOS Mac
  • How to Activate Full-Screen (Kiosk Mode) in Internet Explorer Windows
  • tux through window 620x354 1
    WSL Error 0x8007019e: WSL Register Distribution failed with error Windows

Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases

Posted on 15/03/202413/03/2025 Christian By Christian No Comments on Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases
Disable-Microsoft-SQL-Auto-Close-Option


The SQL Auto Close feature automatically closes inactive database connections after a specified period of inactivity. By default, auto close is enabled but Trellix does not like this behaviour. In this article, we will discuss the fix to “Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases”. Please see Trellix ePolicy Orchestrator Installation on Windows Server, and how to upgrade Trellix ePolicy Orchestrator.

Note: According to Microsoft, the best practice is to disable this option if the database is accessed frequently. Therefore set the AUTO_CLOSE option to False for the database.

Also, see how to Disable or Enable Auto log on in Windows, Fixes to Trellix ePolicy Orchestrator Installation Errors, and how to fix “Auto Logon Error “The username and password specified is not valid“.

Auto Close Option

Auto Close ensures efficient database management and resource utilisation. System performance is optimised by automatically closing idle connections after a specified period of inactivity.

This prevents unnecessary resource consumption and potential performance degradation. This practice helps maintain database integrity and stability while enhancing overall system responsiveness.

Why was this error prompted “Auto Close is enabled for both ePO and ePO events databases”

Error message “Auto Close is enabled for both ePO and ePO events databases. Please disable them before proceeding with the installation”.

By now, you should be aware of what the SQL Server Auto Close option is. And why Trellix wants it disabled.

When AUTO_CLOSE is set to True, this option can cause performance degradation on frequently accessed databases because of the increased overhead of opening and closing the database after each connection. AUTO_CLOSE also flushes the procedure cache after each connection.

Auto-Close-Error

Note: Make sure you disable Auto Close for both the Core database and Events database.

Disable Auto Close on Microsoft SQL Server

Launch the SQL Server Management Studio and Connect to your database Engine.

SSMS-Launch

Right-click on the ePO database, and select properties. The step should also be performed for the event database. Else the ePO Update Tool process will not upgrade.

ePO-DB

In the database properties, we can see the Auto Close option is set to True. We shall set this to false.

DB-Auto-close

Use the drop-down associated to set this option to False. When done, click on OK.

Auto-Close-configured-as-false

Disable Auto Close for the Event database

Starting from this version “ePO 5.10”. ePolicy Orchestrator (ePO) adds a new, entirely separate database called the ePO Events database to handle threat event information.

After you upgrade to or install ePO 5.10, a new SQL database is created in addition to the existing ePO database with the format ePO_<ePOServerName>_Events. 

As mentioned earlier, this step needs to be repeated also for the Event Database

ePO-Event-Data

I hope you found this guide useful on “Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases”. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Oracle/MSSQL/MySQL Tags:Microsoft SQL, Microsoft Windows, Windows Server 2016

Post navigation

Previous Post: How to upgrade Trellix ePolicy Orchestrator
Next Post: Change SQL Database Collation: ePO events DB and SQL server should match with ePO core collation

Related Posts

  • SQL
    How to install Microsoft SQL Server Management Studio Oracle/MSSQL/MySQL
  • SQL Server Management Studio 1
    How to manually check and update SQL Server Management Studio Oracle/MSSQL/MySQL
  • Configure SQL Server to listen on a specific TCP port
    Configure SQL Server Instance to listen on a specific TCP Port Oracle/MSSQL/MySQL
  • Setup is unable to access the SQL UDP port 1434
    Setup is unable to access the SQL UDP Port 1434 on the specified SQL Server Oracle/MSSQL/MySQL
  • images
    Unable to connect to MSSQL Server after changing Server name Oracle/MSSQL/MySQL
  • mssql ubuntu install feature image
    How to reset MSSQL Server SA Password on Ubuntu Oracle/MSSQL/MySQL

More Related Articles

SQL How to install Microsoft SQL Server Management Studio Oracle/MSSQL/MySQL
SQL Server Management Studio 1 How to manually check and update SQL Server Management Studio Oracle/MSSQL/MySQL
Configure SQL Server to listen on a specific TCP port Configure SQL Server Instance to listen on a specific TCP Port Oracle/MSSQL/MySQL
Setup is unable to access the SQL UDP port 1434 Setup is unable to access the SQL UDP Port 1434 on the specified SQL Server Oracle/MSSQL/MySQL
images Unable to connect to MSSQL Server after changing Server name Oracle/MSSQL/MySQL
mssql ubuntu install feature image How to reset MSSQL Server SA Password on Ubuntu Oracle/MSSQL/MySQL

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • Screenshot 2020 07 25 at 13.09.08
    Fix the following error occurred when DNS was queried for the service location Windows Server
  • delete Apps from Launchpad on Mac
    How to delete Apps from Launchpad on Mac Mac
  • PowerShell 1
    How to upgrade PowerShell to the latest version on macOS via Homebrew Mac
  • sync
    AD Connect Sync Service Not Running: Start ADSync to Continue AWS/Azure/OpenShift
  • original
    Error 0x800710E0: Operator or Administrator has refused request Windows Server
  • screenshot 2020 05 11 at 15.03.02
    How to record the screen of macOS Mac
  • How to Activate Full-Screen (Kiosk Mode) in Internet Explorer Windows
  • tux through window 620x354 1
    WSL Error 0x8007019e: WSL Register Distribution failed with error Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.