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
  • sdf
    Creating an offline local repository in Linux Linux
  • Feature image
    How to search Group Policy for a specific Setting in Windows 10 and 11 Windows
  • Windows10 as a Service Waas
    Windows 10 Feature and Quality Updates Windows
  • windows 1 1
    Generation 2 VM: Set up a HyperV VM through PXE boot Virtualization
  • banner 4
    How to Install Windows on VMware Workstation Windows
  • Chefconf Poster Desktop Chef 1280x1024 1
    Chef – Node Bootstrapping Configuration Management Tool
  • WinServer
    Log Off: How to sign out of Windows Server 2012 Windows Server
  • Schedule and join Teams Meeting
    How to schedule and join meetings with Microsoft Teams JIRA|Confluence|Apps

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.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • 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

  • Migrate from SQL Database
    Migrate Veeam One Database from SQL Server 2017 to 2025 Backup
  • how to Install SQL Server Management Studio on Windows Server
    Install SQL Server Management Studio 20 on Windows Server Oracle/MSSQL/MySQL
  • How does key rotation work in MBAM
    How does Key Rotation work in MBAM? 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
  • tredfghgfde3456578
    How to install Java Runtime Environment on Mac OS Mac
  • How to upgrade to SQL Server 2025
    SQL Server 2025 Upgrade Requirements and Compatibility Oracle/MSSQL/MySQL

More Related Articles

Migrate from SQL Database Migrate Veeam One Database from SQL Server 2017 to 2025 Backup
how to Install SQL Server Management Studio on Windows Server Install SQL Server Management Studio 20 on Windows Server Oracle/MSSQL/MySQL
How does key rotation work in MBAM How does Key Rotation work in MBAM? 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
tredfghgfde3456578 How to install Java Runtime Environment on Mac OS Mac
How to upgrade to SQL Server 2025 SQL Server 2025 Upgrade Requirements and Compatibility 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

  • sdf
    Creating an offline local repository in Linux Linux
  • Feature image
    How to search Group Policy for a specific Setting in Windows 10 and 11 Windows
  • Windows10 as a Service Waas
    Windows 10 Feature and Quality Updates Windows
  • windows 1 1
    Generation 2 VM: Set up a HyperV VM through PXE boot Virtualization
  • banner 4
    How to Install Windows on VMware Workstation Windows
  • Chefconf Poster Desktop Chef 1280x1024 1
    Chef – Node Bootstrapping Configuration Management Tool
  • WinServer
    Log Off: How to sign out of Windows Server 2012 Windows Server
  • Schedule and join Teams Meeting
    How to schedule and join meetings with Microsoft Teams JIRA|Confluence|Apps

Subscribe to Blog via Email

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

Join 1,832 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.