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

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 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

  • no pg hba
    Resolve “no pg_hba.conf entry for host on PostgreSQL Oracle/MSSQL/MySQL
  • Always on and Veeam plugin setup
    Install SQL Server Always On & Configure Veeam Plug‑in for SQL Backup
  • SQL EvaluationExpired
    Windows could not start the SQL Server service on local computer 17051: A network-related or instance-specific error occurred while establishing a connection to SQL Server Oracle/MSSQL/MySQL
  • SQL Server Management Studio 1
    How to manually check and update SQL Server Management Studio Oracle/MSSQL/MySQL
  • Enale FIPS compliance mode on Windows
    How to enable FIPS mode on Windows Server 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

More Related Articles

no pg hba Resolve “no pg_hba.conf entry for host on PostgreSQL Oracle/MSSQL/MySQL
Always on and Veeam plugin setup Install SQL Server Always On & Configure Veeam Plug‑in for SQL Backup
SQL EvaluationExpired Windows could not start the SQL Server service on local computer 17051: A network-related or instance-specific error occurred while establishing a connection to SQL Server Oracle/MSSQL/MySQL
SQL Server Management Studio 1 How to manually check and update SQL Server Management Studio Oracle/MSSQL/MySQL
Enale FIPS compliance mode on Windows How to enable FIPS mode on Windows Server 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

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

Veeam Vanguard

  • How to download install and use Kitty SSH Client on Windows
    Video on how to Download and Use KiTTY SSH Client on Windows Network | Monitoring
  • Slide1 1
    Create Multiple Users with Passwords in Ubuntu Linux Linux
  • Recovery keys in AD 1
    Backup existing and new BitLocker Recovery Keys to Active Directory Windows Server
  • Encryption
    How to encrypt Microsoft SQL Server Traffic Oracle/MSSQL/MySQL
  • change keyboard layout windows 10 thumb800
    How to use the On-Screen Keyboard Windows
  • VBR Console on a Jump Server
    How to install Veeam Backup Console on a Jump Server Backup
  • How to Decrypt Files and Folders Encrypted with EFS in Windows 10
    How to decrypt Files and Folders Encrypted with an Encryption File System (EFS) in Windows Windows
  • screenshot 2020 02 13 at 22.47.41
    Active Directory Flexible Single-Master Operations Roles [FSMO] Windows Server

Subscribe to Blog via Email

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

Join 1,821 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

Active Directory 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.