Enable Dedicated Administrator Connection in SQL Server Database by SSMS or by T-SQL command
DAC stands for Dedicated Administrator Connection. This feature got introduced in SQL Server 2005. This diagnostic connection basically helps users to remain connected and perform fundamental queries on troubleshooting when some severe performance issues occur. Only users with sysadmin role permission can use Dedicated Administrator Connection. The DAC offers an individual connection path which is mainly reserved for administrative troubleshooting purposes. This further allows database administrators to detect and inspect for problems when regular user connections are blocked or exhausted.
This is also used to prevent blocking sessions and check active requests. DAC can be established locally or remotely, depending on the configuration of SQL Server environment. By default, remote DAC access is disabled and must be enabled explicitly when troubleshooting is required.
In order to enable the DAC in SQL Server, users can choose any of the below methods:
1. Using SQL Server Management Studio (SSMS)
To enable DAC with the help of SSMS, follow these steps:
Step 1: Right-click the current SQL Server Instance and choose Facets option from the context menu.

Step 2: View Facets window will appear on your screen. Choose Surface Area Configuration for Facet category. Choose the value "True" for RemoteDacEnabled option.

Step 3: Click on OK to enable DAC.
2. Using TSQL
Run the scripts to enable DAC through TSQL:
USE master
GO
/* 0 = Allow Local Connection, 1 = Allow Remote Connections */
sp_configure 'remote admin connections', 1
GO
RECONFIGURE
GO
Enable DAC for SQL Server Express
Note: SQL Server Express does not enable the Dedicated Administrator Connection (DAC) listener by default. It must be enabled by adding the -T7806 startup parameter.
Follow the steps given below to enable DAC in SQL Server Express Edition:
Start the SQL Server Browser Service